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

Unified Diff: ppapi/proxy/ppb_instance_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/ppapi_messages.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.h
diff --git a/ppapi/proxy/ppb_instance_proxy.h b/ppapi/proxy/ppb_instance_proxy.h
index 1585f756d39264fdabc448bf2969822f3ebb92a6..9da665977d5468557e7232af5f28bf0147e0b3d9 100644
--- a/ppapi/proxy/ppb_instance_proxy.h
+++ b/ppapi/proxy/ppb_instance_proxy.h
@@ -5,6 +5,8 @@
#ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
#define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
+#include <string>
+
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_time.h"
@@ -21,6 +23,8 @@
#undef PostMessage
#endif
+struct PP_DecryptedBlockInfo;
+
namespace ppapi {
namespace proxy {
@@ -134,13 +138,13 @@ class PPB_Instance_Proxy : public InterfaceProxy,
int32_t system_code) OVERRIDE;
virtual void DeliverBlock(PP_Instance instance,
PP_Resource decrypted_block,
- int32_t request_id) OVERRIDE;
+ const PP_DecryptedBlockInfo* block_info) OVERRIDE;
virtual void DeliverFrame(PP_Instance instance,
PP_Resource decrypted_frame,
- int32_t request_id) OVERRIDE;
+ const PP_DecryptedBlockInfo* block_info) OVERRIDE;
virtual void DeliverSamples(PP_Instance instance,
PP_Resource decrypted_samples,
- int32_t request_id) OVERRIDE;
+ const PP_DecryptedBlockInfo* block_info) OVERRIDE;
#endif // !defined(OS_NACL)
static const ApiID kApiID = API_ID_PPB_INSTANCE;
@@ -233,13 +237,14 @@ class PPB_Instance_Proxy : public InterfaceProxy,
int32_t system_code);
virtual void OnHostMsgDeliverBlock(PP_Instance instance,
PP_Resource decrypted_block,
- int32_t request_id);
+ const std::string& serialized_block_info);
virtual void OnHostMsgDeliverFrame(PP_Instance instance,
PP_Resource decrypted_frame,
- int32_t request_id);
- virtual void OnHostMsgDeliverSamples(PP_Instance instance,
- PP_Resource decrypted_samples,
- int32_t request_id);
+ const std::string& serialized_block_info);
+ virtual void OnHostMsgDeliverSamples(
+ PP_Instance instance,
+ PP_Resource decrypted_samples,
+ const std::string& serialized_block_info);
#endif // !defined(OS_NACL)
// Host -> Plugin message handlers.
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698