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

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: 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
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a9a8f22129542b59923fb3fb51fb8638d7f322ed 100644
--- a/ppapi/proxy/ppp_content_decryptor_private_proxy.h
+++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.h
@@ -5,6 +5,8 @@
#ifndef PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
#define PPAPI_PROXY_PPP_CONTENT_DECRYPTOR_PRIVATE_PROXY_H_
+#include <string>
+
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/private/ppp_content_decryptor_private.h"
#include "ppapi/proxy/interface_proxy.h"
@@ -33,15 +35,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_;
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.cc ('k') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698