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

Unified Diff: trunk/src/content/common/media/media_player_messages_android.h

Issue 180843008: Revert 253665 "Rename MediaKeys*Msg to Cdm*Msg." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
Index: trunk/src/content/common/media/media_player_messages_android.h
===================================================================
--- trunk/src/content/common/media/media_player_messages_android.h (revision 253672)
+++ trunk/src/content/common/media/media_player_messages_android.h (working copy)
@@ -65,6 +65,7 @@
IPC_STRUCT_TRAITS_END()
IPC_ENUM_TRAITS(MediaPlayerHostMsg_Initialize_Type)
+IPC_ENUM_TRAITS(MediaKeysHostMsg_CreateSession_Type)
// Chrome for Android seek message sequence is:
// 1. Renderer->Browser MediaPlayerHostMsg_Seek
@@ -284,54 +285,50 @@
// Messages for encrypted media extensions API ------------------------------
// TODO(xhwang): Move the following messages to a separate file.
-#undef IPC_MESSAGE_START
-#define IPC_MESSAGE_START CdmMsgStart
-IPC_ENUM_TRAITS(CdmHostMsg_CreateSession_Type)
-
-IPC_MESSAGE_ROUTED3(CdmHostMsg_InitializeCDM,
+IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_InitializeCDM,
int /* media_keys_id */,
std::vector<uint8> /* uuid */,
GURL /* frame url */)
-IPC_MESSAGE_ROUTED4(CdmHostMsg_CreateSession,
+IPC_MESSAGE_ROUTED4(MediaKeysHostMsg_CreateSession,
int /* media_keys_id */,
uint32_t /* session_id */,
- CdmHostMsg_CreateSession_Type /* type */,
+ MediaKeysHostMsg_CreateSession_Type /* type */,
std::vector<uint8> /* init_data */)
-IPC_MESSAGE_ROUTED3(CdmHostMsg_UpdateSession,
+IPC_MESSAGE_ROUTED3(MediaKeysHostMsg_UpdateSession,
int /* media_keys_id */,
uint32_t /* session_id */,
std::vector<uint8> /* response */)
-IPC_MESSAGE_ROUTED2(CdmHostMsg_ReleaseSession,
+IPC_MESSAGE_ROUTED2(MediaKeysHostMsg_ReleaseSession,
int /* media_keys_id */,
uint32_t /* session_id */)
-IPC_MESSAGE_ROUTED1(CdmHostMsg_CancelAllPendingSessionCreations,
+IPC_MESSAGE_ROUTED1(MediaKeysHostMsg_CancelAllPendingSessionCreations,
int /* media_keys_id */)
-IPC_MESSAGE_ROUTED3(CdmMsg_SessionCreated,
+IPC_MESSAGE_ROUTED3(MediaKeysMsg_SessionCreated,
int /* media_keys_id */,
uint32_t /* session_id */,
std::string /* web_session_id */)
-IPC_MESSAGE_ROUTED4(CdmMsg_SessionMessage,
+IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionMessage,
int /* media_keys_id */,
uint32_t /* session_id */,
std::vector<uint8> /* message */,
GURL /* destination_url */)
-IPC_MESSAGE_ROUTED2(CdmMsg_SessionReady,
+IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionReady,
int /* media_keys_id */,
uint32_t /* session_id */)
-IPC_MESSAGE_ROUTED2(CdmMsg_SessionClosed,
+IPC_MESSAGE_ROUTED2(MediaKeysMsg_SessionClosed,
int /* media_keys_id */,
uint32_t /* session_id */)
-IPC_MESSAGE_ROUTED4(CdmMsg_SessionError,
+IPC_MESSAGE_ROUTED4(MediaKeysMsg_SessionError,
int /* media_keys_id */,
uint32_t /* session_id */,
media::MediaKeys::KeyError /* error_code */,

Powered by Google App Engine
This is Rietveld 408576698