Chromium Code Reviews| 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 |