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

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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: merge with https://codereview.chromium.org/2675033002/ 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 b3b470f4930ae2c2e50cf259e6e79066bb197927..2222562c7da27ab45efd8cdb56ffbac43dcd0fa1 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