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

Unified Diff: content/renderer/media/android/renderer_media_player_manager.cc

Issue 181903003: Reland r253665 "Rename MediaKeys*Msg to Cdm*Msg." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/android/renderer_media_player_manager.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/renderer_media_player_manager.cc
diff --git a/content/renderer/media/android/renderer_media_player_manager.cc b/content/renderer/media/android/renderer_media_player_manager.cc
index 0ff5883ee976a604c045c2f7cdb522254ffcda90..1203f09b91253954ce1602f39f3671787acaeb5d 100644
--- a/content/renderer/media/android/renderer_media_player_manager.cc
+++ b/content/renderer/media/android/renderer_media_player_manager.cc
@@ -64,11 +64,11 @@ bool RendererMediaPlayerManager::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(MediaPlayerMsg_DidExitFullscreen, OnDidExitFullscreen)
IPC_MESSAGE_HANDLER(MediaPlayerMsg_DidMediaPlayerPlay, OnPlayerPlay)
IPC_MESSAGE_HANDLER(MediaPlayerMsg_DidMediaPlayerPause, OnPlayerPause)
- IPC_MESSAGE_HANDLER(MediaKeysMsg_SessionCreated, OnSessionCreated)
- IPC_MESSAGE_HANDLER(MediaKeysMsg_SessionMessage, OnSessionMessage)
- IPC_MESSAGE_HANDLER(MediaKeysMsg_SessionReady, OnSessionReady)
- IPC_MESSAGE_HANDLER(MediaKeysMsg_SessionClosed, OnSessionClosed)
- IPC_MESSAGE_HANDLER(MediaKeysMsg_SessionError, OnSessionError)
+ IPC_MESSAGE_HANDLER(CdmMsg_SessionCreated, OnSessionCreated)
+ IPC_MESSAGE_HANDLER(CdmMsg_SessionMessage, OnSessionMessage)
+ IPC_MESSAGE_HANDLER(CdmMsg_SessionReady, OnSessionReady)
+ IPC_MESSAGE_HANDLER(CdmMsg_SessionClosed, OnSessionClosed)
+ IPC_MESSAGE_HANDLER(CdmMsg_SessionError, OnSessionError)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -243,16 +243,16 @@ void RendererMediaPlayerManager::InitializeCDM(int media_keys_id,
const std::vector<uint8>& uuid,
const GURL& frame_url) {
RegisterMediaKeys(media_keys_id, media_keys);
- Send(new MediaKeysHostMsg_InitializeCDM(
+ Send(new CdmHostMsg_InitializeCDM(
routing_id(), media_keys_id, uuid, frame_url));
}
void RendererMediaPlayerManager::CreateSession(
int media_keys_id,
uint32 session_id,
- MediaKeysHostMsg_CreateSession_Type type,
+ CdmHostMsg_CreateSession_Type type,
const std::vector<uint8>& init_data) {
- Send(new MediaKeysHostMsg_CreateSession(
+ Send(new CdmHostMsg_CreateSession(
routing_id(), media_keys_id, session_id, type, init_data));
}
@@ -260,18 +260,17 @@ void RendererMediaPlayerManager::UpdateSession(
int media_keys_id,
uint32 session_id,
const std::vector<uint8>& response) {
- Send(new MediaKeysHostMsg_UpdateSession(
+ Send(new CdmHostMsg_UpdateSession(
routing_id(), media_keys_id, session_id, response));
}
void RendererMediaPlayerManager::ReleaseSession(int media_keys_id,
uint32 session_id) {
- Send(new MediaKeysHostMsg_ReleaseSession(
- routing_id(), media_keys_id, session_id));
+ Send(new CdmHostMsg_ReleaseSession(routing_id(), media_keys_id, session_id));
}
void RendererMediaPlayerManager::DestroyCdm(int media_keys_id) {
- Send(new MediaKeysHostMsg_DestroyCdm(routing_id(), media_keys_id));
+ Send(new CdmHostMsg_DestroyCdm(routing_id(), media_keys_id));
}
void RendererMediaPlayerManager::OnSessionCreated(
« no previous file with comments | « content/renderer/media/android/renderer_media_player_manager.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698