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

Unified Diff: webkit/renderer/media/android/webmediaplayer_proxy_android.h

Issue 17022008: Pass InitializeCDM() call through IPC to the browser. (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
« no previous file with comments | « content/renderer/media/webmediaplayer_proxy_impl_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/media/android/webmediaplayer_proxy_android.h
diff --git a/webkit/renderer/media/android/webmediaplayer_proxy_android.h b/webkit/renderer/media/android/webmediaplayer_proxy_android.h
index d900544d8a7ebbb9cb67235798dc67fb842e136c..d4fe320c433604f429d38cd9bf263da2918ec462 100644
--- a/webkit/renderer/media/android/webmediaplayer_proxy_android.h
+++ b/webkit/renderer/media/android/webmediaplayer_proxy_android.h
@@ -66,21 +66,24 @@ class WebMediaPlayerProxyAndroid {
int player_id,
const media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params& params) = 0;
- virtual void GenerateKeyRequest(int player_id,
+ // Inform the media source player of changed duration from demuxer.
+ virtual void DurationChanged(int player_id,
+ const base::TimeDelta& duration) = 0;
+
+ virtual void InitializeCDM(int media_keys_id,
qinmin 2013/06/20 20:47:38 descriptions?
xhwang 2013/06/20 21:30:37 Done.
+ const std::vector<uint8>& uuid) = 0;
+
+ virtual void GenerateKeyRequest(int media_keys_id,
const std::string& type,
const std::vector<uint8>& init_data) = 0;
- virtual void AddKey(int player_id,
+ virtual void AddKey(int media_keys_id,
const std::vector<uint8>& key,
const std::vector<uint8>& init_data,
const std::string& session_id) = 0;
- virtual void CancelKeyRequest(int player_id,
+ virtual void CancelKeyRequest(int media_keys_id,
const std::string& session_id) = 0;
-
- // Inform the media source player of changed duration from demuxer.
- virtual void DurationChanged(int player_id,
- const base::TimeDelta& duration) = 0;
};
} // namespace webkit_media
« no previous file with comments | « content/renderer/media/webmediaplayer_proxy_impl_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698