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

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

Issue 265993002: Add Promises for EME (Chromium side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more trybot issue Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_11; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_12;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0;
(...skipping 19 matching lines...) Expand all
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_11; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_12;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
202 /* END Declarations for all Wrapper Infos. */ 202 /* END Declarations for all Wrapper Infos. */
203 203
204 /* Not generating wrapper methods for PPB_Audio_1_0 */ 204 /* Not generating wrapper methods for PPB_Audio_1_0 */
205 205
206 /* Not generating wrapper methods for PPB_Audio_1_1 */ 206 /* Not generating wrapper methods for PPB_Audio_1_1 */
207 207
208 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ 208 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */
209 209
210 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 210 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
(...skipping 2334 matching lines...) Expand 10 before | Expand all | Expand 10 after
2545 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 2545 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */
2546 2546
2547 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2547 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
2548 2548
2549 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2549 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2550 2550
2551 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2551 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2552 2552
2553 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2553 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2554 2554
2555 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_11 */ 2555 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */
2556 2556
2557 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance in stance, uint32_t session_id, struct PP_Var* web_session_id) { 2557 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i nstance, uint32_t promise_id) {
2558 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2558 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2559 iface->SessionCreated(instance, session_id, *web_session_id); 2559 iface->PromiseResolved(instance, promise_id);
2560 } 2560 }
2561 2561
2562 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) { 2562 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP _Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) {
2563 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2563 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2564 iface->SessionMessage(instance, session_id, *message, *destination_url); 2564 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id);
2565 } 2565 }
2566 2566
2567 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, uint32_t session_id) { 2567 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance i nstance, uint32_t promise_id, PP_CdmExceptionCode exception_code, uint32_t syste m_code, struct PP_Var* error_description) {
2568 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2568 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2569 iface->SessionReady(instance, session_id); 2569 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err or_description);
2570 } 2570 }
2571 2571
2572 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, uint32_t session_id) { 2572 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) {
2573 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2573 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2574 iface->SessionClosed(instance, session_id); 2574 iface->SessionMessage(instance, *web_session_id, *message, *destination_url);
2575 } 2575 }
2576 2576
2577 static void Pnacl_M35_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, uint32_t session_id, int32_t media_error, uint32_t system_code) { 2577 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, struct PP_Var* web_session_id) {
2578 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2578 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2579 iface->SessionError(instance, session_id, media_error, system_code); 2579 iface->SessionReady(instance, *web_session_id);
2580 } 2580 }
2581 2581
2582 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) { 2582 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, struct PP_Var* web_session_id) {
2583 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2583 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2584 iface->SessionClosed(instance, *web_session_id);
2585 }
2586
2587 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionError(PP_Instance inst ance, struct PP_Var* web_session_id, PP_CdmExceptionCode exception_code, uint32_ t system_code, struct PP_Var* error_description) {
2588 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2589 iface->SessionError(instance, *web_session_id, exception_code, system_code, *e rror_description);
2590 }
2591
2592 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) {
2593 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2584 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2594 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
2585 } 2595 }
2586 2596
2587 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2597 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) {
2588 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2598 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2589 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2599 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
2590 } 2600 }
2591 2601
2592 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2602 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2593 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2603 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2594 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2604 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2595 } 2605 }
2596 2606
2597 static void Pnacl_M35_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2607 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2598 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2608 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2599 iface->DecoderResetDone(instance, decoder_type, request_id); 2609 iface->DecoderResetDone(instance, decoder_type, request_id);
2600 } 2610 }
2601 2611
2602 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) { 2612 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) {
2603 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2613 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2604 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2614 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2605 } 2615 }
2606 2616
2607 static void Pnacl_M35_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) { 2617 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) {
2608 const struct PPB_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_11.real_iface; 2618 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2609 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2619 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info);
2610 } 2620 }
2611 2621
2612 /* End wrapper methods for PPB_ContentDecryptor_Private_0_11 */ 2622 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */
2613 2623
2614 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ 2624 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */
2615 2625
2616 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) { 2626 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) {
2617 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2627 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
2618 return iface->Create(instance); 2628 return iface->Create(instance);
2619 } 2629 }
2620 2630
2621 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) { 2631 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) {
2622 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2632 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after
4156 return iface->Initialize(resource, bytes, length); 4166 return iface->Initialize(resource, bytes, length);
4157 } 4167 }
4158 4168
4159 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 4169 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) {
4160 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 4170 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
4161 *_struct_result = iface->GetField(resource, field); 4171 *_struct_result = iface->GetField(resource, field);
4162 } 4172 }
4163 4173
4164 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 4174 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
4165 4175
4166 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_11 */ 4176 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */
4167 4177
4168 static void Pnacl_M34_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) { 4178 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) {
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, struct PP_Var* key_system) = 4180 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) =
4171 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e); 4181 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e);
4172 temp_fp(instance, &key_system); 4182 temp_fp(instance, &key_system);
4173 } 4183 }
4174 4184
4175 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) { 4185 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) {
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* cont ent_type, struct PP_Var* init_data) = 4187 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) =
4178 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* content _type, struct PP_Var* init_data))iface->CreateSession); 4188 ((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);
4179 temp_fp(instance, session_id, &content_type, &init_data); 4189 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type);
4180 } 4190 }
4181 4191
4182 static void Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta nce, uint32_t session_id, struct PP_Var web_session_id) { 4192 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta nce, uint32_t promise_id, struct PP_Var web_session_id) {
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* web_ session_id) = 4194 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) =
4185 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* web_ses sion_id))iface->LoadSession); 4195 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->LoadSession);
4186 temp_fp(instance, session_id, &web_session_id); 4196 temp_fp(instance, promise_id, &web_session_id);
4187 } 4197 }
4188 4198
4189 static void Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins tance, uint32_t session_id, struct PP_Var response) { 4199 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 ) {
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, struct PP_Var* resp onse) = 4201 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id, struct PP_Var* response) =
4192 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* respons e))iface->UpdateSession); 4202 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id, struct PP_Var* response))iface->UpdateSession);
4193 temp_fp(instance, session_id, &response); 4203 temp_fp(instance, promise_id, &web_session_id, &response);
4194 } 4204 }
4195 4205
4196 static void Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in stance, uint32_t session_id) { 4206 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in stance, uint32_t promise_id, struct PP_Var web_session_id) {
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, uint32_t session_id) = 4208 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) =
4199 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession) ; 4209 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->ReleaseSession);
4200 temp_fp(instance, session_id); 4210 temp_fp(instance, promise_id, &web_session_id);
4201 } 4211 }
4202 4212
4203 static void Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 4213 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
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, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) = 4215 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) =
4206 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 4216 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
4207 temp_fp(instance, encrypted_block, encrypted_block_info); 4217 temp_fp(instance, encrypted_block, encrypted_block_info);
4208 } 4218 }
4209 4219
4210 static void Pnacl_M34_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4220 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* 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_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 4222 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
4213 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 4223 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder);
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_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4227 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
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, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 4229 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
4220 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 4230 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder);
4221 temp_fp(instance, decoder_config, codec_extra_data); 4231 temp_fp(instance, decoder_config, codec_extra_data);
4222 } 4232 }
4223 4233
4224 static void Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4234 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, 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->DeinitializeDecoder); 4237 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder);
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_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4241 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
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, uin t32_t request_id) = 4243 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
4234 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder); 4244 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder);
4235 temp_fp(instance, decoder_type, request_id); 4245 temp_fp(instance, decoder_type, request_id);
4236 } 4246 }
4237 4247
4238 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) { 4248 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) {
4239 const struct PPP_ContentDecryptor_Private_0_11 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_11.real_iface; 4249 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface;
4240 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) = 4250 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) =
4241 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode); 4251 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode);
4242 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 4252 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info);
4243 } 4253 }
4244 4254
4245 /* End wrapper methods for PPP_ContentDecryptor_Private_0_11 */ 4255 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */
4246 4256
4247 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ 4257 /* Not generating wrapper methods for PPP_Find_Private_0_3 */
4248 4258
4249 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 4259 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
4250 4260
4251 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 4261 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
4252 4262
4253 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 4263 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
4254 4264
4255 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 4265 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
4944 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 4954 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */
4945 4955
4946 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 4956 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
4947 4957
4948 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 4958 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
4949 4959
4950 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 4960 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
4951 4961
4952 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 4962 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
4953 4963
4954 static const struct PPB_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_11 = { 4964 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_12 = {
4955 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struc t PP_Var web_session_id))&Pnacl_M35_PPB_ContentDecryptor_Private_SessionCreated, 4965 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna cl_M36_PPB_ContentDecryptor_Private_PromiseResolved,
4956 .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, 4966 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro miseResolvedWithSession,
4957 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_ M35_PPB_ContentDecryptor_Private_SessionReady, 4967 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, PP_C dmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_descri ption))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected,
4958 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl _M35_PPB_ContentDecryptor_Private_SessionClosed, 4968 .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,
4959 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, uint32_t system_code))&Pnacl_M35_PPB_ContentDecryptor_Private_Sess ionError, 4969 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id ))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady,
4960 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M35_PPB_Conten tDecryptor_Private_DeliverBlock, 4970 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed,
4961 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M35_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 4971 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id , PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_ description))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError,
4962 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 4972 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten tDecryptor_Private_DeliverBlock,
4963 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M35_PPB_ContentDecryptor_Private_Decode rResetDone, 4973 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
4964 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M35_PPB_Conten tDecryptor_Private_DeliverFrame, 4974 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
4965 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M35_PPB_Conte ntDecryptor_Private_DeliverSamples 4975 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode rResetDone,
4976 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten tDecryptor_Private_DeliverFrame,
4977 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte ntDecryptor_Private_DeliverSamples
4966 }; 4978 };
4967 4979
4968 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = { 4980 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = {
4969 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create, 4981 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create,
4970 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile, 4982 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile,
4971 .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, 4983 .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,
4972 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback 4984 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback
4973 }; 4985 };
4974 4986
4975 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = { 4987 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = {
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
5367 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose 5379 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose
5368 }; 5380 };
5369 5381
5370 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi ficate_Private_0_1 = { 5382 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi ficate_Private_0_1 = {
5371 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 5383 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
5372 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 5384 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
5373 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5385 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
5374 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5386 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
5375 }; 5387 };
5376 5388
5377 static const struct PPP_ContentDecryptor_Private_0_11 Pnacl_Wrappers_PPP_Content Decryptor_Private_0_11 = { 5389 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content Decryptor_Private_0_12 = {
5378 .Initialize = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize, 5390 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize,
5379 .CreateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_CreateSession, 5391 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession,
5380 .LoadSession = &Pnacl_M34_PPP_ContentDecryptor_Private_LoadSession, 5392 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession,
5381 .UpdateSession = &Pnacl_M34_PPP_ContentDecryptor_Private_UpdateSession, 5393 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession,
5382 .ReleaseSession = &Pnacl_M34_PPP_ContentDecryptor_Private_ReleaseSession, 5394 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession,
5383 .Decrypt = &Pnacl_M34_PPP_ContentDecryptor_Private_Decrypt, 5395 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt,
5384 .InitializeAudioDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize AudioDecoder, 5396 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize AudioDecoder,
5385 .InitializeVideoDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_Initialize VideoDecoder, 5397 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize VideoDecoder,
5386 .DeinitializeDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_DeinitializeD ecoder, 5398 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD ecoder,
5387 .ResetDecoder = &Pnacl_M34_PPP_ContentDecryptor_Private_ResetDecoder, 5399 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder,
5388 .DecryptAndDecode = &Pnacl_M34_PPP_ContentDecryptor_Private_DecryptAndDecode 5400 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode
5389 }; 5401 };
5390 5402
5391 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ 5403 /* Not generating wrapper interface for PPP_Find_Private_0_3 */
5392 5404
5393 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5405 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
5394 5406
5395 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5407 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
5396 5408
5397 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5409 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
5398 5410
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
5771 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5783 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16,
5772 .real_iface = NULL 5784 .real_iface = NULL
5773 }; 5785 };
5774 5786
5775 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5787 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = {
5776 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5788 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3,
5777 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5789 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3,
5778 .real_iface = NULL 5790 .real_iface = NULL
5779 }; 5791 };
5780 5792
5781 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_11 = { 5793 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_12 = {
5782 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, 5794 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12,
5783 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _11, 5795 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _12,
5784 .real_iface = NULL 5796 .real_iface = NULL
5785 }; 5797 };
5786 5798
5787 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = { 5799 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = {
5788 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, 5800 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1,
5789 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1, 5801 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1,
5790 .real_iface = NULL 5802 .real_iface = NULL
5791 }; 5803 };
5792 5804
5793 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = { 5805 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
6011 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 6023 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1,
6012 .real_iface = NULL 6024 .real_iface = NULL
6013 }; 6025 };
6014 6026
6015 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 6027 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
6016 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 6028 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
6017 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_ 1, 6029 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_ 1,
6018 .real_iface = NULL 6030 .real_iface = NULL
6019 }; 6031 };
6020 6032
6021 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_11 = { 6033 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_12 = {
6022 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_11, 6034 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12,
6023 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0 _11, 6035 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0 _12,
6024 .real_iface = NULL 6036 .real_iface = NULL
6025 }; 6037 };
6026 6038
6027 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 6039 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = {
6028 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 6040 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1,
6029 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 6041 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1,
6030 .real_iface = NULL 6042 .real_iface = NULL
6031 }; 6043 };
6032 6044
6033 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 6045 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
6085 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6097 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
6086 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6098 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
6087 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6099 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
6088 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6100 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
6089 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 6101 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
6090 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 6102 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
6091 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 6103 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
6092 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 6104 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
6093 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 6105 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
6094 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 6106 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
6095 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_11, 6107 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12,
6096 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, 6108 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1,
6097 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 6109 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
6098 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 6110 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
6099 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 6111 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
6100 &Pnacl_WrapperInfo_PPB_Flash_12_4, 6112 &Pnacl_WrapperInfo_PPB_Flash_12_4,
6101 &Pnacl_WrapperInfo_PPB_Flash_12_5, 6113 &Pnacl_WrapperInfo_PPB_Flash_12_5,
6102 &Pnacl_WrapperInfo_PPB_Flash_12_6, 6114 &Pnacl_WrapperInfo_PPB_Flash_12_6,
6103 &Pnacl_WrapperInfo_PPB_Flash_13_0, 6115 &Pnacl_WrapperInfo_PPB_Flash_13_0,
6104 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 6116 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
6105 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 6117 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0,
(...skipping 25 matching lines...) Expand all
6131 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, 6143 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3,
6132 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 6144 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1,
6133 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 6145 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1,
6134 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 6146 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1,
6135 NULL 6147 NULL
6136 }; 6148 };
6137 6149
6138 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 6150 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
6139 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 6151 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
6140 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 6152 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3,
6141 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, 6153 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12,
6142 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 6154 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
6143 NULL 6155 NULL
6144 }; 6156 };
6145 6157
6146 6158
6147 6159
6148 static PPB_GetInterface __real_PPBGetInterface; 6160 static PPB_GetInterface __real_PPBGetInterface;
6149 static PPP_GetInterface_Type __real_PPPGetInterface; 6161 static PPP_GetInterface_Type __real_PPPGetInterface;
6150 6162
6151 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 6163 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
6204 6216
6205 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6217 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6206 if (wrapper->real_iface == NULL) { 6218 if (wrapper->real_iface == NULL) {
6207 const void *iface = (*__real_PPPGetInterface)(name); 6219 const void *iface = (*__real_PPPGetInterface)(name);
6208 if (NULL == iface) return NULL; 6220 if (NULL == iface) return NULL;
6209 wrapper->real_iface = iface; 6221 wrapper->real_iface = iface;
6210 } 6222 }
6211 6223
6212 return wrapper->wrapped_iface; 6224 return wrapper->wrapped_iface;
6213 } 6225 }
OLDNEW
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698