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

Unified Diff: content/common/media/cdm_messages.h

Issue 1131753003: Plumb |use_secure_codecs| through to BrowserCdmFactoryAndroid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IPC_STRUCT Created 5 years, 7 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/browser/media/cdm/browser_cdm_manager.cc ('k') | content/renderer/media/crypto/ppapi_decryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */,
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/renderer/media/crypto/ppapi_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698