Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2138013003: media::mojom::Remoter and CastRemotingConnector/Sender (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split-out some interfaces in prep for landing multi-part changes. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/media/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index df5033861d9d3186e8a3daa2e9f6959d65b76e68..94b2d6c5b4596517392f573de823493d59d9ecd7 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -310,6 +310,7 @@
#if defined(ENABLE_MEDIA_ROUTER)
#include "chrome/browser/media/router/media_router_feature.h"
+#include "chrome/browser/media/router/media_remoting_connector.h"
#include "chrome/browser/media/router/presentation_service_delegate_impl.h"
#endif
@@ -2841,6 +2842,12 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces(
ChromeServiceRegistrarAndroid::RegisterRenderFrameMojoInterfaces(
registry, render_frame_host);
#endif
+
+#if defined(ENABLE_MEDIA_ROUTER)
+ registry->AddInterface(
+ base::Bind(&media_router::MediaRemotingConnector::CreateRemoter,
+ render_frame_host));
+#endif
}
void ChromeContentBrowserClient::RegisterInProcessMojoApplications(
« no previous file with comments | « no previous file | chrome/browser/media/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698