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

Unified Diff: chrome/browser/media/android/router/media_router_android.cc

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
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/router/media_router_android.cc
diff --git a/chrome/browser/media/android/router/media_router_android.cc b/chrome/browser/media/android/router/media_router_android.cc
index 60655289c1a75a44311d6b4dda8e37dfe73f2c31..8bf0b291f2641ed8c5f7696293fa47e571b812e2 100644
--- a/chrome/browser/media/android/router/media_router_android.cc
+++ b/chrome/browser/media/android/router/media_router_android.cc
@@ -359,8 +359,9 @@ void MediaRouterAndroid::OnSinksReceived(
std::string source_urn = ConvertJavaStringToUTF8(env, jsource_urn);
auto it = sinks_observers_.find(source_urn);
if (it != sinks_observers_.end()) {
+ // TODO(imcheng): Pass origins to OnSinksUpdated (crbug.com/594858).
FOR_EACH_OBSERVER(MediaSinksObserver, *it->second,
- OnSinksReceived(sinks_converted));
+ OnSinksUpdated(sinks_converted, std::vector<GURL>()));
}
}
« no previous file with comments | « no previous file | chrome/browser/media/router/media_router.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698