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

Unified Diff: media/blink/webmediaplayer_cast_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: media/blink/webmediaplayer_cast_android.cc
diff --git a/media/blink/webmediaplayer_cast_android.cc b/media/blink/webmediaplayer_cast_android.cc
index 22dcbb700e152d84b8b771fec3fa6c213d0bf2c2..d80d9481249912f6d8b873744af92fbac6f77d68 100644
--- a/media/blink/webmediaplayer_cast_android.cc
+++ b/media/blink/webmediaplayer_cast_android.cc
@@ -332,9 +332,11 @@ void WebMediaPlayerCast::OnMediaPlayerPause() {
}
void WebMediaPlayerCast::OnRemoteRouteAvailabilityChanged(
- bool routes_available) {
+ bool is_route_available,
+ bool is_source_compatible) {
DVLOG(1) << __FUNCTION__;
- client_->remoteRouteAvailabilityChanged(routes_available);
+ client_->remoteRouteAvailabilityChanged(is_route_available,
+ is_source_compatible);
}
void WebMediaPlayerCast::SuspendAndReleaseResources() {}

Powered by Google App Engine
This is Rietveld 408576698