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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_11; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_12; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; |
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; |
(...skipping 19 matching lines...) Expand all Loading... |
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; | 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; |
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; | 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; |
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; | 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; |
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; | 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; |
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; | 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; |
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; | 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; |
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; | 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; |
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; | 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; |
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; | 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; |
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; | 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; |
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_11; | 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_12; |
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
201 /* END Declarations for all Wrapper Infos. */ | 201 /* END Declarations for all Wrapper Infos. */ |
202 | 202 |
203 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 203 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
204 | 204 |
205 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 205 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
206 | 206 |
207 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ | 207 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ |
208 | 208 |
209 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 209 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
(...skipping 2313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2523 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ | 2523 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ |
2524 | 2524 |
2525 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ | 2525 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ |
2526 | 2526 |
2527 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ | 2527 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ |
2528 | 2528 |
2529 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ | 2529 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ |
2530 | 2530 |
2531 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ | 2531 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ |
2532 | 2532 |
2533 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_11 */ | 2533 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */ |
2534 | 2534 |
2535 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in
stance, uint32_t session_id, struct PP_Var* web_session_id) { | 2535 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { |
2536 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2536 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2537 iface->SessionCreated(instance, session_id, *web_session_id); | 2537 iface->PromiseResolved(instance, promise_id); |
2538 } | 2538 } |
2539 | 2539 |
2540 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) { | 2540 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { |
2541 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2541 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2542 iface->SessionMessage(instance, session_id, *message, *destination_url); | 2542 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); |
2543 } | 2543 } |
2544 | 2544 |
2545 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, uint32_t session_id) { | 2545 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance i
nstance, uint32_t promise_id, PP_ExceptionCode exception_code, uint32_t system_c
ode, struct PP_Var* error_description) { |
2546 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2546 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2547 iface->SessionReady(instance, session_id); | 2547 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err
or_description); |
2548 } | 2548 } |
2549 | 2549 |
2550 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, uint32_t session_id) { | 2550 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) { |
2551 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2551 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2552 iface->SessionClosed(instance, session_id); | 2552 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); |
2553 } | 2553 } |
2554 | 2554 |
2555 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst
ance, uint32_t session_id, int32_t media_error, uint32_t system_code) { | 2555 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { |
2556 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2556 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2557 iface->SessionError(instance, session_id, media_error, system_code); | 2557 iface->SessionReady(instance, *web_session_id); |
2558 } | 2558 } |
2559 | 2559 |
2560 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst
ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted
_block_info) { | 2560 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { |
2561 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2561 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2562 iface->SessionClosed(instance, *web_session_id); |
| 2563 } |
| 2564 |
| 2565 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst
ance, struct PP_Var* web_session_id, PP_ExceptionCode exception_code, uint32_t s
ystem_code, struct PP_Var* error_description) { |
| 2566 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2567 iface->SessionError(instance, *web_session_id, exception_code, system_code, *e
rror_description); |
| 2568 } |
| 2569 |
| 2570 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst
ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted
_block_info) { |
| 2571 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2562 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); | 2572 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); |
2563 } | 2573 } |
2564 | 2574 |
2565 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst
ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool
success) { | 2575 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst
ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool
success) { |
2566 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2576 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2567 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); | 2577 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); |
2568 } | 2578 } |
2569 | 2579 |
2570 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In
stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 2580 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In
stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
2571 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2581 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2572 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); | 2582 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); |
2573 } | 2583 } |
2574 | 2584 |
2575 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 2585 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
2576 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2586 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2577 iface->DecoderResetDone(instance, decoder_type, request_id); | 2587 iface->DecoderResetDone(instance, decoder_type, request_id); |
2578 } | 2588 } |
2579 | 2589 |
2580 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { | 2590 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { |
2581 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2591 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2582 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); | 2592 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); |
2583 } | 2593 } |
2584 | 2594 |
2585 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted
_sample_info) { | 2595 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted
_sample_info) { |
2586 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_11.real_iface; | 2596 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2587 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); | 2597 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); |
2588 } | 2598 } |
2589 | 2599 |
2590 /* End wrapper methods for PPB_ContentDecryptor_Private_0_11 */ | 2600 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */ |
2591 | 2601 |
2592 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ | 2602 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ |
2593 | 2603 |
2594 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance
instance) { | 2604 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance
instance) { |
2595 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; | 2605 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; |
2596 return iface->Create(instance); | 2606 return iface->Create(instance); |
2597 } | 2607 } |
2598 | 2608 |
2599 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P
P_Resource resource) { | 2609 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P
P_Resource resource) { |
2600 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; | 2610 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP
B_DisplayColorProfile_Private_0_1.real_iface; |
(...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4157 return iface->Initialize(resource, bytes, length); | 4167 return iface->Initialize(resource, bytes, length); |
4158 } | 4168 } |
4159 | 4169 |
4160 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { | 4170 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { |
4161 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 4171 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
4162 *_struct_result = iface->GetField(resource, field); | 4172 *_struct_result = iface->GetField(resource, field); |
4163 } | 4173 } |
4164 | 4174 |
4165 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 4175 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
4166 | 4176 |
4167 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4177 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4168 | 4178 |
4169 static void Pnacl_M34_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4179 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4170 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4180 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4171 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4181 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4172 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4182 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4173 temp_fp(instance, &key_system); | 4183 temp_fp(instance, &key_system); |
4174 } | 4184 } |
4175 | 4185 |
4176 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)
{ | 4186 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) { |
4177 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4187 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4178 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* cont
ent_type, struct PP_Var* init_data) = | 4188 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) = |
4179 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* content
_type, struct PP_Var* init_data))iface->CreateSession); | 4189 ((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); |
4180 temp_fp(instance, session_id, &content_type, &init_data); | 4190 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4181 } | 4191 } |
4182 | 4192 |
4183 static void Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t session_id, struct PP_Var web_session_id) { | 4193 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4184 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4194 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4185 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_
session_id) = | 4195 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4186 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4196 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4187 temp_fp(instance, session_id, &web_session_id); | 4197 temp_fp(instance, promise_id, &web_session_id); |
4188 } | 4198 } |
4189 | 4199 |
4190 static void Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t session_id, struct PP_Var response) { | 4200 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
) { |
4191 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4201 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4192 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* resp
onse) = | 4202 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4193 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons
e))iface->UpdateSession); | 4203 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4194 temp_fp(instance, session_id, &response); | 4204 temp_fp(instance, promise_id, &web_session_id, &response); |
4195 } | 4205 } |
4196 | 4206 |
4197 static void Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t session_id) { | 4207 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { |
4198 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4208 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4199 void (*temp_fp)(PP_Instance instance, uint32_t session_id) = | 4209 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4200 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession)
; | 4210 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); |
4201 temp_fp(instance, session_id); | 4211 temp_fp(instance, promise_id, &web_session_id); |
4202 } | 4212 } |
4203 | 4213 |
4204 static void Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4214 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4205 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4215 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4206 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4216 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4207 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4217 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4208 temp_fp(instance, encrypted_block, encrypted_block_info); | 4218 temp_fp(instance, encrypted_block, encrypted_block_info); |
4209 } | 4219 } |
4210 | 4220 |
4211 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4221 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4212 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4222 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4213 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4223 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4214 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); | 4224 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); |
4215 temp_fp(instance, decoder_config, codec_extra_data); | 4225 temp_fp(instance, decoder_config, codec_extra_data); |
4216 } | 4226 } |
4217 | 4227 |
4218 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4228 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4219 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4229 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4220 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4230 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4221 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); | 4231 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); |
4222 temp_fp(instance, decoder_config, codec_extra_data); | 4232 temp_fp(instance, decoder_config, codec_extra_data); |
4223 } | 4233 } |
4224 | 4234 |
4225 static void Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4235 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4226 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4236 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4227 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4237 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4228 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); | 4238 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); |
4229 temp_fp(instance, decoder_type, request_id); | 4239 temp_fp(instance, decoder_type, request_id); |
4230 } | 4240 } |
4231 | 4241 |
4232 static void Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4242 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4233 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4243 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4234 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4244 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4235 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); | 4245 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); |
4236 temp_fp(instance, decoder_type, request_id); | 4246 temp_fp(instance, decoder_type, request_id); |
4237 } | 4247 } |
4238 | 4248 |
4239 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) { | 4249 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) { |
4240 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4250 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4241 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = | 4251 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = |
4242 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); | 4252 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); |
4243 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); | 4253 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); |
4244 } | 4254 } |
4245 | 4255 |
4246 /* End wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4256 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4247 | 4257 |
4248 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ | 4258 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ |
4249 | 4259 |
4250 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 4260 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
4251 | 4261 |
4252 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 4262 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
4253 | 4263 |
4254 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 4264 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
4255 | 4265 |
4256 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ | 4266 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4937 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ | 4947 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ |
4938 | 4948 |
4939 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ | 4949 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ |
4940 | 4950 |
4941 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ | 4951 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ |
4942 | 4952 |
4943 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 4953 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
4944 | 4954 |
4945 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 4955 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
4946 | 4956 |
4947 static const struct PPB_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_11 = { | 4957 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
4948 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc
t PP_Var web_session_id))&Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated, | 4958 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
4949 .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, | 4959 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
4950 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_
M35_PPB_ContentDecryptor_Private_SessionReady, | 4960 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, PP_E
xceptionCode exception_code, uint32_t system_code, struct PP_Var error_descripti
on))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected, |
4951 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl
_M35_PPB_ContentDecryptor_Private_SessionClosed, | 4961 .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, |
4952 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t
media_error, uint32_t system_code))&Pnacl_M35_PPB_ContentDecryptor_Private_Sess
ionError, | 4962 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
4953 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverBlock, | 4963 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
4954 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M35_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 4964 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id
, PP_ExceptionCode exception_code, uint32_t system_code, struct PP_Var error_des
cription))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError, |
4955 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 4965 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
4956 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private_Decode
rResetDone, | 4966 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
4957 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverFrame, | 4967 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
4958 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M35_PPB_Conte
ntDecryptor_Private_DeliverSamples | 4968 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
| 4969 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
| 4970 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
4959 }; | 4971 }; |
4960 | 4972 |
4961 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { | 4973 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { |
4962 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, | 4974 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, |
4963 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, | 4975 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, |
4964 .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, | 4976 .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, |
4965 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback | 4977 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback |
4966 }; | 4978 }; |
4967 | 4979 |
4968 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx
FileSystem_Private_0_1 = { | 4980 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx
FileSystem_Private_0_1 = { |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5363 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose | 5375 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose |
5364 }; | 5376 }; |
5365 | 5377 |
5366 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5378 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5367 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5379 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5368 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5380 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5369 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5381 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5370 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5382 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5371 }; | 5383 }; |
5372 | 5384 |
5373 static const struct PPP_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_11 = { | 5385 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5374 .Initialize = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize, | 5386 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
5375 .CreateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession, | 5387 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5376 .LoadSession = &Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession, | 5388 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5377 .UpdateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession, | 5389 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5378 .ReleaseSession = &Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession, | 5390 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, |
5379 .Decrypt = &Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt, | 5391 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5380 .InitializeAudioDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5392 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5381 .InitializeVideoDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5393 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5382 .DeinitializeDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5394 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5383 .ResetDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder, | 5395 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5384 .DecryptAndDecode = &Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode | 5396 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5385 }; | 5397 }; |
5386 | 5398 |
5387 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5399 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5388 | 5400 |
5389 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5401 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
5390 | 5402 |
5391 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5403 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
5392 | 5404 |
5393 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5405 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
5394 | 5406 |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5761 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, | 5773 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, |
5762 .real_iface = NULL | 5774 .real_iface = NULL |
5763 }; | 5775 }; |
5764 | 5776 |
5765 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { | 5777 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { |
5766 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, | 5778 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, |
5767 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, | 5779 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, |
5768 .real_iface = NULL | 5780 .real_iface = NULL |
5769 }; | 5781 }; |
5770 | 5782 |
5771 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_11 = { | 5783 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_12 = { |
5772 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 5784 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
5773 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_11, | 5785 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_12, |
5774 .real_iface = NULL | 5786 .real_iface = NULL |
5775 }; | 5787 }; |
5776 | 5788 |
5777 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { | 5789 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { |
5778 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, | 5790 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, |
5779 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, | 5791 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, |
5780 .real_iface = NULL | 5792 .real_iface = NULL |
5781 }; | 5793 }; |
5782 | 5794 |
5783 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { | 5795 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6001 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, | 6013 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, |
6002 .real_iface = NULL | 6014 .real_iface = NULL |
6003 }; | 6015 }; |
6004 | 6016 |
6005 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { | 6017 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { |
6006 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, | 6018 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, |
6007 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, | 6019 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, |
6008 .real_iface = NULL | 6020 .real_iface = NULL |
6009 }; | 6021 }; |
6010 | 6022 |
6011 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_11 = { | 6023 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_12 = { |
6012 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 6024 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
6013 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_11, | 6025 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_12, |
6014 .real_iface = NULL | 6026 .real_iface = NULL |
6015 }; | 6027 }; |
6016 | 6028 |
6017 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6029 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
6018 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6030 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
6019 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6031 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
6020 .real_iface = NULL | 6032 .real_iface = NULL |
6021 }; | 6033 }; |
6022 | 6034 |
6023 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6035 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6074 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6086 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
6075 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6087 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6076 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6088 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6077 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6089 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6078 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6090 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
6079 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6091 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
6080 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6092 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
6081 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6093 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
6082 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6094 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
6083 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6095 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
6084 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_11, | 6096 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12, |
6085 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, | 6097 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, |
6086 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, | 6098 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, |
6087 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, | 6099 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, |
6088 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, | 6100 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, |
6089 &Pnacl_WrapperInfo_PPB_Flash_12_4, | 6101 &Pnacl_WrapperInfo_PPB_Flash_12_4, |
6090 &Pnacl_WrapperInfo_PPB_Flash_12_5, | 6102 &Pnacl_WrapperInfo_PPB_Flash_12_5, |
6091 &Pnacl_WrapperInfo_PPB_Flash_12_6, | 6103 &Pnacl_WrapperInfo_PPB_Flash_12_6, |
6092 &Pnacl_WrapperInfo_PPB_Flash_13_0, | 6104 &Pnacl_WrapperInfo_PPB_Flash_13_0, |
6093 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, | 6105 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, |
6094 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, | 6106 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, |
(...skipping 25 matching lines...) Expand all Loading... |
6120 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6132 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
6121 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6133 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
6122 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6134 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
6123 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6135 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
6124 NULL | 6136 NULL |
6125 }; | 6137 }; |
6126 | 6138 |
6127 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6139 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
6128 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6140 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
6129 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 6141 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
6130 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, | 6142 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12, |
6131 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6143 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
6132 NULL | 6144 NULL |
6133 }; | 6145 }; |
6134 | 6146 |
6135 | 6147 |
6136 | 6148 |
6137 static PPB_GetInterface __real_PPBGetInterface; | 6149 static PPB_GetInterface __real_PPBGetInterface; |
6138 static PPP_GetInterface_Type __real_PPPGetInterface; | 6150 static PPP_GetInterface_Type __real_PPPGetInterface; |
6139 | 6151 |
6140 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { | 6152 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6193 | 6205 |
6194 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6206 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6195 if (wrapper->real_iface == NULL) { | 6207 if (wrapper->real_iface == NULL) { |
6196 const void *iface = (*__real_PPPGetInterface)(name); | 6208 const void *iface = (*__real_PPPGetInterface)(name); |
6197 if (NULL == iface) return NULL; | 6209 if (NULL == iface) return NULL; |
6198 wrapper->real_iface = iface; | 6210 wrapper->real_iface = iface; |
6199 } | 6211 } |
6200 | 6212 |
6201 return wrapper->wrapped_iface; | 6213 return wrapper->wrapped_iface; |
6202 } | 6214 } |
OLD | NEW |