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

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: add missing run loops 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..fc8c6c3f1a579754fa2322d7d7cefc7905db3d46 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 SinkAvailability is marked UNAVAILABLE.
+ 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