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

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

Issue 122683002: Drop data offset in PP_EncryptedBlockInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/c/private/ppp_content_decryptor_private.h ('k') | ppapi/thunk/interfaces_ppb_private.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/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_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 2; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 2;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_9; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_10;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
(...skipping 17 matching lines...) Expand all
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_9; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_10;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1;
239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2;
240 /* END Declarations for all Wrapper Infos. */ 240 /* END Declarations for all Wrapper Infos. */
241 241
242 /* Not generating wrapper methods for PPB_Audio_1_0 */ 242 /* Not generating wrapper methods for PPB_Audio_1_0 */
243 243
244 /* Not generating wrapper methods for PPB_Audio_1_1 */ 244 /* Not generating wrapper methods for PPB_Audio_1_1 */
245 245
246 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 246 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 2320 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */
2321 2321
2322 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2322 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
2323 2323
2324 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2324 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2325 2325
2326 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2326 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2327 2327
2328 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2328 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2329 2329
2330 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_9 */ 2330 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_10 */
2331 2331
2332 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in stance, uint32_t session_id, struct PP_Var* web_session_id) { 2332 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in stance, uint32_t session_id, struct PP_Var* web_session_id) {
2333 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2333 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2334 iface->SessionCreated(instance, session_id, *web_session_id); 2334 iface->SessionCreated(instance, session_id, *web_session_id);
2335 } 2335 }
2336 2336
2337 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in stance, uint32_t session_id, struct PP_Var* message, struct PP_Var* destination_ url) { 2337 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) {
2338 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2338 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2339 iface->SessionMessage(instance, session_id, *message, *destination_url); 2339 iface->SessionMessage(instance, session_id, *message, *destination_url);
2340 } 2340 }
2341 2341
2342 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, uint32_t session_id) { 2342 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, uint32_t session_id) {
2343 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2343 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2344 iface->SessionReady(instance, session_id); 2344 iface->SessionReady(instance, session_id);
2345 } 2345 }
2346 2346
2347 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, uint32_t session_id) { 2347 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, uint32_t session_id) {
2348 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2348 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2349 iface->SessionClosed(instance, session_id); 2349 iface->SessionClosed(instance, session_id);
2350 } 2350 }
2351 2351
2352 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, uint32_t session_id, int32_t media_error, int32_t system_code) { 2352 static void Pnacl_M34_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, uint32_t session_id, int32_t media_error, int32_t system_code) {
2353 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2353 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2354 iface->SessionError(instance, session_id, media_error, system_code); 2354 iface->SessionError(instance, session_id, media_error, system_code);
2355 } 2355 }
2356 2356
2357 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) { 2357 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) {
2358 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2358 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2359 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2359 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
2360 } 2360 }
2361 2361
2362 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2362 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) {
2363 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2363 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2364 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2364 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
2365 } 2365 }
2366 2366
2367 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2367 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2368 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2368 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2369 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2369 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2370 } 2370 }
2371 2371
2372 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2372 static void Pnacl_M34_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2373 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2373 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2374 iface->DecoderResetDone(instance, decoder_type, request_id); 2374 iface->DecoderResetDone(instance, decoder_type, request_id);
2375 } 2375 }
2376 2376
2377 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) { 2377 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) {
2378 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2378 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2379 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2379 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2380 } 2380 }
2381 2381
2382 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) { 2382 static void Pnacl_M34_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) {
2383 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_9.real_iface; 2383 const struct PPB_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_10.real_iface;
2384 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2384 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info);
2385 } 2385 }
2386 2386
2387 /* End wrapper methods for PPB_ContentDecryptor_Private_0_9 */ 2387 /* End wrapper methods for PPB_ContentDecryptor_Private_0_10 */
2388 2388
2389 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2389 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2390 2390
2391 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance , PP_Resource* file_system, struct PP_CompletionCallback* callback) { 2391 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance , PP_Resource* file_system, struct PP_CompletionCallback* callback) {
2392 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_ Ext_CrxFileSystem_Private_0_1.real_iface; 2392 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_ Ext_CrxFileSystem_Private_0_1.real_iface;
2393 return iface->Open(instance, file_system, *callback); 2393 return iface->Open(instance, file_system, *callback);
2394 } 2394 }
2395 2395
2396 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2396 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */
2397 2397
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
3737 return iface->Initialize(resource, bytes, length); 3737 return iface->Initialize(resource, bytes, length);
3738 } 3738 }
3739 3739
3740 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 3740 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) {
3741 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3741 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3742 *_struct_result = iface->GetField(resource, field); 3742 *_struct_result = iface->GetField(resource, field);
3743 } 3743 }
3744 3744
3745 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3745 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3746 3746
3747 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_9 */ 3747 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_10 */
3748 3748
3749 static void Pnacl_M33_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) { 3749 static void Pnacl_M34_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) {
3750 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3750 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3751 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = 3751 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) =
3752 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e); 3752 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e);
3753 temp_fp(instance, &key_system); 3753 temp_fp(instance, &key_system);
3754 } 3754 }
3755 3755
3756 static void Pnacl_M33_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins tance, uint32_t session_id, struct PP_Var type, struct PP_Var init_data) { 3756 static void Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins tance, uint32_t session_id, struct PP_Var type, struct PP_Var init_data) {
3757 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3757 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3758 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* type , struct PP_Var* init_data) = 3758 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* type , struct PP_Var* init_data) =
3759 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* type, s truct PP_Var* init_data))iface->CreateSession); 3759 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* type, s truct PP_Var* init_data))iface->CreateSession);
3760 temp_fp(instance, session_id, &type, &init_data); 3760 temp_fp(instance, session_id, &type, &init_data);
3761 } 3761 }
3762 3762
3763 static void Pnacl_M33_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins tance, uint32_t session_id, struct PP_Var response) { 3763 static void Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins tance, uint32_t session_id, struct PP_Var response) {
3764 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3764 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3765 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* resp onse) = 3765 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* resp onse) =
3766 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons e))iface->UpdateSession); 3766 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons e))iface->UpdateSession);
3767 temp_fp(instance, session_id, &response); 3767 temp_fp(instance, session_id, &response);
3768 } 3768 }
3769 3769
3770 static void Pnacl_M33_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in stance, uint32_t session_id) { 3770 static void Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in stance, uint32_t session_id) {
3771 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3771 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3772 void (*temp_fp)(PP_Instance instance, uint32_t session_id) = 3772 void (*temp_fp)(PP_Instance instance, uint32_t session_id) =
3773 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession) ; 3773 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession) ;
3774 temp_fp(instance, session_id); 3774 temp_fp(instance, session_id);
3775 } 3775 }
3776 3776
3777 static void Pnacl_M33_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3777 static void Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3778 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3778 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3779 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) = 3779 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) =
3780 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 3780 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
3781 temp_fp(instance, encrypted_block, encrypted_block_info); 3781 temp_fp(instance, encrypted_block, encrypted_block_info);
3782 } 3782 }
3783 3783
3784 static void Pnacl_M33_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3784 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3785 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3785 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3786 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 3786 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
3787 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 3787 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder);
3788 temp_fp(instance, decoder_config, codec_extra_data); 3788 temp_fp(instance, decoder_config, codec_extra_data);
3789 } 3789 }
3790 3790
3791 static void Pnacl_M33_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3791 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3792 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3792 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3793 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 3793 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
3794 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 3794 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder);
3795 temp_fp(instance, decoder_config, codec_extra_data); 3795 temp_fp(instance, decoder_config, codec_extra_data);
3796 } 3796 }
3797 3797
3798 static void Pnacl_M33_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3798 static void Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3799 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3799 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3800 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 3800 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
3801 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder); 3801 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder);
3802 temp_fp(instance, decoder_type, request_id); 3802 temp_fp(instance, decoder_type, request_id);
3803 } 3803 }
3804 3804
3805 static void Pnacl_M33_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3805 static void Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3806 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3806 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3807 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 3807 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
3808 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder); 3808 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder);
3809 temp_fp(instance, decoder_type, request_id); 3809 temp_fp(instance, decoder_type, request_id);
3810 } 3810 }
3811 3811
3812 static void Pnacl_M33_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) { 3812 static void Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) {
3813 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_9.real_iface; 3813 const struct PPP_ContentDecryptor_Private_0_10 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_10.real_iface;
3814 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) = 3814 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) =
3815 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode); 3815 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode);
3816 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 3816 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info);
3817 } 3817 }
3818 3818
3819 /* End wrapper methods for PPP_ContentDecryptor_Private_0_9 */ 3819 /* End wrapper methods for PPP_ContentDecryptor_Private_0_10 */
3820 3820
3821 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3821 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3822 3822
3823 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3823 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3824 3824
3825 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3825 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3826 3826
3827 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3827 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
3828 3828
3829 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) { 3829 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) {
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
4637 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 4637 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */
4638 4638
4639 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 4639 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
4640 4640
4641 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 4641 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
4642 4642
4643 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 4643 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
4644 4644
4645 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 4645 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
4646 4646
4647 static struct PPB_ContentDecryptor_Private_0_9 Pnacl_Wrappers_PPB_ContentDecrypt or_Private_0_9 = { 4647 static struct PPB_ContentDecryptor_Private_0_10 Pnacl_Wrappers_PPB_ContentDecryp tor_Private_0_10 = {
4648 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var web_session_id))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionCreated, 4648 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var web_session_id))&Pnacl_M34_PPB_ContentDecryptor_Private_SessionCreated,
4649 .SessionMessage = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var message, struct PP_Var destination_url))&Pnacl_M33_PPB_ContentDecryptor _Private_SessionMessage, 4649 .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,
4650 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_ M33_PPB_ContentDecryptor_Private_SessionReady, 4650 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_ M34_PPB_ContentDecryptor_Private_SessionReady,
4651 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl _M33_PPB_ContentDecryptor_Private_SessionClosed, 4651 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl _M34_PPB_ContentDecryptor_Private_SessionClosed,
4652 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, int32_t system_code))&Pnacl_M33_PPB_ContentDecryptor_Private_Sessi onError, 4652 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, int32_t system_code))&Pnacl_M34_PPB_ContentDecryptor_Private_Sessi onError,
4653 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M33_PPB_Conten tDecryptor_Private_DeliverBlock, 4653 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M34_PPB_Conten tDecryptor_Private_DeliverBlock,
4654 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M33_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 4654 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M34_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
4655 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M33_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 4655 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M34_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
4656 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M33_PPB_ContentDecryptor_Private_Decode rResetDone, 4656 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M34_PPB_ContentDecryptor_Private_Decode rResetDone,
4657 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M33_PPB_Conten tDecryptor_Private_DeliverFrame, 4657 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M34_PPB_Conten tDecryptor_Private_DeliverFrame,
4658 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M33_PPB_Conte ntDecryptor_Private_DeliverSamples 4658 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M34_PPB_Conte ntDecryptor_Private_DeliverSamples
4659 }; 4659 };
4660 4660
4661 static struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSy stem_Private_0_1 = { 4661 static struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSy stem_Private_0_1 = {
4662 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open 4662 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open
4663 }; 4663 };
4664 4664
4665 static struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { 4665 static struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = {
4666 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request OSFileHandle 4666 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request OSFileHandle
4667 }; 4667 };
4668 4668
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
5012 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose 5012 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose
5013 }; 5013 };
5014 5014
5015 static struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate _Private_0_1 = { 5015 static struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate _Private_0_1 = {
5016 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 5016 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
5017 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 5017 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
5018 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5018 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
5019 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5019 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
5020 }; 5020 };
5021 5021
5022 static struct PPP_ContentDecryptor_Private_0_9 Pnacl_Wrappers_PPP_ContentDecrypt or_Private_0_9 = { 5022 static struct PPP_ContentDecryptor_Private_0_10 Pnacl_Wrappers_PPP_ContentDecryp tor_Private_0_10 = {
5023 .Initialize = &Pnacl_M33_PPP_ContentDecryptor_Private_Initialize, 5023 .Initialize = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize,
5024 .CreateSession = &Pnacl_M33_PPP_ContentDecryptor_Private_CreateSession, 5024 .CreateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession,
5025 .UpdateSession = &Pnacl_M33_PPP_ContentDecryptor_Private_UpdateSession, 5025 .UpdateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession,
5026 .ReleaseSession = &Pnacl_M33_PPP_ContentDecryptor_Private_ReleaseSession, 5026 .ReleaseSession = &Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession,
5027 .Decrypt = &Pnacl_M33_PPP_ContentDecryptor_Private_Decrypt, 5027 .Decrypt = &Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt,
5028 .InitializeAudioDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_Initialize AudioDecoder, 5028 .InitializeAudioDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize AudioDecoder,
5029 .InitializeVideoDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_Initialize VideoDecoder, 5029 .InitializeVideoDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize VideoDecoder,
5030 .DeinitializeDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_DeinitializeD ecoder, 5030 .DeinitializeDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeD ecoder,
5031 .ResetDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_ResetDecoder, 5031 .ResetDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder,
5032 .DecryptAndDecode = &Pnacl_M33_PPP_ContentDecryptor_Private_DecryptAndDecode 5032 .DecryptAndDecode = &Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode
5033 }; 5033 };
5034 5034
5035 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5035 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
5036 5036
5037 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5037 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
5038 5038
5039 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5039 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
5040 5040
5041 static struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 5041 static struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = {
5042 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject 5042 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
5424 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5424 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16,
5425 .real_iface = NULL 5425 .real_iface = NULL
5426 }; 5426 };
5427 5427
5428 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5428 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = {
5429 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5429 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3,
5430 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5430 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3,
5431 .real_iface = NULL 5431 .real_iface = NULL
5432 }; 5432 };
5433 5433
5434 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_9 = { 5434 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_10 = {
5435 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_9, 5435 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_10,
5436 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_9, 5436 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_10,
5437 .real_iface = NULL 5437 .real_iface = NULL
5438 }; 5438 };
5439 5439
5440 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = { 5440 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = {
5441 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1, 5441 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1,
5442 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1, 5442 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1,
5443 .real_iface = NULL 5443 .real_iface = NULL
5444 }; 5444 };
5445 5445
5446 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = { 5446 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
5652 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 5652 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1,
5653 .real_iface = NULL 5653 .real_iface = NULL
5654 }; 5654 };
5655 5655
5656 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 5656 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
5657 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 5657 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
5658 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 5658 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
5659 .real_iface = NULL 5659 .real_iface = NULL
5660 }; 5660 };
5661 5661
5662 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_9 = { 5662 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_10 = {
5663 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_9, 5663 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_10,
5664 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_9, 5664 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_10,
5665 .real_iface = NULL 5665 .real_iface = NULL
5666 }; 5666 };
5667 5667
5668 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 5668 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = {
5669 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 5669 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1,
5670 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 5670 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1,
5671 .real_iface = NULL 5671 .real_iface = NULL
5672 }; 5672 };
5673 5673
5674 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1 = { 5674 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1 = {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
5733 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 5733 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
5734 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 5734 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
5735 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2, 5735 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2,
5736 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5736 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
5737 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5737 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5738 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5738 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5739 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 5739 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
5740 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1, 5740 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1,
5741 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5741 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5742 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5742 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5743 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9, 5743 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_10,
5744 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 5744 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
5745 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 5745 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
5746 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5746 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5747 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5747 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5748 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5748 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5749 &Pnacl_WrapperInfo_PPB_Flash_12_6, 5749 &Pnacl_WrapperInfo_PPB_Flash_12_6,
5750 &Pnacl_WrapperInfo_PPB_Flash_13_0, 5750 &Pnacl_WrapperInfo_PPB_Flash_13_0,
5751 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5751 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
5752 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 5752 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0,
5753 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 5753 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
(...skipping 25 matching lines...) Expand all
5779 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 5779 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1,
5780 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 5780 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1,
5781 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, 5781 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1,
5782 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, 5782 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2,
5783 NULL 5783 NULL
5784 }; 5784 };
5785 5785
5786 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 5786 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
5787 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5787 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5788 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 5788 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3,
5789 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9, 5789 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_10,
5790 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5790 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
5791 NULL 5791 NULL
5792 }; 5792 };
5793 5793
5794 5794
5795 5795
5796 static PPB_GetInterface __real_PPBGetInterface; 5796 static PPB_GetInterface __real_PPBGetInterface;
5797 static PPP_GetInterface_Type __real_PPPGetInterface; 5797 static PPP_GetInterface_Type __real_PPPGetInterface;
5798 5798
5799 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 5799 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
5860 if (NULL == iface) return NULL; 5860 if (NULL == iface) return NULL;
5861 wrapper->real_iface = iface; 5861 wrapper->real_iface = iface;
5862 } 5862 }
5863 5863
5864 if (wrapper->wrapped_iface) { 5864 if (wrapper->wrapped_iface) {
5865 return wrapper->wrapped_iface; 5865 return wrapper->wrapped_iface;
5866 } else { 5866 } else {
5867 return wrapper->real_iface; 5867 return wrapper->real_iface;
5868 } 5868 }
5869 } 5869 }
OLDNEW
« no previous file with comments | « ppapi/c/private/ppp_content_decryptor_private.h ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698