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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 179123009: Encrypted Media: Use uint32 for systemCode in SessionError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_10; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_11;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0;
(...skipping 2258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 2426 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */
2427 2427
2428 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2428 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
2429 2429
2430 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2430 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2431 2431
2432 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2432 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2433 2433
2434 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2434 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2435 2435
2436 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_10 */ 2436 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_11 */
2437 2437
2438 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in stance, uint32_t session_id, struct PP_Var* web_session_id) { 2438 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in stance, uint32_t session_id, struct PP_Var* web_session_id) {
2439 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2439 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2440 iface->SessionCreated(instance, session_id, *web_session_id); 2440 iface->SessionCreated(instance, session_id, *web_session_id);
2441 } 2441 }
2442 2442
2443 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in stance, uint32_t session_id, struct PP_Var* message, struct PP_Var* destination_ url) { 2443 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in stance, uint32_t session_id, struct PP_Var* message, struct PP_Var* destination_ url) {
2444 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2444 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2445 iface->SessionMessage(instance, session_id, *message, *destination_url); 2445 iface->SessionMessage(instance, session_id, *message, *destination_url);
2446 } 2446 }
2447 2447
2448 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, uint32_t session_id) { 2448 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, uint32_t session_id) {
2449 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2449 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2450 iface->SessionReady(instance, session_id); 2450 iface->SessionReady(instance, session_id);
2451 } 2451 }
2452 2452
2453 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, uint32_t session_id) { 2453 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, uint32_t session_id) {
2454 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2454 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2455 iface->SessionClosed(instance, session_id); 2455 iface->SessionClosed(instance, session_id);
2456 } 2456 }
2457 2457
2458 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, uint32_t session_id, int32_t media_error, int32_t system_code) { 2458 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, uint32_t session_id, int32_t media_error, uint32_t system_code) {
2459 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2459 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2460 iface->SessionError(instance, session_id, media_error, system_code); 2460 iface->SessionError(instance, session_id, media_error, system_code);
2461 } 2461 }
2462 2462
2463 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) { 2463 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) {
2464 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2464 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2465 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2465 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
2466 } 2466 }
2467 2467
2468 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2468 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) {
2469 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2469 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2470 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2470 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
2471 } 2471 }
2472 2472
2473 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2473 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2474 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2474 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2475 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2475 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2476 } 2476 }
2477 2477
2478 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2478 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2479 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2479 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2480 iface->DecoderResetDone(instance, decoder_type, request_id); 2480 iface->DecoderResetDone(instance, decoder_type, request_id);
2481 } 2481 }
2482 2482
2483 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) { 2483 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) {
2484 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2484 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2485 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2485 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2486 } 2486 }
2487 2487
2488 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) { 2488 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) {
2489 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface; 2489 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface;
2490 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2490 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info);
2491 } 2491 }
2492 2492
2493 /* End wrapper methods for PPB_ContentDecryptor_Private_0_10 */ 2493 /* End wrapper methods for PPB_ContentDecryptor_Private_0_11 */
2494 2494
2495 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ 2495 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */
2496 2496
2497 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) { 2497 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) {
2498 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2498 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
2499 return iface->Create(instance); 2499 return iface->Create(instance);
2500 } 2500 }
2501 2501
2502 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) { 2502 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) {
2503 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2503 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
(...skipping 2344 matching lines...) Expand 10 before | Expand all | Expand 10 after
4848 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 4848 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */
4849 4849
4850 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 4850 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
4851 4851
4852 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 4852 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
4853 4853
4854 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 4854 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
4855 4855
4856 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 4856 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
4857 4857
4858 static const struct PPB_ContentDecryptor_Private_0_10 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_10 = { 4858 static const struct PPB_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_11 = {
4859 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var web_session_id))&Pnacl_M34_PPB_ContentDecryptor_Private_SessionCreated, 4859 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var web_session_id))&Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated,
4860 .SessionMessage = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var message, struct PP_Var destination_url))&Pnacl_M34_PPB_ContentDecryptor _Private_SessionMessage, 4860 .SessionMessage = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var message, struct PP_Var destination_url))&Pnacl_M35_PPB_ContentDecryptor _Private_SessionMessage,
4861 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_ M34_PPB_ContentDecryptor_Private_SessionReady, 4861 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_ M35_PPB_ContentDecryptor_Private_SessionReady,
4862 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl _M34_PPB_ContentDecryptor_Private_SessionClosed, 4862 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl _M35_PPB_ContentDecryptor_Private_SessionClosed,
4863 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, int32_t system_code))&Pnacl_M34_PPB_ContentDecryptor_Private_Sessi onError, 4863 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, uint32_t system_code))&Pnacl_M35_PPB_ContentDecryptor_Private_Sess ionError,
4864 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M34_PPB_Conten tDecryptor_Private_DeliverBlock, 4864 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M35_PPB_Conten tDecryptor_Private_DeliverBlock,
4865 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M34_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 4865 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M35_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
4866 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M34_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 4866 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
4867 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M34_PPB_ContentDecryptor_Private_Decode rResetDone, 4867 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private_Decode rResetDone,
4868 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M34_PPB_Conten tDecryptor_Private_DeliverFrame, 4868 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M35_PPB_Conten tDecryptor_Private_DeliverFrame,
4869 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M34_PPB_Conte ntDecryptor_Private_DeliverSamples 4869 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M35_PPB_Conte ntDecryptor_Private_DeliverSamples
4870 }; 4870 };
4871 4871
4872 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = { 4872 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = {
4873 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create, 4873 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create,
4874 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile, 4874 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile,
4875 .GetColorProfile = (int32_t (*)(PP_Resource display_color_profile_res, struc t PP_ArrayOutput color_profile, struct PP_CompletionCallback callback))&Pnacl_M3 3_PPB_DisplayColorProfile_Private_GetColorProfile, 4875 .GetColorProfile = (int32_t (*)(PP_Resource display_color_profile_res, struc t PP_ArrayOutput color_profile, struct PP_CompletionCallback callback))&Pnacl_M3 3_PPB_DisplayColorProfile_Private_GetColorProfile,
4876 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback 4876 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback
4877 }; 4877 };
4878 4878
4879 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = { 4879 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = {
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
5665 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5665 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16,
5666 .real_iface = NULL 5666 .real_iface = NULL
5667 }; 5667 };
5668 5668
5669 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5669 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = {
5670 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5670 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3,
5671 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5671 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3,
5672 .real_iface = NULL 5672 .real_iface = NULL
5673 }; 5673 };
5674 5674
5675 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_10 = { 5675 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_11 = {
5676 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_10, 5676 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11,
5677 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _10, 5677 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _11,
5678 .real_iface = NULL 5678 .real_iface = NULL
5679 }; 5679 };
5680 5680
5681 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = { 5681 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = {
5682 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, 5682 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1,
5683 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1, 5683 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1,
5684 .real_iface = NULL 5684 .real_iface = NULL
5685 }; 5685 };
5686 5686
5687 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = { 5687 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = {
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
5988 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 5988 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
5989 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 5989 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
5990 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 5990 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
5991 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 5991 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
5992 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5992 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
5993 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5993 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5994 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5994 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5995 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 5995 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
5996 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5996 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5997 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5997 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5998 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_10, 5998 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_11,
5999 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, 5999 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1,
6000 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 6000 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
6001 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 6001 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
6002 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 6002 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
6003 &Pnacl_WrapperInfo_PPB_Flash_12_4, 6003 &Pnacl_WrapperInfo_PPB_Flash_12_4,
6004 &Pnacl_WrapperInfo_PPB_Flash_12_5, 6004 &Pnacl_WrapperInfo_PPB_Flash_12_5,
6005 &Pnacl_WrapperInfo_PPB_Flash_12_6, 6005 &Pnacl_WrapperInfo_PPB_Flash_12_6,
6006 &Pnacl_WrapperInfo_PPB_Flash_13_0, 6006 &Pnacl_WrapperInfo_PPB_Flash_13_0,
6007 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 6007 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
6008 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 6008 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
6109 6109
6110 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6110 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6111 if (wrapper->real_iface == NULL) { 6111 if (wrapper->real_iface == NULL) {
6112 const void *iface = (*__real_PPPGetInterface)(name); 6112 const void *iface = (*__real_PPPGetInterface)(name);
6113 if (NULL == iface) return NULL; 6113 if (NULL == iface) return NULL;
6114 wrapper->real_iface = iface; 6114 wrapper->real_iface = iface;
6115 } 6115 }
6116 6116
6117 return wrapper->wrapped_iface; 6117 return wrapper->wrapped_iface;
6118 } 6118 }
OLDNEW
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698