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

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

Issue 811923002: Changes to support CDM_7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cdm_7 changes Created 6 years 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
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_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_12; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_13;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0;
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0;
(...skipping 20 matching lines...) Expand all
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_12; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_13;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
211 /* END Declarations for all Wrapper Infos. */ 211 /* END Declarations for all Wrapper Infos. */
212 212
213 /* Not generating wrapper methods for PPB_Audio_1_0 */ 213 /* Not generating wrapper methods for PPB_Audio_1_0 */
214 214
215 /* Not generating wrapper methods for PPB_Audio_1_1 */ 215 /* Not generating wrapper methods for PPB_Audio_1_1 */
216 216
217 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ 217 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */
218 218
219 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 219 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
(...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after
2875 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2875 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
2876 2876
2877 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2877 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
2878 2878
2879 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2879 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
2880 2880
2881 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2881 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
2882 2882
2883 /* Not generating wrapper methods for PPB_CameraCapabilities_Private_0_1 */ 2883 /* Not generating wrapper methods for PPB_CameraCapabilities_Private_0_1 */
2884 2884
2885 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */ 2885 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_13 */
2886 2886
2887 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i nstance, uint32_t promise_id) { 2887 static void Pnacl_M41_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i nstance, uint32_t promise_id) {
2888 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2888 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2889 iface->PromiseResolved(instance, promise_id); 2889 iface->PromiseResolved(instance, promise_id);
2890 } 2890 }
2891 2891
2892 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP _Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { 2892 static void Pnacl_M41_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP _Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) {
2893 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2893 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2894 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); 2894 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id);
2895 } 2895 }
2896 2896
2897 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithKeyIds(PP_ Instance instance, uint32_t promise_id, struct PP_Var* key_ids_array) { 2897 static void Pnacl_M41_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) {
2898 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2898 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2899 iface->PromiseResolvedWithKeyIds(instance, promise_id, *key_ids_array);
2900 }
2901
2902 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) {
2903 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2904 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err or_description); 2899 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err or_description);
2905 } 2900 }
2906 2901
2907 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) { 2902 static void Pnacl_M41_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in stance, struct PP_Var* web_session_id, PP_MessageType message_type, struct PP_Va r* message) {
2908 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2903 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2909 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); 2904 iface->SessionMessage(instance, *web_session_id, message_type, *message);
2910 } 2905 }
2911 2906
2912 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionKeysChange(PP_Instance instance, struct PP_Var* web_session_id, PP_Bool has_additional_usable_key) { 2907 static void Pnacl_M41_PPB_ContentDecryptor_Private_SessionKeysChange(PP_Instance instance, struct PP_Var* web_session_id, PP_Bool has_additional_usable_key, str uct PP_Var* key_information_array) {
2913 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2908 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2914 iface->SessionKeysChange(instance, *web_session_id, has_additional_usable_key) ; 2909 iface->SessionKeysChange(instance, *web_session_id, has_additional_usable_key, *key_information_array);
2915 } 2910 }
2916 2911
2917 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionExpirationChange(PP_In stance instance, struct PP_Var* web_session_id, PP_Time new_expiry_time) { 2912 static void Pnacl_M41_PPB_ContentDecryptor_Private_SessionExpirationChange(PP_In stance instance, struct PP_Var* web_session_id, PP_Time new_expiry_time) {
2918 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2913 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2919 iface->SessionExpirationChange(instance, *web_session_id, new_expiry_time); 2914 iface->SessionExpirationChange(instance, *web_session_id, new_expiry_time);
2920 } 2915 }
2921 2916
2922 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst ance, struct PP_Var* web_session_id) { 2917 static void Pnacl_M41_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, struct PP_Var* web_session_id) {
2923 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2918 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2924 iface->SessionReady(instance, *web_session_id);
2925 }
2926
2927 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins tance, struct PP_Var* web_session_id) {
2928 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface;
2929 iface->SessionClosed(instance, *web_session_id); 2919 iface->SessionClosed(instance, *web_session_id);
2930 } 2920 }
2931 2921
2932 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) { 2922 static void Pnacl_M41_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) {
2933 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2923 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2934 iface->SessionError(instance, *web_session_id, exception_code, system_code, *e rror_description); 2924 iface->SessionError(instance, *web_session_id, exception_code, system_code, *e rror_description);
2935 } 2925 }
2936 2926
2937 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) { 2927 static void Pnacl_M41_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance inst ance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted _block_info) {
2938 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2928 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2939 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2929 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
2940 } 2930 }
2941 2931
2942 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2932 static void Pnacl_M41_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Inst ance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) {
2943 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2933 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2944 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2934 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
2945 } 2935 }
2946 2936
2947 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2937 static void Pnacl_M41_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_In stance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2948 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2938 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2949 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2939 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2950 } 2940 }
2951 2941
2952 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2942 static void Pnacl_M41_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2953 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2943 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2954 iface->DecoderResetDone(instance, decoder_type, request_id); 2944 iface->DecoderResetDone(instance, decoder_type, request_id);
2955 } 2945 }
2956 2946
2957 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) { 2947 static void Pnacl_M41_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted _frame_info) {
2958 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2948 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2959 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2949 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2960 } 2950 }
2961 2951
2962 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) { 2952 static void Pnacl_M41_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted _sample_info) {
2963 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_12.real_iface; 2953 const struct PPB_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPB_ ContentDecryptor_Private_0_13.real_iface;
2964 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2954 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info);
2965 } 2955 }
2966 2956
2967 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */ 2957 /* End wrapper methods for PPB_ContentDecryptor_Private_0_13 */
2968 2958
2969 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ 2959 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */
2970 2960
2971 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) { 2961 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) {
2972 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2962 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
2973 return iface->Create(instance); 2963 return iface->Create(instance);
2974 } 2964 }
2975 2965
2976 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) { 2966 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(P P_Resource resource) {
2977 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface; 2967 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PP B_DisplayColorProfile_Private_0_1.real_iface;
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
4540 return iface->Initialize(resource, bytes, length); 4530 return iface->Initialize(resource, bytes, length);
4541 } 4531 }
4542 4532
4543 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 4533 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) {
4544 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 4534 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
4545 *_struct_result = iface->GetField(resource, field); 4535 *_struct_result = iface->GetField(resource, field);
4546 } 4536 }
4547 4537
4548 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 4538 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
4549 4539
4550 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ 4540 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_13 */
4551 4541
4552 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) { 4542 static void Pnacl_M41_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan ce, struct PP_Var key_system) {
4553 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4543 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4554 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = 4544 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) =
4555 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e); 4545 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ e);
4556 temp_fp(instance, &key_system); 4546 temp_fp(instance, &key_system);
4557 } 4547 }
4558 4548
4559 static void Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta nce instance, uint32_t promise_id, struct PP_Var server_certificate) { 4549 static void Pnacl_M41_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta nce instance, uint32_t promise_id, struct PP_Var server_certificate) {
4560 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4550 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4561 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv er_certificate) = 4551 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv er_certificate) =
4562 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_ certificate))iface->SetServerCertificate); 4552 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_ certificate))iface->SetServerCertificate);
4563 temp_fp(instance, promise_id, &server_certificate); 4553 temp_fp(instance, promise_id, &server_certificate);
4564 } 4554 }
4565 4555
4566 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) { 4556 static void Pnacl_M41_PPP_ContentDecryptor_Private_CreateSessionAndGenerateReque st(PP_Instance instance, uint32_t promise_id, PP_SessionType session_type, struc t PP_Var init_data_type, struct PP_Var init_data) {
4567 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4557 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4568 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) = 4558 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess ion_type, struct PP_Var* init_data_type, struct PP_Var* init_data) =
4569 ((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); 4559 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session _type, struct PP_Var* init_data_type, struct PP_Var* init_data))iface->CreateSes sionAndGenerateRequest);
4570 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); 4560 temp_fp(instance, promise_id, session_type, &init_data_type, &init_data);
4571 } 4561 }
4572 4562
4573 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta nce, uint32_t promise_id, struct PP_Var web_session_id) { 4563 static void Pnacl_M41_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta nce, uint32_t promise_id, PP_SessionType session_type, struct PP_Var web_session _id) {
4574 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4564 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4575 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) = 4565 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess ion_type, struct PP_Var* web_session_id) =
4576 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->LoadSession); 4566 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session _type, struct PP_Var* web_session_id))iface->LoadSession);
4577 temp_fp(instance, promise_id, &web_session_id); 4567 temp_fp(instance, promise_id, session_type, &web_session_id);
4578 } 4568 }
4579 4569
4580 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 ) { 4570 static void Pnacl_M41_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins tance, uint32_t promise_id, struct PP_Var web_session_id, struct PP_Var response ) {
4581 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4571 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4582 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id, struct PP_Var* response) = 4572 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id, struct PP_Var* response) =
4583 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id, struct PP_Var* response))iface->UpdateSession); 4573 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id, struct PP_Var* response))iface->UpdateSession);
4584 temp_fp(instance, promise_id, &web_session_id, &response); 4574 temp_fp(instance, promise_id, &web_session_id, &response);
4585 } 4575 }
4586 4576
4587 static void Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst ance, uint32_t promise_id, struct PP_Var web_session_id) { 4577 static void Pnacl_M41_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst ance, uint32_t promise_id, struct PP_Var web_session_id) {
4588 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4578 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4589 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) = 4579 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) =
4590 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->CloseSession); 4580 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->CloseSession);
4591 temp_fp(instance, promise_id, &web_session_id); 4581 temp_fp(instance, promise_id, &web_session_id);
4592 } 4582 }
4593 4583
4594 static void Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins tance, uint32_t promise_id, struct PP_Var web_session_id) { 4584 static void Pnacl_M41_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins tance, uint32_t promise_id, struct PP_Var web_session_id) {
4595 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4585 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4596 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) = 4586 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) =
4597 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->RemoveSession); 4587 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->RemoveSession);
4598 temp_fp(instance, promise_id, &web_session_id); 4588 temp_fp(instance, promise_id, &web_session_id);
4599 } 4589 }
4600 4590
4601 static void Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds(PP_Instance i nstance, uint32_t promise_id, struct PP_Var web_session_id) { 4591 static void Pnacl_M41_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
4602 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4592 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4603 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ session_id) =
4604 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses sion_id))iface->GetUsableKeyIds);
4605 temp_fp(instance, promise_id, &web_session_id);
4606 }
4607
4608 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
4609 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface;
4610 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) = 4593 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc t PP_EncryptedBlockInfo* encrypted_block_info) =
4611 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 4594 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
4612 temp_fp(instance, encrypted_block, encrypted_block_info); 4595 temp_fp(instance, encrypted_block, encrypted_block_info);
4613 } 4596 }
4614 4597
4615 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4598 static void Pnacl_M41_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
4616 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4599 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4617 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 4600 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
4618 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 4601 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder);
4619 temp_fp(instance, decoder_config, codec_extra_data); 4602 temp_fp(instance, decoder_config, codec_extra_data);
4620 } 4603 }
4621 4604
4622 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4605 static void Pnacl_M41_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
4623 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4606 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4624 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) = 4607 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco der_config, PP_Resource codec_extra_data) =
4625 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 4608 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder _config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder);
4626 temp_fp(instance, decoder_config, codec_extra_data); 4609 temp_fp(instance, decoder_config, codec_extra_data);
4627 } 4610 }
4628 4611
4629 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4612 static void Pnacl_M41_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
4630 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4613 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4631 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 4614 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
4632 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder); 4615 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->DeinitializeDecoder);
4633 temp_fp(instance, decoder_type, request_id); 4616 temp_fp(instance, decoder_type, request_id);
4634 } 4617 }
4635 4618
4636 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4619 static void Pnacl_M41_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
4637 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4620 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4638 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) = 4621 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin t32_t request_id) =
4639 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder); 4622 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32 _t request_id))iface->ResetDecoder);
4640 temp_fp(instance, decoder_type, request_id); 4623 temp_fp(instance, decoder_type, request_id);
4641 } 4624 }
4642 4625
4643 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) { 4626 static void Pnacl_M41_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) {
4644 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_12.real_iface; 4627 const struct PPP_ContentDecryptor_Private_0_13 *iface = Pnacl_WrapperInfo_PPP_ ContentDecryptor_Private_0_13.real_iface;
4645 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) = 4628 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_ Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i nfo) =
4646 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode); 4629 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info ))iface->DecryptAndDecode);
4647 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 4630 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info);
4648 } 4631 }
4649 4632
4650 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */ 4633 /* End wrapper methods for PPP_ContentDecryptor_Private_0_13 */
4651 4634
4652 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ 4635 /* Not generating wrapper methods for PPP_Find_Private_0_3 */
4653 4636
4654 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 4637 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
4655 4638
4656 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 4639 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
4657 4640
4658 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 4641 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
4659 4642
4660 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 4643 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
5446 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 5429 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
5447 5430
5448 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 5431 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
5449 5432
5450 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 5433 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
5451 5434
5452 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 5435 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
5453 5436
5454 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ 5437 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */
5455 5438
5456 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_12 = { 5439 static const struct PPB_ContentDecryptor_Private_0_13 Pnacl_Wrappers_PPB_Content Decryptor_Private_0_13 = {
5457 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, 5440 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna cl_M41_PPB_ContentDecryptor_Private_PromiseResolved,
5458 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro miseResolvedWithSession, 5441 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi se_id, struct PP_Var web_session_id))&Pnacl_M41_PPB_ContentDecryptor_Private_Pro miseResolvedWithSession,
5459 .PromiseResolvedWithKeyIds = (void (*)(PP_Instance instance, uint32_t promis e_id, struct PP_Var key_ids_array))&Pnacl_M36_PPB_ContentDecryptor_Private_Promi seResolvedWithKeyIds, 5442 .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_M41_PPB_ContentDecryptor_Private_PromiseRejected,
5460 .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, 5443 .SessionMessage = (void (*)(PP_Instance instance, struct PP_Var web_session_ id, PP_MessageType message_type, struct PP_Var message))&Pnacl_M41_PPB_ContentDe cryptor_Private_SessionMessage,
5461 .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, 5444 .SessionKeysChange = (void (*)(PP_Instance instance, struct PP_Var web_sessi on_id, PP_Bool has_additional_usable_key, struct PP_Var key_information_array))& Pnacl_M41_PPB_ContentDecryptor_Private_SessionKeysChange,
5462 .SessionKeysChange = (void (*)(PP_Instance instance, struct PP_Var web_sessi on_id, PP_Bool has_additional_usable_key))&Pnacl_M36_PPB_ContentDecryptor_Privat e_SessionKeysChange, 5445 .SessionExpirationChange = (void (*)(PP_Instance instance, struct PP_Var web _session_id, PP_Time new_expiry_time))&Pnacl_M41_PPB_ContentDecryptor_Private_Se ssionExpirationChange,
5463 .SessionExpirationChange = (void (*)(PP_Instance instance, struct PP_Var web _session_id, PP_Time new_expiry_time))&Pnacl_M36_PPB_ContentDecryptor_Private_Se ssionExpirationChange, 5446 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i d))&Pnacl_M41_PPB_ContentDecryptor_Private_SessionClosed,
5464 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id ))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, 5447 .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_M41_PPB_ContentDecryptor_Private_SessionError,
5465 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, 5448 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M41_PPB_Conten tDecryptor_Private_DeliverBlock,
5466 .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, 5449 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M41_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
5467 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten tDecryptor_Private_DeliverBlock, 5450 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M41_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
5468 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 5451 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M41_PPB_ContentDecryptor_Private_Decode rResetDone,
5469 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 5452 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M41_PPB_Conten tDecryptor_Private_DeliverFrame,
5470 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode rResetDone, 5453 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M41_PPB_Conte ntDecryptor_Private_DeliverSamples
5471 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten tDecryptor_Private_DeliverFrame,
5472 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte ntDecryptor_Private_DeliverSamples
5473 }; 5454 };
5474 5455
5475 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = { 5456 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_Displ ayColorProfile_Private_0_1 = {
5476 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create, 5457 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColor Profile_Private_Create,
5477 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile, 5458 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_D isplayColorProfile_Private_IsDisplayColorProfile,
5478 .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, 5459 .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,
5479 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback 5460 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color _profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColor Profile_Private_RegisterColorProfileChangeCallback
5480 }; 5461 };
5481 5462
5482 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = { 5463 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_Crx FileSystem_Private_0_1 = {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
5882 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose 5863 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl ose
5883 }; 5864 };
5884 5865
5885 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi ficate_Private_0_1 = { 5866 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi ficate_Private_0_1 = {
5886 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 5867 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
5887 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 5868 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
5888 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5869 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
5889 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5870 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
5890 }; 5871 };
5891 5872
5892 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content Decryptor_Private_0_12 = { 5873 static const struct PPP_ContentDecryptor_Private_0_13 Pnacl_Wrappers_PPP_Content Decryptor_Private_0_13 = {
5893 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, 5874 .Initialize = &Pnacl_M41_PPP_ContentDecryptor_Private_Initialize,
5894 .SetServerCertificate = &Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCer tificate, 5875 .SetServerCertificate = &Pnacl_M41_PPP_ContentDecryptor_Private_SetServerCer tificate,
5895 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, 5876 .CreateSessionAndGenerateRequest = &Pnacl_M41_PPP_ContentDecryptor_Private_C reateSessionAndGenerateRequest,
5896 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, 5877 .LoadSession = &Pnacl_M41_PPP_ContentDecryptor_Private_LoadSession,
5897 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, 5878 .UpdateSession = &Pnacl_M41_PPP_ContentDecryptor_Private_UpdateSession,
5898 .CloseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession, 5879 .CloseSession = &Pnacl_M41_PPP_ContentDecryptor_Private_CloseSession,
5899 .RemoveSession = &Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession, 5880 .RemoveSession = &Pnacl_M41_PPP_ContentDecryptor_Private_RemoveSession,
5900 .GetUsableKeyIds = &Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds, 5881 .Decrypt = &Pnacl_M41_PPP_ContentDecryptor_Private_Decrypt,
5901 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, 5882 .InitializeAudioDecoder = &Pnacl_M41_PPP_ContentDecryptor_Private_Initialize AudioDecoder,
5902 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize AudioDecoder, 5883 .InitializeVideoDecoder = &Pnacl_M41_PPP_ContentDecryptor_Private_Initialize VideoDecoder,
5903 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize VideoDecoder, 5884 .DeinitializeDecoder = &Pnacl_M41_PPP_ContentDecryptor_Private_DeinitializeD ecoder,
5904 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD ecoder, 5885 .ResetDecoder = &Pnacl_M41_PPP_ContentDecryptor_Private_ResetDecoder,
5905 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, 5886 .DecryptAndDecode = &Pnacl_M41_PPP_ContentDecryptor_Private_DecryptAndDecode
5906 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode
5907 }; 5887 };
5908 5888
5909 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ 5889 /* Not generating wrapper interface for PPP_Find_Private_0_3 */
5910 5890
5911 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5891 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
5912 5892
5913 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5893 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
5914 5894
5915 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5895 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
5916 5896
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
6327 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 6307 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16,
6328 .real_iface = NULL 6308 .real_iface = NULL
6329 }; 6309 };
6330 6310
6331 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 6311 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = {
6332 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 6312 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3,
6333 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 6313 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3,
6334 .real_iface = NULL 6314 .real_iface = NULL
6335 }; 6315 };
6336 6316
6337 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_12 = { 6317 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_13 = {
6338 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, 6318 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_13,
6339 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _12, 6319 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0 _13,
6340 .real_iface = NULL 6320 .real_iface = NULL
6341 }; 6321 };
6342 6322
6343 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = { 6323 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva te_0_1 = {
6344 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, 6324 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1,
6345 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1, 6325 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Privat e_0_1,
6346 .real_iface = NULL 6326 .real_iface = NULL
6347 }; 6327 };
6348 6328
6349 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = { 6329 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1 = {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
6573 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 6553 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1,
6574 .real_iface = NULL 6554 .real_iface = NULL
6575 }; 6555 };
6576 6556
6577 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 6557 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
6578 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 6558 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
6579 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_ 1, 6559 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_ 1,
6580 .real_iface = NULL 6560 .real_iface = NULL
6581 }; 6561 };
6582 6562
6583 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_12 = { 6563 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_13 = {
6584 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, 6564 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_13,
6585 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0 _12, 6565 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0 _13,
6586 .real_iface = NULL 6566 .real_iface = NULL
6587 }; 6567 };
6588 6568
6589 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 6569 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = {
6590 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 6570 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1,
6591 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 6571 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1,
6592 .real_iface = NULL 6572 .real_iface = NULL
6593 }; 6573 };
6594 6574
6595 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 6575 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
6653 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6633 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
6654 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6634 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
6655 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6635 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
6656 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6636 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
6657 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 6637 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
6658 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 6638 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
6659 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 6639 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
6660 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 6640 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
6661 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 6641 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
6662 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 6642 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
6663 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12, 6643 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_13,
6664 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, 6644 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1,
6665 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 6645 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
6666 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 6646 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
6667 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 6647 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
6668 &Pnacl_WrapperInfo_PPB_Flash_12_4, 6648 &Pnacl_WrapperInfo_PPB_Flash_12_4,
6669 &Pnacl_WrapperInfo_PPB_Flash_12_5, 6649 &Pnacl_WrapperInfo_PPB_Flash_12_5,
6670 &Pnacl_WrapperInfo_PPB_Flash_12_6, 6650 &Pnacl_WrapperInfo_PPB_Flash_12_6,
6671 &Pnacl_WrapperInfo_PPB_Flash_13_0, 6651 &Pnacl_WrapperInfo_PPB_Flash_13_0,
6672 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 6652 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
6673 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 6653 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0,
(...skipping 26 matching lines...) Expand all
6700 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, 6680 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3,
6701 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 6681 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1,
6702 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 6682 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1,
6703 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 6683 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1,
6704 NULL 6684 NULL
6705 }; 6685 };
6706 6686
6707 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 6687 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
6708 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 6688 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
6709 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 6689 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3,
6710 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12, 6690 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_13,
6711 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 6691 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
6712 NULL 6692 NULL
6713 }; 6693 };
6714 6694
6715 6695
6716 6696
6717 static PPB_GetInterface __real_PPBGetInterface; 6697 static PPB_GetInterface __real_PPBGetInterface;
6718 static PPP_GetInterface_Type __real_PPPGetInterface; 6698 static PPP_GetInterface_Type __real_PPPGetInterface;
6719 6699
6720 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 6700 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
6773 6753
6774 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6754 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6775 if (wrapper->real_iface == NULL) { 6755 if (wrapper->real_iface == NULL) {
6776 const void *iface = (*__real_PPPGetInterface)(name); 6756 const void *iface = (*__real_PPPGetInterface)(name);
6777 if (NULL == iface) return NULL; 6757 if (NULL == iface) return NULL;
6778 wrapper->real_iface = iface; 6758 wrapper->real_iface = iface;
6779 } 6759 }
6780 6760
6781 return wrapper->wrapped_iface; 6761 return wrapper->wrapped_iface;
6782 } 6762 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698