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

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

Issue 24192004: Changes to the EME Pepper API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.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) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92;
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_7;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
(...skipping 16 matching lines...) Expand all
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_7;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2;
237 /* END Declarations for all Wrapper Infos. */ 237 /* END Declarations for all Wrapper Infos. */
238 238
239 /* Not generating wrapper methods for PPB_Audio_1_0 */ 239 /* Not generating wrapper methods for PPB_Audio_1_0 */
240 240
241 /* Not generating wrapper methods for PPB_Audio_1_1 */ 241 /* Not generating wrapper methods for PPB_Audio_1_1 */
(...skipping 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after
2312 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */ 2312 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */
2313 2313
2314 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */ 2314 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */
2315 2315
2316 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2316 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2317 2317
2318 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2318 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2319 2319
2320 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2320 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2321 2321
2322 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_6 */ 2322 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_7 */
2323 2323
2324 static void Pnacl_M24_PPB_ContentDecryptor_Private_NeedKey(PP_Instance instance, struct PP_Var* key_system, struct PP_Var* session_id, struct PP_Var* init_data) { 2324 static void Pnacl_M31_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance , struct PP_Var* key_system, struct PP_Var* session_id) {
2325 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2325 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2326 iface->NeedKey(instance, *key_system, *session_id, *init_data);
2327 }
2328
2329 static void Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance , struct PP_Var* key_system, struct PP_Var* session_id) {
2330 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
2331 iface->KeyAdded(instance, *key_system, *session_id); 2326 iface->KeyAdded(instance, *key_system, *session_id);
2332 } 2327 }
2333 2328
2334 static void Pnacl_M24_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instan ce, struct PP_Var* key_system, struct PP_Var* session_id, struct PP_Var* message , struct PP_Var* default_url) { 2329 static void Pnacl_M31_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instan ce, struct PP_Var* key_system, struct PP_Var* session_id, struct PP_Var* message , struct PP_Var* default_url) {
2335 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2330 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2336 iface->KeyMessage(instance, *key_system, *session_id, *message, *default_url); 2331 iface->KeyMessage(instance, *key_system, *session_id, *message, *default_url);
2337 } 2332 }
2338 2333
2339 static void Pnacl_M24_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance , struct PP_Var* key_system, struct PP_Var* session_id, int32_t media_error, int 32_t system_code) { 2334 static void Pnacl_M31_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance , struct PP_Var* key_system, struct PP_Var* session_id, int32_t media_error, int 32_t system_code) {
2340 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2335 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2341 iface->KeyError(instance, *key_system, *session_id, media_error, system_code); 2336 iface->KeyError(instance, *key_system, *session_id, media_error, system_code);
2342 } 2337 }
2343 2338
2344 static void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) { 2339 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) {
2345 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2340 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2346 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2341 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
2347 } 2342 }
2348 2343
2349 static void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2344 static void Pnacl_M31_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) {
2350 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2345 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2351 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2346 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
2352 } 2347 }
2353 2348
2354 static void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2349 static void Pnacl_M31_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2355 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2350 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2356 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2351 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2357 } 2352 }
2358 2353
2359 static void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2354 static void Pnacl_M31_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2360 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2355 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2361 iface->DecoderResetDone(instance, decoder_type, request_id); 2356 iface->DecoderResetDone(instance, decoder_type, request_id);
2362 } 2357 }
2363 2358
2364 static void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) { 2359 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) {
2365 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2360 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2366 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2361 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2367 } 2362 }
2368 2363
2369 static void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_ block_info) { 2364 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_ block_info) {
2370 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface; 2365 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_7.real_iface;
2371 iface->DeliverSamples(instance, audio_frames, decrypted_block_info); 2366 iface->DeliverSamples(instance, audio_frames, decrypted_block_info);
2372 } 2367 }
2373 2368
2374 /* End wrapper methods for PPB_ContentDecryptor_Private_0_6 */ 2369 /* End wrapper methods for PPB_ContentDecryptor_Private_0_7 */
2375 2370
2376 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2371 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2377 2372
2378 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance , PP_Resource* file_system, struct PP_CompletionCallback* callback) { 2373 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance , PP_Resource* file_system, struct PP_CompletionCallback* callback) {
2379 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_ Ext_CrxFileSystem_Private_0_1.real_iface; 2374 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_ Ext_CrxFileSystem_Private_0_1.real_iface;
2380 return iface->Open(instance, file_system, *callback); 2375 return iface->Open(instance, file_system, *callback);
2381 } 2376 }
2382 2377
2383 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2378 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2384 2379
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3710 return iface->Initialize(resource, bytes, length); 3705 return iface->Initialize(resource, bytes, length);
3711 } 3706 }
3712 3707
3713 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 3708 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) {
3714 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3709 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3715 *_struct_result = iface->GetField(resource, field); 3710 *_struct_result = iface->GetField(resource, field);
3716 } 3711 }
3717 3712
3718 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3713 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3719 3714
3720 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_6 */ 3715 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_7 */
3721 3716
3722 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var type, struct PP_Var init_dat a) { 3717 static void Pnacl_M31_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system, PP_Bool can_challenge_platform) {
3723 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3718 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3724 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system, struct PP_Var * type, struct PP_Var* init_data) = 3719 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system, PP_Bool can_c hallenge_platform) =
3725 ((void (*)(PP_Instance instance, struct PP_Var* key_system, struct PP_Var* t ype, struct PP_Var* init_data))iface->GenerateKeyRequest); 3720 ((void (*)(PP_Instance instance, struct PP_Var* key_system, PP_Bool can_chal lenge_platform))iface->Initialize);
3726 temp_fp(instance, &key_system, &type, &init_data); 3721 temp_fp(instance, &key_system, can_challenge_platform);
3727 } 3722 }
3728 3723
3729 static void Pnacl_M24_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) { 3724 static void Pnacl_M31_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var type, struct PP_Var init_data) {
3730 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3725 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3726 void (*temp_fp)(PP_Instance instance, struct PP_Var* type, struct PP_Var* init _data) =
3727 ((void (*)(PP_Instance instance, struct PP_Var* type, struct PP_Var* init_da ta))iface->GenerateKeyRequest);
3728 temp_fp(instance, &type, &init_data);
3729 }
3730
3731 static void Pnacl_M31_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) {
3732 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3731 void (*temp_fp)(PP_Instance instance, struct PP_Var* session_id, struct PP_Var * key, struct PP_Var* init_data) = 3733 void (*temp_fp)(PP_Instance instance, struct PP_Var* session_id, struct PP_Var * key, struct PP_Var* init_data) =
3732 ((void (*)(PP_Instance instance, struct PP_Var* session_id, struct PP_Var* k ey, struct PP_Var* init_data))iface->AddKey); 3734 ((void (*)(PP_Instance instance, struct PP_Var* session_id, struct PP_Var* k ey, struct PP_Var* init_data))iface->AddKey);
3733 temp_fp(instance, &session_id, &key, &init_data); 3735 temp_fp(instance, &session_id, &key, &init_data);
3734 } 3736 }
3735 3737
3736 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) { 3738 static void Pnacl_M31_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) {
3737 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3739 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3738 void (*temp_fp)(PP_Instance instance, struct PP_Var* session_id) = 3740 void (*temp_fp)(PP_Instance instance, struct PP_Var* session_id) =
3739 ((void (*)(PP_Instance instance, struct PP_Var* session_id))iface->CancelKey Request); 3741 ((void (*)(PP_Instance instance, struct PP_Var* session_id))iface->CancelKey Request);
3740 temp_fp(instance, &session_id); 3742 temp_fp(instance, &session_id);
3741 } 3743 }
3742 3744
3743 static void Pnacl_M24_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3745 static void Pnacl_M31_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3744 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3746 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3745 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) = 3747 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) =
3746 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 3748 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
3747 temp_fp(instance, encrypted_block, encrypted_block_info); 3749 temp_fp(instance, encrypted_block, encrypted_block_info);
3748 } 3750 }
3749 3751
3750 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3752 static void Pnacl_M31_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3751 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3753 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3752 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 3754 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
3753 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 3755 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder);
3754 temp_fp(instance, decoder_config, codec_extra_data); 3756 temp_fp(instance, decoder_config, codec_extra_data);
3755 } 3757 }
3756 3758
3757 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3759 static void Pnacl_M31_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3758 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3760 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3759 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 3761 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
3760 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 3762 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder);
3761 temp_fp(instance, decoder_config, codec_extra_data); 3763 temp_fp(instance, decoder_config, codec_extra_data);
3762 } 3764 }
3763 3765
3764 static void Pnacl_M24_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3766 static void Pnacl_M31_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3765 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3767 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3766 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 3768 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
3767 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder); 3769 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder);
3768 temp_fp(instance, decoder_type, request_id); 3770 temp_fp(instance, decoder_type, request_id);
3769 } 3771 }
3770 3772
3771 static void Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3773 static void Pnacl_M31_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3772 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3774 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3773 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 3775 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
3774 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder); 3776 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder);
3775 temp_fp(instance, decoder_type, request_id); 3777 temp_fp(instance, decoder_type, request_id);
3776 } 3778 }
3777 3779
3778 static void Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) { 3780 static void Pnacl_M31_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) {
3779 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface; 3781 const struct PPP_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_7.real_iface;
3780 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) = 3782 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) =
3781 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode); 3783 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode);
3782 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 3784 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info);
3783 } 3785 }
3784 3786
3785 /* End wrapper methods for PPP_ContentDecryptor_Private_0_6 */ 3787 /* End wrapper methods for PPP_ContentDecryptor_Private_0_7 */
3786 3788
3787 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3789 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3788 3790
3789 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3791 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3790 3792
3791 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3793 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3792 3794
3793 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3795 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
3794 3796
3795 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) { 3797 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) {
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
4647 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */ 4649 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */
4648 4650
4649 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */ 4651 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */
4650 4652
4651 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 4653 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
4652 4654
4653 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 4655 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
4654 4656
4655 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 4657 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
4656 4658
4657 struct PPB_ContentDecryptor_Private_0_6 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_6 = { 4659 struct PPB_ContentDecryptor_Private_0_7 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_7 = {
4658 .NeedKey = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data))&Pnacl_M24_PPB_ContentDecryptor_Priv ate_NeedKey, 4660 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M31_PPB_ContentDecryptor_Private_KeyAdded,
4659 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded, 4661 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, struct PP_Var message, struct PP_Var default_url))&Pnacl_M 31_PPB_ContentDecryptor_Private_KeyMessage,
4660 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, struct PP_Var message, struct PP_Var default_url))&Pnacl_M 24_PPB_ContentDecryptor_Private_KeyMessage, 4662 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M31_PPB_Con tentDecryptor_Private_KeyError,
4661 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M24_PPB_Con tentDecryptor_Private_KeyError, 4663 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M31_PPB_Conten tDecryptor_Private_DeliverBlock,
4662 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverBlock, 4664 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M31_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
4663 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M24_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 4665 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
4664 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 4666 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private_Decode rResetDone,
4665 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private_Decode rResetDone, 4667 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M31_PPB_Conten tDecryptor_Private_DeliverFrame,
4666 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverFrame, 4668 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M31_PPB_Content Decryptor_Private_DeliverSamples
4667 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Content Decryptor_Private_DeliverSamples
4668 }; 4669 };
4669 4670
4670 struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Pr ivate_0_1 = { 4671 struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Pr ivate_0_1 = {
4671 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open 4672 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open
4672 }; 4673 };
4673 4674
4674 struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { 4675 struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = {
4675 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request OSFileHandle 4676 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request OSFileHandle
4676 }; 4677 };
4677 4678
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
5016 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose 5017 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose
5017 }; 5018 };
5018 5019
5019 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = { 5020 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = {
5020 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 5021 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
5021 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 5022 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
5022 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5023 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
5023 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5024 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
5024 }; 5025 };
5025 5026
5026 struct PPP_ContentDecryptor_Private_0_6 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_6 = { 5027 struct PPP_ContentDecryptor_Private_0_7 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_7 = {
5027 .GenerateKeyRequest = &Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyReq uest, 5028 .Initialize = &Pnacl_M31_PPP_ContentDecryptor_Private_Initialize,
5028 .AddKey = &Pnacl_M24_PPP_ContentDecryptor_Private_AddKey, 5029 .GenerateKeyRequest = &Pnacl_M31_PPP_ContentDecryptor_Private_GenerateKeyReq uest,
5029 .CancelKeyRequest = &Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest , 5030 .AddKey = &Pnacl_M31_PPP_ContentDecryptor_Private_AddKey,
5030 .Decrypt = &Pnacl_M24_PPP_ContentDecryptor_Private_Decrypt, 5031 .CancelKeyRequest = &Pnacl_M31_PPP_ContentDecryptor_Private_CancelKeyRequest ,
5031 .InitializeAudioDecoder = &Pnacl_M24_PPP_ContentDecryptor_Private_Initialize AudioDecoder, 5032 .Decrypt = &Pnacl_M31_PPP_ContentDecryptor_Private_Decrypt,
5032 .InitializeVideoDecoder = &Pnacl_M24_PPP_ContentDecryptor_Private_Initialize VideoDecoder, 5033 .InitializeAudioDecoder = &Pnacl_M31_PPP_ContentDecryptor_Private_Initialize AudioDecoder,
5033 .DeinitializeDecoder = &Pnacl_M24_PPP_ContentDecryptor_Private_DeinitializeD ecoder, 5034 .InitializeVideoDecoder = &Pnacl_M31_PPP_ContentDecryptor_Private_Initialize VideoDecoder,
5034 .ResetDecoder = &Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecoder, 5035 .DeinitializeDecoder = &Pnacl_M31_PPP_ContentDecryptor_Private_DeinitializeD ecoder,
5035 .DecryptAndDecode = &Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode 5036 .ResetDecoder = &Pnacl_M31_PPP_ContentDecryptor_Private_ResetDecoder,
5037 .DecryptAndDecode = &Pnacl_M31_PPP_ContentDecryptor_Private_DecryptAndDecode
5036 }; 5038 };
5037 5039
5038 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5040 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
5039 5041
5040 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5042 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
5041 5043
5042 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5044 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
5043 5045
5044 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 5046 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = {
5045 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject 5047 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
5428 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5430 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16,
5429 .real_iface = NULL 5431 .real_iface = NULL
5430 }; 5432 };
5431 5433
5432 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5434 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = {
5433 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5435 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3,
5434 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5436 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3,
5435 .real_iface = NULL 5437 .real_iface = NULL
5436 }; 5438 };
5437 5439
5438 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6 = { 5440 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_7 = {
5439 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_6, 5441 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_7,
5440 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_6, 5442 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_7,
5441 .real_iface = NULL 5443 .real_iface = NULL
5442 }; 5444 };
5443 5445
5444 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = { 5446 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = {
5445 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1, 5447 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1,
5446 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1, 5448 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1,
5447 .real_iface = NULL 5449 .real_iface = NULL
5448 }; 5450 };
5449 5451
5450 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = { 5452 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
5650 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 5652 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1,
5651 .real_iface = NULL 5653 .real_iface = NULL
5652 }; 5654 };
5653 5655
5654 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 5656 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
5655 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 5657 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
5656 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 5658 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
5657 .real_iface = NULL 5659 .real_iface = NULL
5658 }; 5660 };
5659 5661
5660 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6 = { 5662 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_7 = {
5661 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_6, 5663 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_7,
5662 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_6, 5664 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_7,
5663 .real_iface = NULL 5665 .real_iface = NULL
5664 }; 5666 };
5665 5667
5666 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 5668 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = {
5667 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 5669 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1,
5668 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 5670 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1,
5669 .real_iface = NULL 5671 .real_iface = NULL
5670 }; 5672 };
5671 5673
5672 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1 = { 5674 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1 = {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
5741 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5743 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
5742 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5744 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5743 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5745 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5744 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, 5746 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92,
5745 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5747 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5746 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5748 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5747 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 5749 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
5748 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5750 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5749 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5751 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5750 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5752 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5751 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, 5753 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_7,
5752 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 5754 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
5753 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 5755 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
5754 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5756 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5755 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5757 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5756 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5758 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5757 &Pnacl_WrapperInfo_PPB_Flash_12_6, 5759 &Pnacl_WrapperInfo_PPB_Flash_12_6,
5758 &Pnacl_WrapperInfo_PPB_Flash_13_0, 5760 &Pnacl_WrapperInfo_PPB_Flash_13_0,
5759 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5761 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
5760 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 5762 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0,
5761 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 5763 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
(...skipping 26 matching lines...) Expand all
5788 &Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1, 5790 &Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1,
5789 &Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1, 5791 &Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1,
5790 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, 5792 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1,
5791 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, 5793 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2,
5792 NULL 5794 NULL
5793 }; 5795 };
5794 5796
5795 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 5797 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
5796 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5798 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5797 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 5799 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3,
5798 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_6, 5800 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_7,
5799 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5801 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
5800 NULL 5802 NULL
5801 }; 5803 };
5802 5804
5803 5805
5804 5806
5805 static PPB_GetInterface __real_PPBGetInterface; 5807 static PPB_GetInterface __real_PPBGetInterface;
5806 static PPP_GetInterface_Type __real_PPPGetInterface; 5808 static PPP_GetInterface_Type __real_PPPGetInterface;
5807 5809
5808 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 5810 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
5869 if (NULL == iface) return NULL; 5871 if (NULL == iface) return NULL;
5870 wrapper->real_iface = iface; 5872 wrapper->real_iface = iface;
5871 } 5873 }
5872 5874
5873 if (wrapper->wrapped_iface) { 5875 if (wrapper->wrapped_iface) {
5874 return wrapper->wrapped_iface; 5876 return wrapper->wrapped_iface;
5875 } else { 5877 } else {
5876 return wrapper->real_iface; 5878 return wrapper->real_iface;
5877 } 5879 }
5878 } 5880 }
OLDNEW
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698