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

Unified Diff: media/base/android/media_player_android.h

Issue 17563002: Add the SetMediaKeys handler to pass a drm bridge to a MediaSourcePlayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: media/base/android/media_player_android.h
diff --git a/media/base/android/media_player_android.h b/media/base/android/media_player_android.h
index 1310fbdea2af2a0286e66ff6eae56ec659cfe50e..0b31ea2d95a9e4dba386d274f5d862e50120f8a8 100644
--- a/media/base/android/media_player_android.h
+++ b/media/base/android/media_player_android.h
@@ -17,6 +17,7 @@
namespace media {
+class MediaDrmBridge;
class MediaPlayerManager;
// This class serves as the base class for different media player
@@ -99,6 +100,9 @@ class MEDIA_EXPORT MediaPlayerAndroid {
// Called when the demuxer has changed the duration.
virtual void DurationChanged(const base::TimeDelta& duration);
+ // Pass a drm bridge to a player.
+ virtual void SetDrmBridge(MediaDrmBridge* drm_bridge);
+
int player_id() { return player_id_; }
protected:

Powered by Google App Engine
This is Rietveld 408576698