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

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

Issue 308073004: Add PlayerTracker and BrowserCdm interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 7 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
« no previous file with comments | « media/base/android/media_drm_bridge.cc ('k') | media/base/android/media_player_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cf67bd03a73bba35d91014056f187f9b77bfaa30..7a7a471dcc399b68e5d70e9acbd1a8b511722a6d 100644
--- a/media/base/android/media_player_android.h
+++ b/media/base/android/media_player_android.h
@@ -16,7 +16,7 @@
namespace media {
-class MediaKeys;
+class BrowserCdm;
class MediaPlayerManager;
// This class serves as the base class for different media player
@@ -74,11 +74,7 @@ class MEDIA_EXPORT MediaPlayerAndroid {
virtual GURL GetFirstPartyForCookies();
// Associates the |cdm| with this player.
- virtual void SetCdm(MediaKeys* cdm);
-
- // Notifies the player that a decryption key has been added. The player
- // may want to start/resume playback if it is waiting for a key.
- virtual void OnKeyAdded();
+ virtual void SetCdm(BrowserCdm* cdm);
// Check whether the player still uses the current surface.
virtual bool IsSurfaceInUse() const = 0;
« no previous file with comments | « media/base/android/media_drm_bridge.cc ('k') | media/base/android/media_player_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698