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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_impl.cc

Issue 1862913004: [Media Router] Wire through a new MRPM call to update media sinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: chrome/browser/media/router/mojo/media_router_mojo_impl.cc
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl.cc b/chrome/browser/media/router/mojo/media_router_mojo_impl.cc
index 20d2f2748398fbd4a44a3a24e9e1bbff75186b8e..a51910d2db8e3d598daf15d6f766392189ddafb4 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.cc
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.cc
@@ -427,6 +427,7 @@ void MediaRouterMojoImpl::ClearIssue(const Issue::Id& issue_id) {
}
void MediaRouterMojoImpl::OnUserGesture() {
+ DoUserGestureDiscovery();
#if defined(OS_WIN)
EnsureMdnsDiscoveryEnabled();
#endif
@@ -986,4 +987,8 @@ void MediaRouterMojoImpl::OnFirewallCheckComplete(
}
#endif
+void MediaRouterMojoImpl::DoUserGestureDiscovery() {
+ media_route_provider_->StartDiscovery();
apacible 2016/04/06 17:50:18 nit: indent
amp 2016/04/07 20:37:39 Done.
+}
+
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698