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

Unified Diff: ppapi/proxy/ppp_content_decryptor_private_proxy.h

Issue 10854209: Modify the PPAPI CDM interface to pass more info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates that resolve xhwang's comments. Created 8 years, 4 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: ppapi/proxy/ppp_content_decryptor_private_proxy.h
diff --git a/ppapi/proxy/ppp_content_decryptor_private_proxy.h b/ppapi/proxy/ppp_content_decryptor_private_proxy.h
index 6ed8d2224996cf664f46fbf4bb3c4cb6d82847fb..0a3811ec48325cc8e02a4e7a91fe442645a62556 100644
--- a/ppapi/proxy/ppp_content_decryptor_private_proxy.h
+++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.h
@@ -33,15 +33,17 @@ class PPP_ContentDecryptor_Private_Proxy : public InterfaceProxy {
SerializedVarReceiveInput init_data);
void OnMsgAddKey(PP_Instance instance,
SerializedVarReceiveInput session_id,
- SerializedVarReceiveInput key);
+ SerializedVarReceiveInput key,
+ SerializedVarReceiveInput init_data);
void OnMsgCancelKeyRequest(PP_Instance instance,
SerializedVarReceiveInput session_id);
void OnMsgDecrypt(PP_Instance instance,
const PPPDecryptor_Buffer& encrypted_buffer,
- int32_t request_id);
- void OnMsgDecryptAndDecode(PP_Instance instance,
- const HostResource& encrypted_block,
- int32_t request_id);
+ const std::string& serialized_encrypted_block_info);
+ void OnMsgDecryptAndDecode(
+ PP_Instance instance,
+ const PPPDecryptor_Buffer& encrypted_buffer,
+ const std::string& serialized_encrypted_block_info);
const PPP_ContentDecryptor_Private* ppp_decryptor_impl_;

Powered by Google App Engine
This is Rietveld 408576698