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

Unified Diff: content/renderer/media/webmediaplayer_proxy_impl_android.h

Issue 17022008: Pass InitializeCDM() call through IPC to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit 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: content/renderer/media/webmediaplayer_proxy_impl_android.h
diff --git a/content/renderer/media/webmediaplayer_proxy_impl_android.h b/content/renderer/media/webmediaplayer_proxy_impl_android.h
index 0864bf770cfa7dcb47bca7c2fb11aa5bc4943ea1..3ee2ba5fad630b439ea8dd51f26a404226d2ff4b 100644
--- a/content/renderer/media/webmediaplayer_proxy_impl_android.h
+++ b/content/renderer/media/webmediaplayer_proxy_impl_android.h
@@ -54,17 +54,19 @@ class WebMediaPlayerProxyImplAndroid
virtual void ReadFromDemuxerAck(
int player_id,
const media::MediaPlayerHostMsg_ReadFromDemuxerAck_Params&) OVERRIDE;
- virtual void GenerateKeyRequest(int player_id,
+ virtual void DurationChanged(int player_id,
+ const base::TimeDelta& duration) OVERRIDE;
+ virtual void InitializeCDM(int media_keys_id,
+ const std::vector<uint8>& uuid) OVERRIDE;
+ virtual void GenerateKeyRequest(int media_keys_id,
const std::string& type,
const std::vector<uint8>& init_data) OVERRIDE;
- 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) OVERRIDE;
- virtual void CancelKeyRequest(int player_id,
+ virtual void CancelKeyRequest(int media_keys_id,
const std::string& session_id) OVERRIDE;
- virtual void DurationChanged(int player_id,
- const base::TimeDelta& duration) OVERRIDE;
#if defined(GOOGLE_TV)
virtual void RequestExternalSurface(
@@ -96,13 +98,13 @@ class WebMediaPlayerProxyImplAndroid
void OnMediaSeekRequest(int player_id, base::TimeDelta time_to_seek,
unsigned seek_request_id);
void OnMediaConfigRequest(int player_id);
- void OnKeyAdded(int player_id,
+ void OnKeyAdded(int media_keys_id,
const std::string& session_id);
- void OnKeyError(int player_id,
+ void OnKeyError(int media_keys_id,
const std::string& session_id,
media::MediaKeys::KeyError error_code,
int system_code);
- void OnKeyMessage(int player_id,
+ void OnKeyMessage(int media_keys_id,
const std::string& session_id,
const std::string& message,
const std::string& destination_url);
« no previous file with comments | « content/common/media/media_player_messages_android.h ('k') | content/renderer/media/webmediaplayer_proxy_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698