OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
8 | 8 |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 #include "ppapi/c/dev/ppb_alarms_dev.h" | 10 #include "ppapi/c/dev/ppb_alarms_dev.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_11; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_12; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; |
(...skipping 19 matching lines...) Expand all Loading... |
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; | 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; |
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; | 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; |
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; | 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; |
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; | 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; |
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; | 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; |
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; | 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; |
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; | 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; |
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; | 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; |
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; | 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; |
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; | 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; |
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_11; | 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_12; |
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
198 /* END Declarations for all Wrapper Infos. */ | 198 /* END Declarations for all Wrapper Infos. */ |
199 | 199 |
200 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 200 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
201 | 201 |
202 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 202 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
203 | 203 |
204 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ | 204 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ |
205 | 205 |
206 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 206 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
(...skipping 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2417 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ | 2417 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ |
2418 | 2418 |
2419 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ | 2419 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ |
2420 | 2420 |
2421 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ | 2421 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ |
2422 | 2422 |
2423 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ | 2423 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ |
2424 | 2424 |
2425 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ | 2425 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ |
2426 | 2426 |
2427 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_11 */ | 2427 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */ |
2428 | 2428 |
2429 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in
stance, uint32_t session_id, struct PP_Var* web_session_id) { | 2429 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { |
2430 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2430 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2431 iface->SessionCreated(instance, session_id, *web_session_id); | 2431 iface->PromiseResolved(instance, promise_id); |
2432 } | 2432 } |
2433 | 2433 |
2434 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in
stance, uint32_t session_id, struct PP_Var* message, struct PP_Var* destination_
url) { | 2434 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { |
2435 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2435 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2436 iface->SessionMessage(instance, session_id, *message, *destination_url); | 2436 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); |
2437 } | 2437 } |
2438 | 2438 |
2439 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, uint32_t session_id) { | 2439 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance i
nstance, uint32_t promise_id, struct PP_Var* error_name, uint32_t system_code, s
truct PP_Var* error_description) { |
2440 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2440 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2441 iface->SessionReady(instance, session_id); | 2441 iface->PromiseRejected(instance, promise_id, *error_name, system_code, *error_
description); |
2442 } | 2442 } |
2443 | 2443 |
2444 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, uint32_t session_id) { | 2444 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in
stance, struct PP_Var* web_session_id, struct PP_Var* message, struct PP_Var* de
stination_url) { |
2445 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2445 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2446 iface->SessionClosed(instance, session_id); | 2446 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); |
2447 } | 2447 } |
2448 | 2448 |
2449 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst
ance, uint32_t session_id, int32_t media_error, uint32_t system_code) { | 2449 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { |
2450 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2450 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2451 iface->SessionError(instance, session_id, media_error, system_code); | 2451 iface->SessionReady(instance, *web_session_id); |
2452 } | 2452 } |
2453 | 2453 |
2454 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst
ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted
_block_info) { | 2454 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { |
2455 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2455 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2456 iface->SessionClosed(instance, *web_session_id); |
| 2457 } |
| 2458 |
| 2459 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst
ance, struct PP_Var* web_session_id, struct PP_Var* error_name, uint32_t system_
code, struct PP_Var* error_description) { |
| 2460 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2461 iface->SessionError(instance, *web_session_id, *error_name, system_code, *erro
r_description); |
| 2462 } |
| 2463 |
| 2464 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst
ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted
_block_info) { |
| 2465 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2456 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); | 2466 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); |
2457 } | 2467 } |
2458 | 2468 |
2459 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst
ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool
success) { | 2469 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst
ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool
success) { |
2460 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2470 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2461 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); | 2471 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); |
2462 } | 2472 } |
2463 | 2473 |
2464 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In
stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 2474 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In
stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
2465 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2475 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2466 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); | 2476 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); |
2467 } | 2477 } |
2468 | 2478 |
2469 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 2479 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
2470 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2480 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2471 iface->DecoderResetDone(instance, decoder_type, request_id); | 2481 iface->DecoderResetDone(instance, decoder_type, request_id); |
2472 } | 2482 } |
2473 | 2483 |
2474 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { | 2484 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { |
2475 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2485 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2476 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); | 2486 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); |
2477 } | 2487 } |
2478 | 2488 |
2479 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted
_sample_info) { | 2489 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted
_sample_info) { |
2480 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2490 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2481 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); | 2491 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); |
2482 } | 2492 } |
2483 | 2493 |
2484 /* End wrapper methods for PPB_ContentDecryptor_Private_0_11 */ | 2494 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */ |
2485 | 2495 |
2486 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ | 2496 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ |
2487 | 2497 |
2488 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance
instance) { | 2498 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance
instance) { |
2489 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; | 2499 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; |
2490 return iface->Create(instance); | 2500 return iface->Create(instance); |
2491 } | 2501 } |
2492 | 2502 |
2493 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P
P_Resource resource) { | 2503 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P
P_Resource resource) { |
2494 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; | 2504 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; |
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4026 return iface->Initialize(resource, bytes, length); | 4036 return iface->Initialize(resource, bytes, length); |
4027 } | 4037 } |
4028 | 4038 |
4029 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { | 4039 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { |
4030 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 4040 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
4031 *_struct_result = iface->GetField(resource, field); | 4041 *_struct_result = iface->GetField(resource, field); |
4032 } | 4042 } |
4033 | 4043 |
4034 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 4044 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
4035 | 4045 |
4036 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4046 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4037 | 4047 |
4038 static void Pnacl_M34_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4048 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4039 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4049 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4040 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4050 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4041 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4051 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4042 temp_fp(instance, &key_system); | 4052 temp_fp(instance, &key_system); |
4043 } | 4053 } |
4044 | 4054 |
4045 static void Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins
tance, uint32_t session_id, struct PP_Var content_type, struct PP_Var init_data)
{ | 4055 static void Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var init_data_type, struct PP_Var init_dat
a, PP_SessionType session_type) { |
4046 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4056 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4047 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* cont
ent_type, struct PP_Var* init_data) = | 4057 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init
_data_type, struct PP_Var* init_data, PP_SessionType session_type) = |
4048 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* content
_type, struct PP_Var* init_data))iface->CreateSession); | 4058 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_da
ta_type, struct PP_Var* init_data, PP_SessionType session_type))iface->CreateSes
sion); |
4049 temp_fp(instance, session_id, &content_type, &init_data); | 4059 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4050 } | 4060 } |
4051 | 4061 |
4052 static void Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t session_id, struct PP_Var web_session_id) { | 4062 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4053 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4063 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4054 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_
session_id) = | 4064 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4055 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4065 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4056 temp_fp(instance, session_id, &web_session_id); | 4066 temp_fp(instance, promise_id, &web_session_id); |
4057 } | 4067 } |
4058 | 4068 |
4059 static void Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t session_id, struct PP_Var response) { | 4069 static void Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id, struct PP_Var response
) { |
4060 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4070 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4061 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* resp
onse) = | 4071 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4062 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons
e))iface->UpdateSession); | 4072 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4063 temp_fp(instance, session_id, &response); | 4073 temp_fp(instance, promise_id, &web_session_id, &response); |
4064 } | 4074 } |
4065 | 4075 |
4066 static void Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t session_id) { | 4076 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { |
4067 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4077 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4068 void (*temp_fp)(PP_Instance instance, uint32_t session_id) = | 4078 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4069 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession)
; | 4079 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); |
4070 temp_fp(instance, session_id); | 4080 temp_fp(instance, promise_id, &web_session_id); |
4071 } | 4081 } |
4072 | 4082 |
4073 static void Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4083 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4074 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4084 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4075 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4085 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4076 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4086 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4077 temp_fp(instance, encrypted_block, encrypted_block_info); | 4087 temp_fp(instance, encrypted_block, encrypted_block_info); |
4078 } | 4088 } |
4079 | 4089 |
4080 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4090 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4081 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4091 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4082 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4092 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4083 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); | 4093 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); |
4084 temp_fp(instance, decoder_config, codec_extra_data); | 4094 temp_fp(instance, decoder_config, codec_extra_data); |
4085 } | 4095 } |
4086 | 4096 |
4087 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4097 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4088 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4098 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4089 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4099 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4090 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); | 4100 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); |
4091 temp_fp(instance, decoder_config, codec_extra_data); | 4101 temp_fp(instance, decoder_config, codec_extra_data); |
4092 } | 4102 } |
4093 | 4103 |
4094 static void Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4104 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4095 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4105 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4096 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4106 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4097 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); | 4107 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); |
4098 temp_fp(instance, decoder_type, request_id); | 4108 temp_fp(instance, decoder_type, request_id); |
4099 } | 4109 } |
4100 | 4110 |
4101 static void Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4111 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4102 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4112 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4103 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4113 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4104 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); | 4114 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); |
4105 temp_fp(instance, decoder_type, request_id); | 4115 temp_fp(instance, decoder_type, request_id); |
4106 } | 4116 } |
4107 | 4117 |
4108 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) { | 4118 static void Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance
instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con
st struct PP_EncryptedBlockInfo* encrypted_block_info) { |
4109 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4119 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4110 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = | 4120 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = |
4111 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); | 4121 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); |
4112 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); | 4122 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); |
4113 } | 4123 } |
4114 | 4124 |
4115 /* End wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4125 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4116 | 4126 |
4117 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ | 4127 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ |
4118 | 4128 |
4119 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 4129 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
4120 | 4130 |
4121 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 4131 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
4122 | 4132 |
4123 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 4133 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
4124 | 4134 |
4125 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ | 4135 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4781 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ | 4791 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ |
4782 | 4792 |
4783 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ | 4793 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ |
4784 | 4794 |
4785 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ | 4795 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ |
4786 | 4796 |
4787 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 4797 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
4788 | 4798 |
4789 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 4799 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
4790 | 4800 |
4791 static const struct PPB_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_11 = { | 4801 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
4792 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc
t PP_Var web_session_id))&Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated, | 4802 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
4793 .SessionMessage = (void (*)(PP_Instance instance, uint32_t session_id, struc
t PP_Var message, struct PP_Var destination_url))&Pnacl_M35_PPB_ContentDecryptor
_Private_SessionMessage, | 4803 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
4794 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_
M35_PPB_ContentDecryptor_Private_SessionReady, | 4804 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, stru
ct PP_Var error_name, uint32_t system_code, struct PP_Var error_description))&Pn
acl_M36_PPB_ContentDecryptor_Private_PromiseRejected, |
4795 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl
_M35_PPB_ContentDecryptor_Private_SessionClosed, | 4805 .SessionMessage = (void (*)(PP_Instance instance, struct PP_Var web_session_
id, struct PP_Var message, struct PP_Var destination_url))&Pnacl_M36_PPB_Content
Decryptor_Private_SessionMessage, |
4796 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t
media_error, uint32_t system_code))&Pnacl_M35_PPB_ContentDecryptor_Private_Sess
ionError, | 4806 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
4797 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverBlock, | 4807 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
4798 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M35_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 4808 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id
, struct PP_Var error_name, uint32_t system_code, struct PP_Var error_descriptio
n))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError, |
4799 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 4809 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
4800 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private_Decode
rResetDone, | 4810 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
4801 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverFrame, | 4811 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
4802 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M35_PPB_Conte
ntDecryptor_Private_DeliverSamples | 4812 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
| 4813 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
| 4814 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
4803 }; | 4815 }; |
4804 | 4816 |
4805 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { | 4817 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { |
4806 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, | 4818 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, |
4807 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, | 4819 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, |
4808 .GetColorProfile = (int32_t (*)(PP_Resource display_color_profile_res, struc
t PP_ArrayOutput color_profile, struct PP_CompletionCallback callback))&Pnacl_M3
3_PPB_DisplayColorProfile_Private_GetColorProfile, | 4820 .GetColorProfile = (int32_t (*)(PP_Resource display_color_profile_res, struc
t PP_ArrayOutput color_profile, struct PP_CompletionCallback callback))&Pnacl_M3
3_PPB_DisplayColorProfile_Private_GetColorProfile, |
4809 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback | 4821 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback |
4810 }; | 4822 }; |
4811 | 4823 |
4812 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx
FileSystem_Private_0_1 = { | 4824 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx
FileSystem_Private_0_1 = { |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5202 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose | 5214 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose |
5203 }; | 5215 }; |
5204 | 5216 |
5205 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5217 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5206 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5218 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5207 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5219 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5208 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5220 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5209 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5221 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5210 }; | 5222 }; |
5211 | 5223 |
5212 static const struct PPP_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_11 = { | 5224 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5213 .Initialize = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize, | 5225 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
5214 .CreateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession, | 5226 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5215 .LoadSession = &Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession, | 5227 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5216 .UpdateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession, | 5228 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5217 .ReleaseSession = &Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession, | 5229 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, |
5218 .Decrypt = &Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt, | 5230 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5219 .InitializeAudioDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5231 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5220 .InitializeVideoDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5232 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5221 .DeinitializeDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5233 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5222 .ResetDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder, | 5234 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5223 .DecryptAndDecode = &Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode | 5235 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5224 }; | 5236 }; |
5225 | 5237 |
5226 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5238 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5227 | 5239 |
5228 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5240 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
5229 | 5241 |
5230 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5242 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
5231 | 5243 |
5232 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5244 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
5233 | 5245 |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5588 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, | 5600 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, |
5589 .real_iface = NULL | 5601 .real_iface = NULL |
5590 }; | 5602 }; |
5591 | 5603 |
5592 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { | 5604 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { |
5593 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, | 5605 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, |
5594 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, | 5606 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, |
5595 .real_iface = NULL | 5607 .real_iface = NULL |
5596 }; | 5608 }; |
5597 | 5609 |
5598 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_11 = { | 5610 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_12 = { |
5599 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 5611 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
5600 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_11, | 5612 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_12, |
5601 .real_iface = NULL | 5613 .real_iface = NULL |
5602 }; | 5614 }; |
5603 | 5615 |
5604 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { | 5616 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { |
5605 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, | 5617 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, |
5606 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, | 5618 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, |
5607 .real_iface = NULL | 5619 .real_iface = NULL |
5608 }; | 5620 }; |
5609 | 5621 |
5610 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { | 5622 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5828 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, | 5840 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, |
5829 .real_iface = NULL | 5841 .real_iface = NULL |
5830 }; | 5842 }; |
5831 | 5843 |
5832 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { | 5844 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { |
5833 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, | 5845 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, |
5834 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, | 5846 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, |
5835 .real_iface = NULL | 5847 .real_iface = NULL |
5836 }; | 5848 }; |
5837 | 5849 |
5838 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_11 = { | 5850 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_12 = { |
5839 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 5851 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
5840 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_11, | 5852 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_12, |
5841 .real_iface = NULL | 5853 .real_iface = NULL |
5842 }; | 5854 }; |
5843 | 5855 |
5844 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 5856 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
5845 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 5857 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
5846 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 5858 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
5847 .real_iface = NULL | 5859 .real_iface = NULL |
5848 }; | 5860 }; |
5849 | 5861 |
5850 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 5862 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5899 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 5911 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
5900 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 5912 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
5901 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 5913 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
5902 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 5914 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
5903 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 5915 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
5904 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 5916 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
5905 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 5917 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
5906 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 5918 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
5907 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 5919 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
5908 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 5920 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
5909 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_11, | 5921 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12, |
5910 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, | 5922 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, |
5911 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, | 5923 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, |
5912 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, | 5924 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, |
5913 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, | 5925 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, |
5914 &Pnacl_WrapperInfo_PPB_Flash_12_4, | 5926 &Pnacl_WrapperInfo_PPB_Flash_12_4, |
5915 &Pnacl_WrapperInfo_PPB_Flash_12_5, | 5927 &Pnacl_WrapperInfo_PPB_Flash_12_5, |
5916 &Pnacl_WrapperInfo_PPB_Flash_12_6, | 5928 &Pnacl_WrapperInfo_PPB_Flash_12_6, |
5917 &Pnacl_WrapperInfo_PPB_Flash_13_0, | 5929 &Pnacl_WrapperInfo_PPB_Flash_13_0, |
5918 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, | 5930 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, |
5919 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, | 5931 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, |
(...skipping 25 matching lines...) Expand all Loading... |
5945 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 5957 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
5946 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 5958 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
5947 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 5959 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
5948 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 5960 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
5949 NULL | 5961 NULL |
5950 }; | 5962 }; |
5951 | 5963 |
5952 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 5964 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
5953 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 5965 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
5954 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 5966 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
5955 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, | 5967 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12, |
5956 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 5968 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
5957 NULL | 5969 NULL |
5958 }; | 5970 }; |
5959 | 5971 |
5960 | 5972 |
5961 | 5973 |
5962 static PPB_GetInterface __real_PPBGetInterface; | 5974 static PPB_GetInterface __real_PPBGetInterface; |
5963 static PPP_GetInterface_Type __real_PPPGetInterface; | 5975 static PPP_GetInterface_Type __real_PPPGetInterface; |
5964 | 5976 |
5965 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { | 5977 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6018 | 6030 |
6019 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6031 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6020 if (wrapper->real_iface == NULL) { | 6032 if (wrapper->real_iface == NULL) { |
6021 const void *iface = (*__real_PPPGetInterface)(name); | 6033 const void *iface = (*__real_PPPGetInterface)(name); |
6022 if (NULL == iface) return NULL; | 6034 if (NULL == iface) return NULL; |
6023 wrapper->real_iface = iface; | 6035 wrapper->real_iface = iface; |
6024 } | 6036 } |
6025 | 6037 |
6026 return wrapper->wrapped_iface; | 6038 return wrapper->wrapped_iface; |
6027 } | 6039 } |
OLD | NEW |