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

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

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
Index: chrome/browser/media/android/remote/remote_media_player_manager.h
diff --git a/chrome/browser/media/android/remote/remote_media_player_manager.h b/chrome/browser/media/android/remote/remote_media_player_manager.h
index 0e1e6c7ffd7d22d685c5c030ff37d8373da15072..d57e3d7a5891c8d0f05659a401661b9b194dedd6 100644
--- a/chrome/browser/media/android/remote/remote_media_player_manager.h
+++ b/chrome/browser/media/android/remote/remote_media_player_manager.h
@@ -18,6 +18,10 @@
struct MediaPlayerHostMsg_Initialize_Params;
+namespace blink {
+enum class WebRemotePlaybackAvailability;
+}
+
namespace remote_media {
// media::MediaPlayerManager implementation that allows the user to play media
@@ -41,7 +45,8 @@ class RemoteMediaPlayerManager : public content::BrowserMediaPlayerManager {
void OnRemotePlaybackFinished(int player_id);
// Callback to trigger when the availability of remote routes changes.
- void OnRouteAvailabilityChanged(int tab_id, bool routes_available);
+ void OnRouteAvailabilityChanged(
+ int player_id, blink::WebRemotePlaybackAvailability availability);
// Callback to trigger when the device picker dialog was dismissed.
void OnCancelledRemotePlaybackRequest(int player_id);

Powered by Google App Engine
This is Rietveld 408576698