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

Unified Diff: chrome/browser/media/router/media_router.mojom

Issue 1805813002: [Media Router] Wiring for searching route providers for new sinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/media_router.mojom
diff --git a/chrome/browser/media/router/media_router.mojom b/chrome/browser/media/router/media_router.mojom
index 9a2f5e7e712f6fa1f0ef0764150f4f385d3a02b2..223ce0557ac3edf3565741aedcb12edfa4d481df 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -263,6 +263,10 @@ interface MediaRouteProvider {
// |route_id| has been closed (via .close(), garbage collection or
// navigation).
DetachRoute(string route_id);
+
+ // Indicates that the Media Router is interested in finding a sink with id
+ // |sink_id| that is compatible with the source urn |media_source|.
amp 2016/03/16 17:20:12 As mentioned on extension side, this makes more se
btolsch 2016/03/16 18:36:30 Done.
+ SearchProviders(string media_source, string sink_id);
};
// Interface for a service which observes state changes across media
@@ -304,6 +308,9 @@ interface MediaRouter {
// Called when the Media Route Manager receives a new list of sinks.
OnSinksReceived(string media_source, array<MediaSink> sinks);
+ // Called when the Media Route Manager receives a new list of sinks.
amp 2016/03/16 17:20:12 Also as mentioned on the extension side change, th
btolsch 2016/03/16 18:36:30 As mentioned on the extension side, OnSinksReceive
+ OnSearchSinksReceived(string sink_id, array<MediaSink> sinks);
+
// Called when issues are reported for media routes.
OnIssue(Issue issue);

Powered by Google App Engine
This is Rietveld 408576698