Chromium Code Reviews| Index: content/common/media/cdm_messages.h |
| diff --git a/content/common/media/cdm_messages.h b/content/common/media/cdm_messages.h |
| index e9d1958edc65524b33868e284f40b194b9f12def..3a410087988fd6fd1a7ac93311fcb8dcdf8e464b 100644 |
| --- a/content/common/media/cdm_messages.h |
| +++ b/content/common/media/cdm_messages.h |
| @@ -20,6 +20,12 @@ |
| #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| #define IPC_MESSAGE_START CdmMsgStart |
| +IPC_STRUCT_BEGIN(CdmHostMsg_InitializeCdm_Params) |
|
nasko
2015/05/14 22:13:58
nit: Move this to be in the same section of the fi
sandersd (OOO until July 31)
2015/05/14 22:41:32
Done.
|
| + IPC_STRUCT_MEMBER(std::string, key_system) |
| + IPC_STRUCT_MEMBER(GURL, security_origin) |
| + IPC_STRUCT_MEMBER(bool, use_hw_secure_codecs) |
| +IPC_STRUCT_END() |
| + |
| IPC_ENUM_TRAITS_MAX_VALUE(media::CdmKeyInformation::KeyStatus, |
| media::CdmKeyInformation::KEY_STATUS_MAX) |
| IPC_ENUM_TRAITS_MAX_VALUE(media::MediaKeys::Exception, |
| @@ -37,12 +43,11 @@ IPC_STRUCT_TRAITS_END() |
| // Messages from render to browser. |
| -IPC_MESSAGE_CONTROL5(CdmHostMsg_InitializeCdm, |
| +IPC_MESSAGE_CONTROL4(CdmHostMsg_InitializeCdm, |
| int /* render_frame_id */, |
| int /* cdm_id */, |
| uint32_t /* promise_id */, |
| - std::string /* key_system */, |
| - GURL /* security_origin */) |
| + CdmHostMsg_InitializeCdm_Params /* params */) |
| IPC_MESSAGE_CONTROL4(CdmHostMsg_SetServerCertificate, |
| int /* render_frame_id */, |