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

Unified Diff: content/renderer/media/android/webmediaplayer_android.cc

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Fixed failing tests Created 4 years, 1 month 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: content/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 0a160a3a102d922329c0241a152941bd2e7d56c5..c55f352320c7ab6d679a15ee0d8e02de9ae81753 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -918,8 +918,9 @@ void WebMediaPlayerAndroid::OnMediaPlayerPause() {
}
void WebMediaPlayerAndroid::OnRemoteRouteAvailabilityChanged(
- bool routes_available) {
- client_->remoteRouteAvailabilityChanged(routes_available);
+ bool is_route_available, bool is_source_compatible) {
+ client_->remoteRouteAvailabilityChanged(
+ is_route_available, is_source_compatible);
}
void WebMediaPlayerAndroid::UpdateNetworkState(

Powered by Google App Engine
This is Rietveld 408576698