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

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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: resolve code review comments from Derek and Mark Created 3 years, 10 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.mojom
diff --git a/chrome/browser/media/router/mojo/media_router.mojom b/chrome/browser/media/router/mojo/media_router.mojom
index 808999261581905bae91ffa67e1764a5847b2c7d..92eb94de0ef5d3ed81570b2c76a76e768dd50b95 100644
--- a/chrome/browser/media/router/mojo/media_router.mojom
+++ b/chrome/browser/media/router/mojo/media_router.mojom
@@ -362,6 +362,11 @@ interface MediaRouteProvider {
string media_source,
SinkSearchCriteria search_criteria) =>
(string sink_id);
+
+ // Called when the list of MediaSinks discovered by Media Router has been
+ // updated. The sinks are supplied to the MediaRouteProvider so that they can
+ // be used for other operations, such as route creation.
+ ProvideSinks(string provider_name, array<MediaSink> sinks);
};
// Interface for a service which observes state changes across media

Powered by Google App Engine
This is Rietveld 408576698