Gets presentation ID from route ID upon route creation, and overrides previous presen...
commit2a5675a6315369246d50ee9c74d5f6376c3240d8
authorhaibinlu <haibinlu@chromium.org>
Fri, 26 Jun 2015 02:35:17 +0000 (25 19:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 02:36:00 +0000 (26 02:36 +0000)
tree6557def6502847c88221d078a08aa0c782a7a289
parentfca25ba372bc2d5f8309dd9db837779b7faaffdd
Gets presentation ID from route ID upon route creation, and overrides previous presentation ID with this final ID.

This is a quick fix to get presentation ID to web app before we overhaul route/sink/source URN format.

With https://codereview.chromium.org/1199933006/, https://codereview.chromium.org/1209473003/ and this CL, send/receive message works end to end.

Review URL: https://codereview.chromium.org/1202963004

Cr-Commit-Position: refs/heads/master@{#336326}
chrome/browser/media/router/create_session_request.cc
chrome/browser/media/router/create_session_request_unittest.cc
chrome/browser/media/router/media_route.cc
chrome/browser/media/router/media_route.h
chrome/browser/media/router/media_route_unittest.cc
chrome/browser/media/router/media_router_mojo_impl.cc
chrome/browser/media/router/presentation_service_delegate_impl.cc
content/browser/presentation/presentation_service_impl.cc
content/renderer/presentation/presentation_dispatcher.cc
extensions/renderer/resources/media_router_bindings.js