Create ExtensionMediaRouteProviderProxy

Desktop / Chromium - Takumi Fujimoto [chromium.org] - 13 September 2017 22:35 EDT

- Move request queueing logic from MRDesktop to EMRPP- Make EMRPP hold the mojo pointer to the extension MRPM- Make MRDesktop own EMRPP- Make MRMojoImpl hold a mojo pointer to EMRPP

Bug: 762362 Change-Id: I9d8b4333d44736d7567f3ec77582a5584399d98e Reviewed-on: https://chromium-review.googlesource.com/648367 Commit-Queue: Takumi Fujimoto

89b8ccf Create ExtensionMediaRouteProviderProxy
chrome/browser/media/router/BUILD.gn | 2 +
.../mojo/extension_media_route_provider_proxy.cc | 391 +++++++++++++++++++++
.../mojo/extension_media_route_provider_proxy.h | 175 +++++++++
...xtension_media_route_provider_proxy_unittest.cc | 280 +++++++++++++++
.../media/router/mojo/media_router_desktop.cc | 307 ++--------------
.../media/router/mojo/media_router_desktop.h | 72 +---
.../router/mojo/media_router_desktop_unittest.cc | 93 +----
.../media/router/mojo/media_router_mojo_impl.cc | 328 ++++-------------
.../media/router/mojo/media_router_mojo_impl.h | 76 +---
.../router/mojo/media_router_mojo_impl_unittest.cc | 2 -
.../media/router/mojo/media_router_mojo_test.cc | 48 ++-
.../media/router/mojo/media_router_mojo_test.h | 43 ++-
chrome/test/BUILD.gn | 1 +
13 files changed, 1047 insertions(+), 771 deletions(-)

Upstream: git.chromium.org


  • Share