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

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

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: Fixed (and simplified) tests. 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.h
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl.h b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
index 9b14874c969637c78093576eb11df3832b578f47..c3e6688bda0335a2c71035a152ae49ebeb7d7ab6 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -335,6 +335,12 @@ class MediaRouterMojoImpl : public MediaRouterBase,
void OnFirewallCheckComplete(bool firewall_can_use_local_ports);
#endif
+ // Requests MRPM to update media sinks. This allows MRPs that only do
+ // discovery on sink queries an opportunity to update discovery results
+ // even if the MRP sink state is marked UNAVAILABLE.
imcheng 2016/04/15 18:37:02 s/sink state/SinkAvailability
amp 2016/04/15 20:29:33 Done.
+ void UpdateMediaSinks(const MediaSource::Id& source_id);
+ void DoUpdateMediaSinks(const MediaSource::Id& source_id);
+
// Pending requests queued to be executed once component extension
// becomes ready.
std::deque<base::Closure> pending_requests_;

Powered by Google App Engine
This is Rietveld 408576698