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

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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: 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 f9072db62cdbc65b1512e91dbf3e3649d0c7084a..4cb81b7ab88808ae31e25bda2836411297e6efd9 100644
--- a/chrome/browser/media/router/mojo/media_router.mojom
+++ b/chrome/browser/media/router/mojo/media_router.mojom
@@ -351,6 +351,10 @@ interface MediaRouteProvider {
string media_source,
SinkSearchCriteria search_criteria) =>
(string sink_id);
+
+ // Called when Media Router finishes sink discovery.
+ // |sinks| represents a list of sinks discovered by Media Router.
+ OnSinksDiscovered(array<MediaSink> sinks);
mark a. foltz 2017/02/10 01:23:55 It's a little tricky to distinguish this from OnSi
imcheng 2017/02/10 22:45:18 ProvideSinks sounds good. This method does not nee
zhaobin 2017/02/16 22:56:35 Done.
};
// Interface for a service which observes state changes across media

Powered by Google App Engine
This is Rietveld 408576698