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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4149 return iface->Initialize(resource, bytes, length); | 4159 return iface->Initialize(resource, bytes, length); |
4150 } | 4160 } |
4151 | 4161 |
4152 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { | 4162 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { |
4153 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 4163 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
4154 *_struct_result = iface->GetField(resource, field); | 4164 *_struct_result = iface->GetField(resource, field); |
4155 } | 4165 } |
4156 | 4166 |
4157 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 4167 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
4158 | 4168 |
4159 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4169 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4160 | 4170 |
4161 static void Pnacl_M34_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4171 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4162 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4172 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4163 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4173 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4164 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4174 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4165 temp_fp(instance, &key_system); | 4175 temp_fp(instance, &key_system); |
4166 } | 4176 } |
4167 | 4177 |
4168 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)
{ | 4178 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) { |
4169 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4179 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4170 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* cont
ent_type, struct PP_Var* init_data) = | 4180 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) = |
4171 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* content
_type, struct PP_Var* init_data))iface->CreateSession); | 4181 ((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); |
4172 temp_fp(instance, session_id, &content_type, &init_data); | 4182 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4173 } | 4183 } |
4174 | 4184 |
4175 static void Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t session_id, struct PP_Var web_session_id) { | 4185 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4176 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4186 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4177 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_
session_id) = | 4187 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4178 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4188 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4179 temp_fp(instance, session_id, &web_session_id); | 4189 temp_fp(instance, promise_id, &web_session_id); |
4180 } | 4190 } |
4181 | 4191 |
4182 static void Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t session_id, struct PP_Var response) { | 4192 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
) { |
4183 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4193 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4184 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* resp
onse) = | 4194 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4185 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons
e))iface->UpdateSession); | 4195 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4186 temp_fp(instance, session_id, &response); | 4196 temp_fp(instance, promise_id, &web_session_id, &response); |
4187 } | 4197 } |
4188 | 4198 |
4189 static void Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t session_id) { | 4199 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { |
4190 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4200 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4191 void (*temp_fp)(PP_Instance instance, uint32_t session_id) = | 4201 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4192 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession)
; | 4202 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); |
4193 temp_fp(instance, session_id); | 4203 temp_fp(instance, promise_id, &web_session_id); |
4194 } | 4204 } |
4195 | 4205 |
4196 static void Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4206 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4197 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4207 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4198 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4208 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4199 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4209 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4200 temp_fp(instance, encrypted_block, encrypted_block_info); | 4210 temp_fp(instance, encrypted_block, encrypted_block_info); |
4201 } | 4211 } |
4202 | 4212 |
4203 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4213 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4204 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4214 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4205 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4215 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4206 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); | 4216 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); |
4207 temp_fp(instance, decoder_config, codec_extra_data); | 4217 temp_fp(instance, decoder_config, codec_extra_data); |
4208 } | 4218 } |
4209 | 4219 |
4210 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4220 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4211 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4221 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4212 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4222 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4213 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); | 4223 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); |
4214 temp_fp(instance, decoder_config, codec_extra_data); | 4224 temp_fp(instance, decoder_config, codec_extra_data); |
4215 } | 4225 } |
4216 | 4226 |
4217 static void Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4227 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4218 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4228 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4219 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4229 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4220 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); | 4230 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); |
4221 temp_fp(instance, decoder_type, request_id); | 4231 temp_fp(instance, decoder_type, request_id); |
4222 } | 4232 } |
4223 | 4233 |
4224 static void Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4234 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4225 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4235 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4226 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4236 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4227 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); | 4237 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); |
4228 temp_fp(instance, decoder_type, request_id); | 4238 temp_fp(instance, decoder_type, request_id); |
4229 } | 4239 } |
4230 | 4240 |
4231 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) { | 4241 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) { |
4232 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_11.real_iface; | 4242 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4233 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = | 4243 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = |
4234 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); | 4244 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); |
4235 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); | 4245 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); |
4236 } | 4246 } |
4237 | 4247 |
4238 /* End wrapper methods for PPP_ContentDecryptor_Private_0_11 */ | 4248 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4239 | 4249 |
4240 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ | 4250 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ |
4241 | 4251 |
4242 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 4252 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
4243 | 4253 |
4244 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 4254 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
4245 | 4255 |
4246 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 4256 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
4247 | 4257 |
4248 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ | 4258 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4929 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ | 4939 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ |
4930 | 4940 |
4931 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ | 4941 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ |
4932 | 4942 |
4933 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ | 4943 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ |
4934 | 4944 |
4935 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 4945 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
4936 | 4946 |
4937 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 4947 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
4938 | 4948 |
4939 static const struct PPB_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_11 = { | 4949 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
4940 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc
t PP_Var web_session_id))&Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated, | 4950 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
4941 .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, | 4951 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
4942 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_
M35_PPB_ContentDecryptor_Private_SessionReady, | 4952 .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, |
4943 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl
_M35_PPB_ContentDecryptor_Private_SessionClosed, | 4953 .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, |
4944 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t
media_error, uint32_t system_code))&Pnacl_M35_PPB_ContentDecryptor_Private_Sess
ionError, | 4954 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
4945 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverBlock, | 4955 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
4946 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M35_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 4956 .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, |
4947 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 4957 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
4948 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private_Decode
rResetDone, | 4958 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
4949 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M35_PPB_Conten
tDecryptor_Private_DeliverFrame, | 4959 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
4950 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M35_PPB_Conte
ntDecryptor_Private_DeliverSamples | 4960 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
| 4961 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
| 4962 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
4951 }; | 4963 }; |
4952 | 4964 |
4953 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { | 4965 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ
ayColorProfile_Private_0_1 = { |
4954 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, | 4966 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor
Profile_Private_Create, |
4955 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, | 4967 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D
isplayColorProfile_Private_IsDisplayColorProfile, |
4956 .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, | 4968 .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, |
4957 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback | 4969 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color
_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor
Profile_Private_RegisterColorProfileChangeCallback |
4958 }; | 4970 }; |
4959 | 4971 |
4960 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx
FileSystem_Private_0_1 = { | 4972 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... |
5355 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose | 5367 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose |
5356 }; | 5368 }; |
5357 | 5369 |
5358 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5370 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5359 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5371 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5360 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5372 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5361 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5373 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5362 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5374 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5363 }; | 5375 }; |
5364 | 5376 |
5365 static const struct PPP_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_11 = { | 5377 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5366 .Initialize = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize, | 5378 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
5367 .CreateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession, | 5379 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5368 .LoadSession = &Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession, | 5380 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5369 .UpdateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession, | 5381 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5370 .ReleaseSession = &Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession, | 5382 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, |
5371 .Decrypt = &Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt, | 5383 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5372 .InitializeAudioDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5384 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5373 .InitializeVideoDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5385 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5374 .DeinitializeDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5386 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5375 .ResetDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder, | 5387 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5376 .DecryptAndDecode = &Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode | 5388 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5377 }; | 5389 }; |
5378 | 5390 |
5379 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5391 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5380 | 5392 |
5381 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5393 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
5382 | 5394 |
5383 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5395 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
5384 | 5396 |
5385 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5397 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
5386 | 5398 |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5753 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, | 5765 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, |
5754 .real_iface = NULL | 5766 .real_iface = NULL |
5755 }; | 5767 }; |
5756 | 5768 |
5757 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { | 5769 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { |
5758 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, | 5770 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, |
5759 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, | 5771 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, |
5760 .real_iface = NULL | 5772 .real_iface = NULL |
5761 }; | 5773 }; |
5762 | 5774 |
5763 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_11 = { | 5775 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_12 = { |
5764 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 5776 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
5765 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_11, | 5777 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_12, |
5766 .real_iface = NULL | 5778 .real_iface = NULL |
5767 }; | 5779 }; |
5768 | 5780 |
5769 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { | 5781 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1 = { |
5770 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, | 5782 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, |
5771 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, | 5783 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat
e_0_1, |
5772 .real_iface = NULL | 5784 .real_iface = NULL |
5773 }; | 5785 }; |
5774 | 5786 |
5775 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { | 5787 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1 = { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5993 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, | 6005 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, |
5994 .real_iface = NULL | 6006 .real_iface = NULL |
5995 }; | 6007 }; |
5996 | 6008 |
5997 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { | 6009 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { |
5998 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, | 6010 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, |
5999 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, | 6011 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, |
6000 .real_iface = NULL | 6012 .real_iface = NULL |
6001 }; | 6013 }; |
6002 | 6014 |
6003 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_11 = { | 6015 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_12 = { |
6004 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, | 6016 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, |
6005 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_11, | 6017 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_12, |
6006 .real_iface = NULL | 6018 .real_iface = NULL |
6007 }; | 6019 }; |
6008 | 6020 |
6009 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6021 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
6010 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6022 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
6011 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6023 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
6012 .real_iface = NULL | 6024 .real_iface = NULL |
6013 }; | 6025 }; |
6014 | 6026 |
6015 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6027 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6066 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6078 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
6067 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6079 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6068 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6080 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6069 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6081 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6070 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6082 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
6071 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6083 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
6072 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6084 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
6073 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6085 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
6074 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6086 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
6075 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6087 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
6076 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_11, | 6088 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12, |
6077 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, | 6089 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, |
6078 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, | 6090 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, |
6079 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, | 6091 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, |
6080 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, | 6092 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, |
6081 &Pnacl_WrapperInfo_PPB_Flash_12_4, | 6093 &Pnacl_WrapperInfo_PPB_Flash_12_4, |
6082 &Pnacl_WrapperInfo_PPB_Flash_12_5, | 6094 &Pnacl_WrapperInfo_PPB_Flash_12_5, |
6083 &Pnacl_WrapperInfo_PPB_Flash_12_6, | 6095 &Pnacl_WrapperInfo_PPB_Flash_12_6, |
6084 &Pnacl_WrapperInfo_PPB_Flash_13_0, | 6096 &Pnacl_WrapperInfo_PPB_Flash_13_0, |
6085 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, | 6097 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, |
6086 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, | 6098 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, |
(...skipping 25 matching lines...) Expand all Loading... |
6112 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6124 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
6113 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6125 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
6114 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6126 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
6115 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6127 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
6116 NULL | 6128 NULL |
6117 }; | 6129 }; |
6118 | 6130 |
6119 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6131 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
6120 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6132 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
6121 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 6133 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
6122 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, | 6134 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12, |
6123 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6135 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
6124 NULL | 6136 NULL |
6125 }; | 6137 }; |
6126 | 6138 |
6127 | 6139 |
6128 | 6140 |
6129 static PPB_GetInterface __real_PPBGetInterface; | 6141 static PPB_GetInterface __real_PPBGetInterface; |
6130 static PPP_GetInterface_Type __real_PPPGetInterface; | 6142 static PPP_GetInterface_Type __real_PPPGetInterface; |
6131 | 6143 |
6132 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { | 6144 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6185 | 6197 |
6186 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6198 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6187 if (wrapper->real_iface == NULL) { | 6199 if (wrapper->real_iface == NULL) { |
6188 const void *iface = (*__real_PPPGetInterface)(name); | 6200 const void *iface = (*__real_PPPGetInterface)(name); |
6189 if (NULL == iface) return NULL; | 6201 if (NULL == iface) return NULL; |
6190 wrapper->real_iface = iface; | 6202 wrapper->real_iface = iface; |
6191 } | 6203 } |
6192 | 6204 |
6193 return wrapper->wrapped_iface; | 6205 return wrapper->wrapped_iface; |
6194 } | 6206 } |
OLD | NEW |