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

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

Issue 1784533004: [Media Router] Add origins to sink query results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test 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..6c28dd7bc129b6ecc872bd120e88fd0104865fd2 100644
--- a/chrome/browser/media/router/media_router.mojom
+++ b/chrome/browser/media/router/media_router.mojom
@@ -301,8 +301,11 @@ interface MediaRouter {
RegisterMediaRouteProvider(MediaRouteProvider media_router_provider) =>
(string instance_id);
- // 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|
+ // compatible with |media_source|. The result is only valid for |origins|. If
+ // |origins| is empty, the result is valid for any origin.
+ OnSinksReceived(string media_source, array<MediaSink> sinks,
+ array<string> origins);
// Called when issues are reported for media routes.
OnIssue(Issue issue);
« no previous file with comments | « chrome/browser/media/android/router/media_router_android.cc ('k') | chrome/browser/media/router/media_router_mojo_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698