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

Unified Diff: ppapi/thunk/ppb_content_decryptor_private_thunk.cc

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/ppp_content_decryptor_private_proxy.cc ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_content_decryptor_private_thunk.cc
diff --git a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
index e96a9900d80cb200bf19303291d6e0a72e360d94..77760f3f0697b244e00cd2dbe1471b4e971592f7 100644
--- a/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
+++ b/ppapi/thunk/ppb_content_decryptor_private_thunk.cc
@@ -55,26 +55,26 @@ void KeyError(PP_Instance instance,
void DeliverBlock(PP_Instance instance,
PP_Resource decrypted_block,
- int32_t request_id) {
+ const PP_DecryptedBlockInfo* block_info) {
EnterInstance enter(instance);
if (enter.succeeded())
- enter.functions()->DeliverBlock(instance, decrypted_block, request_id);
+ enter.functions()->DeliverBlock(instance, decrypted_block, block_info);
}
void DeliverFrame(PP_Instance instance,
PP_Resource decrypted_frame,
- int32_t request_id) {
+ const PP_DecryptedBlockInfo* block_info) {
EnterInstance enter(instance);
if (enter.succeeded())
- enter.functions()->DeliverFrame(instance, decrypted_frame, request_id);
+ enter.functions()->DeliverFrame(instance, decrypted_frame, block_info);
}
void DeliverSamples(PP_Instance instance,
PP_Resource decrypted_samples,
- int32_t request_id) {
+ const PP_DecryptedBlockInfo* block_info) {
EnterInstance enter(instance);
if (enter.succeeded())
- enter.functions()->DeliverSamples(instance, decrypted_samples, request_id);
+ enter.functions()->DeliverSamples(instance, decrypted_samples, block_info);
}
const PPB_ContentDecryptor_Private g_ppb_decryption_thunk = {
« no previous file with comments | « ppapi/proxy/ppp_content_decryptor_private_proxy.cc ('k') | ppapi/thunk/ppb_instance_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698