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

Unified Diff: chrome/browser/media/android/remote/remote_media_player_manager.cc

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Fixed the java enum comment 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
« no previous file with comments | « chrome/browser/media/android/remote/remote_media_player_manager.h ('k') | content/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/android/remote/remote_media_player_manager.cc
diff --git a/chrome/browser/media/android/remote/remote_media_player_manager.cc b/chrome/browser/media/android/remote/remote_media_player_manager.cc
index e5dcc15dc913069ef969ff7b7b21f15daf6b754b..83d8a4380e3d9027a52774dfaf99077b7b4902b9 100644
--- a/chrome/browser/media/android/remote/remote_media_player_manager.cc
+++ b/chrome/browser/media/android/remote/remote_media_player_manager.cc
@@ -7,6 +7,7 @@
#include "chrome/browser/android/tab_android.h"
#include "chrome/common/chrome_content_client.h"
#include "content/common/media/media_player_messages_android.h"
+#include "third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/android/java_bitmap.h"
@@ -217,10 +218,9 @@ void RemoteMediaPlayerManager::OnRemotePlaybackFinished(int player_id) {
}
void RemoteMediaPlayerManager::OnRouteAvailabilityChanged(
- int player_id, bool routes_available) {
- Send(
- new MediaPlayerMsg_RemoteRouteAvailabilityChanged(RoutingID(), player_id,
- routes_available));
+ int player_id, blink::WebRemotePlaybackAvailability availability) {
+ Send(new MediaPlayerMsg_RemoteRouteAvailabilityChanged(
+ RoutingID(), player_id, availability));
}
void RemoteMediaPlayerManager::OnCancelledRemotePlaybackRequest(int player_id) {
« no previous file with comments | « chrome/browser/media/android/remote/remote_media_player_manager.h ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698