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

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

Issue 11013052: Add PPAPI CDM video decoder initialization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* Last generated from IDL: Thu Oct 4 11:25:54 2012. */ 6 /* Last generated from IDL: Tue Oct 9 12:31:56 2012. */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/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"
11 #include "ppapi/c/dev/ppb_buffer_dev.h" 11 #include "ppapi/c/dev/ppb_buffer_dev.h"
12 #include "ppapi/c/dev/ppb_console_dev.h" 12 #include "ppapi/c/dev/ppb_console_dev.h"
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" 14 #include "ppapi/c/dev/ppb_device_ref_dev.h"
15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
16 #include "ppapi/c/dev/ppb_find_dev.h" 16 #include "ppapi/c/dev/ppb_find_dev.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_3;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
(...skipping 10 matching lines...) Expand all
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2;
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2;
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_3;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
239 /* END Declarations for all Wrapper Infos. */ 239 /* END Declarations for all Wrapper Infos. */
240 240
241 /* Not generating wrapper methods for PPB_Audio_1_0 */ 241 /* Not generating wrapper methods for PPB_Audio_1_0 */
242 242
243 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 243 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
244 244
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */ 1941 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */
1942 1942
1943 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */ 1943 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */
1944 1944
1945 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 1945 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
1946 1946
1947 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 1947 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
1948 1948
1949 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 1949 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
1950 1950
1951 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_2 */ 1951 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_3 */
1952 1952
1953 static __attribute__((pnaclcall)) 1953 static __attribute__((pnaclcall))
1954 void Pnacl_M23_PPB_ContentDecryptor_Private_NeedKey(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data) { 1954 void Pnacl_M24_PPB_ContentDecryptor_Private_NeedKey(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data) {
1955 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1955 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1956 iface->NeedKey(instance, key_system, session_id, init_data); 1956 iface->NeedKey(instance, key_system, session_id, init_data);
1957 } 1957 }
1958 1958
1959 static __attribute__((pnaclcall)) 1959 static __attribute__((pnaclcall))
1960 void Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) { 1960 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) {
1961 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1961 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1962 iface->KeyAdded(instance, key_system, session_id); 1962 iface->KeyAdded(instance, key_system, session_id);
1963 } 1963 }
1964 1964
1965 static __attribute__((pnaclcall)) 1965 static __attribute__((pnaclcall))
1966 void Pnacl_M23_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instance, str uct PP_Var key_system, struct PP_Var session_id, PP_Resource message, struct PP_ Var default_url) { 1966 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instance, str uct PP_Var key_system, struct PP_Var session_id, PP_Resource message, struct PP_ Var default_url) {
1967 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1967 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1968 iface->KeyMessage(instance, key_system, session_id, message, default_url); 1968 iface->KeyMessage(instance, key_system, session_id, message, default_url);
1969 } 1969 }
1970 1970
1971 static __attribute__((pnaclcall)) 1971 static __attribute__((pnaclcall))
1972 void Pnacl_M23_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t syst em_code) { 1972 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t syst em_code) {
1973 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1973 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1974 iface->KeyError(instance, key_system, session_id, media_error, system_code); 1974 iface->KeyError(instance, key_system, session_id, media_error, system_code);
1975 } 1975 }
1976 1976
1977 static __attribute__((pnaclcall)) 1977 static __attribute__((pnaclcall))
1978 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) { 1978 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) {
1979 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1979 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1980 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 1980 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
1981 } 1981 }
1982 1982
1983 static __attribute__((pnaclcall)) 1983 static __attribute__((pnaclcall))
1984 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) { 1984 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderInitialized(PP_Instance insta nce, PP_Bool success, uint32_t request_id) {
1985 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1985 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1986 iface->DecoderInitialized(instance, success, request_id);
1987 }
1988
1989 static __attribute__((pnaclcall))
1990 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) {
1991 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1986 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 1992 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
1987 } 1993 }
1988 1994
1989 static __attribute__((pnaclcall)) 1995 static __attribute__((pnaclcall))
1990 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource decrypted_samples, const struct PP_DecryptedBlockInfo* decrypted_bl ock_info) { 1996 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource decrypted_samples, const struct PP_DecryptedBlockInfo* decrypted_bl ock_info) {
1991 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1997 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1992 iface->DeliverSamples(instance, decrypted_samples, decrypted_block_info); 1998 iface->DeliverSamples(instance, decrypted_samples, decrypted_block_info);
1993 } 1999 }
1994 2000
1995 /* End wrapper methods for PPB_ContentDecryptor_Private_0_2 */ 2001 /* End wrapper methods for PPB_ContentDecryptor_Private_0_3 */
1996 2002
1997 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */ 2003 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */
1998 2004
1999 static __attribute__((pnaclcall)) 2005 static __attribute__((pnaclcall))
2000 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) { 2006 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) {
2001 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface; 2007 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface;
2002 return iface->GetAbsolutePath(file_ref); 2008 return iface->GetAbsolutePath(file_ref);
2003 } 2009 }
2004 2010
2005 /* End wrapper methods for PPB_FileRefPrivate_0_1 */ 2011 /* End wrapper methods for PPB_FileRefPrivate_0_1 */
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
3297 } 3303 }
3298 3304
3299 static __attribute__((pnaclcall)) 3305 static __attribute__((pnaclcall))
3300 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) { 3306 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) {
3301 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3307 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3302 return iface->GetField(resource, field); 3308 return iface->GetField(resource, field);
3303 } 3309 }
3304 3310
3305 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3311 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3306 3312
3307 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_2 */ 3313 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_3 */
3308 3314
3309 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) { 3315 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) {
3310 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3316 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3311 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var key_system, struct PP_Var init_data) = ((void (__attribute__((pnaclcall)) *)(PP _Instance instance, struct PP_Var key_system, struct PP_Var init_data))iface->Ge nerateKeyRequest); 3317 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var key_system, struct PP_Var init_data) = ((void (__attribute__((pnaclcall)) *)(PP _Instance instance, struct PP_Var key_system, struct PP_Var init_data))iface->Ge nerateKeyRequest);
3312 temp_fp(instance, key_system, init_data); 3318 temp_fp(instance, key_system, init_data);
3313 } 3319 }
3314 3320
3315 static void Pnacl_M23_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) { 3321 static void Pnacl_M24_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) {
3316 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3322 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3317 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) = ((void (__attribute__ ((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP_Var k ey, struct PP_Var init_data))iface->AddKey); 3323 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) = ((void (__attribute__ ((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP_Var k ey, struct PP_Var init_data))iface->AddKey);
3318 temp_fp(instance, session_id, key, init_data); 3324 temp_fp(instance, session_id, key, init_data);
3319 } 3325 }
3320 3326
3321 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) { 3327 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) {
3322 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3328 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3323 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, struc t PP_Var session_id))iface->CancelKeyRequest); 3329 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, struc t PP_Var session_id))iface->CancelKeyRequest);
3324 temp_fp(instance, session_id); 3330 temp_fp(instance, session_id);
3325 } 3331 }
3326 3332
3327 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3333 static void Pnacl_M24_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3328 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3334 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3329 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 3335 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
3330 temp_fp(instance, encrypted_block, encrypted_block_info); 3336 temp_fp(instance, encrypted_block, encrypted_block_info);
3331 } 3337 }
3332 3338
3333 static void Pnacl_M23_PPP_ContentDecryptor_Private_DecryptAndDecodeFrame(PP_Inst ance instance, PP_Resource encrypted_video_frame, const struct PP_EncryptedVideo FrameInfo* encrypted_video_frame_info) { 3339 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3334 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3340 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3341 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) = ((void (_ _attribute__((pnaclcall)) *)(PP_Instance instance, const struct PP_VideoDecoderC onfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeVideoDecod er);
3342 temp_fp(instance, decoder_config, codec_extra_data);
3343 }
3344
3345 static void Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecodeFrame(PP_Inst ance instance, PP_Resource encrypted_video_frame, const struct PP_EncryptedVideo FrameInfo* encrypted_video_frame_info) {
3346 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3335 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_video_f rame_info) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Reso urce encrypted_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_v ideo_frame_info))iface->DecryptAndDecodeFrame); 3347 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_video_f rame_info) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Reso urce encrypted_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_v ideo_frame_info))iface->DecryptAndDecodeFrame);
3336 temp_fp(instance, encrypted_video_frame, encrypted_video_frame_info); 3348 temp_fp(instance, encrypted_video_frame, encrypted_video_frame_info);
3337 } 3349 }
3338 3350
3339 /* End wrapper methods for PPP_ContentDecryptor_Private_0_2 */ 3351 /* End wrapper methods for PPP_ContentDecryptor_Private_0_3 */
3340 3352
3341 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3353 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3342 3354
3343 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3355 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3344 3356
3345 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3357 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3346 3358
3347 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3359 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
3348 3360
3349 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) { 3361 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) {
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
3812 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */ 3824 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */
3813 3825
3814 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */ 3826 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */
3815 3827
3816 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 3828 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
3817 3829
3818 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 3830 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
3819 3831
3820 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 3832 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
3821 3833
3822 struct PPB_ContentDecryptor_Private_0_2 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_2 = { 3834 struct PPB_ContentDecryptor_Private_0_3 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_3 = {
3823 .NeedKey = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data))&Pnacl_M23_PPB_ContentDecryptor_Priv ate_NeedKey, 3835 .NeedKey = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data))&Pnacl_M24_PPB_ContentDecryptor_Priv ate_NeedKey,
3824 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded, 3836 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded,
3825 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, PP_Resource message, struct PP_Var default_url))&Pnacl_M23 _PPB_ContentDecryptor_Private_KeyMessage, 3837 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, PP_Resource message, struct PP_Var default_url))&Pnacl_M24 _PPB_ContentDecryptor_Private_KeyMessage,
3826 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M23_PPB_Con tentDecryptor_Private_KeyError, 3838 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M24_PPB_Con tentDecryptor_Private_KeyError,
3827 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverBlock, 3839 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverBlock,
3828 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverFrame, 3840 .DecoderInitialized = (void (*)(PP_Instance instance, PP_Bool success, uint3 2_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private_DecoderInitialized,
3829 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource decrypted_samp les, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Co ntentDecryptor_Private_DeliverSamples 3841 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverFrame,
3842 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource decrypted_samp les, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Co ntentDecryptor_Private_DeliverSamples
3830 }; 3843 };
3831 3844
3832 struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = { 3845 struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = {
3833 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_F ileRefPrivate_GetAbsolutePath 3846 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_F ileRefPrivate_GetAbsolutePath
3834 }; 3847 };
3835 3848
3836 struct PPB_Flash_12_0 Pnacl_Wrappers_PPB_Flash_12_0 = { 3849 struct PPB_Flash_12_0 Pnacl_Wrappers_PPB_Flash_12_0 = {
3837 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&P nacl_M17_PPB_Flash_SetInstanceAlwaysOnTop, 3850 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&P nacl_M17_PPB_Flash_SetInstanceAlwaysOnTop,
3838 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_FontDescription_Dev* font_desc, uint32_t color, const struct PP_ Point* position, const struct PP_Rect* clip, const float transformation[3][3], P P_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M17_PPB_Flash_DrawGlyphs, 3851 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_FontDescription_Dev* font_desc, uint32_t color, const struct PP_ Point* position, const struct PP_Rect* clip, const float transformation[3][3], P P_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M17_PPB_Flash_DrawGlyphs,
3839 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url)) &Pnacl_M17_PPB_Flash_GetProxyForURL, 3852 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url)) &Pnacl_M17_PPB_Flash_GetProxyForURL,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
4107 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close 4120 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close
4108 }; 4121 };
4109 4122
4110 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = { 4123 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = {
4111 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 4124 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
4112 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 4125 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
4113 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 4126 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
4114 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 4127 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
4115 }; 4128 };
4116 4129
4117 struct PPP_ContentDecryptor_Private_0_2 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_2 = { 4130 struct PPP_ContentDecryptor_Private_0_3 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_3 = {
4118 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey Request, 4131 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKey Request,
4119 .AddKey = (void (*)(PP_Instance instance, struct PP_Var session_id, struct P P_Var key, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_AddK ey, 4132 .AddKey = (void (*)(PP_Instance instance, struct PP_Var session_id, struct P P_Var key, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_AddK ey,
4120 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest, 4133 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest,
4121 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr yptor_Private_Decrypt, 4134 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M24_PPP_ContentDecr yptor_Private_Decrypt,
4122 .DecryptAndDecodeFrame = (void (*)(PP_Instance instance, PP_Resource encrypt ed_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_video_frame_i nfo))&Pnacl_M23_PPP_ContentDecryptor_Private_DecryptAndDecodeFrame 4135 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C ontentDecryptor_Private_InitializeVideoDecoder,
4136 .DecryptAndDecodeFrame = (void (*)(PP_Instance instance, PP_Resource encrypt ed_video_frame, const struct PP_EncryptedVideoFrameInfo* encrypted_video_frame_i nfo))&Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecodeFrame
4123 }; 4137 };
4124 4138
4125 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 4139 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
4126 4140
4127 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 4141 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
4128 4142
4129 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 4143 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
4130 4144
4131 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 4145 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = {
4132 .GetInstanceObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M18_PPP _Instance_Private_GetInstanceObject 4146 .GetInstanceObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M18_PPP _Instance_Private_GetInstanceObject
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
4665 .wrapped_iface = NULL /* Still need slot for real_iface */, 4679 .wrapped_iface = NULL /* Still need slot for real_iface */,
4666 .real_iface = NULL 4680 .real_iface = NULL
4667 }; 4681 };
4668 4682
4669 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = { 4683 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = {
4670 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3, 4684 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3,
4671 .wrapped_iface = NULL /* Still need slot for real_iface */, 4685 .wrapped_iface = NULL /* Still need slot for real_iface */,
4672 .real_iface = NULL 4686 .real_iface = NULL
4673 }; 4687 };
4674 4688
4675 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2 = { 4689 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_3 = {
4676 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_2, 4690 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_3,
4677 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_2, 4691 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_3,
4678 .real_iface = NULL 4692 .real_iface = NULL
4679 }; 4693 };
4680 4694
4681 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = { 4695 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = {
4682 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1, 4696 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1,
4683 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1, 4697 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1,
4684 .real_iface = NULL 4698 .real_iface = NULL
4685 }; 4699 };
4686 4700
4687 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = { 4701 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
4851 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 4865 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4,
4852 .real_iface = NULL 4866 .real_iface = NULL
4853 }; 4867 };
4854 4868
4855 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 4869 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
4856 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 4870 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
4857 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 4871 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
4858 .real_iface = NULL 4872 .real_iface = NULL
4859 }; 4873 };
4860 4874
4861 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2 = { 4875 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_3 = {
4862 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_2, 4876 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_3,
4863 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_2, 4877 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_3,
4864 .real_iface = NULL 4878 .real_iface = NULL
4865 }; 4879 };
4866 4880
4867 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = { 4881 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = {
4868 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0, 4882 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0,
4869 .wrapped_iface = NULL /* Still need slot for real_iface */, 4883 .wrapped_iface = NULL /* Still need slot for real_iface */,
4870 .real_iface = NULL 4884 .real_iface = NULL
4871 }; 4885 };
4872 4886
4873 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = { 4887 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
4958 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 4972 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
4959 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 4973 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
4960 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 4974 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
4961 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, 4975 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1,
4962 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 4976 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
4963 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 4977 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
4964 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 4978 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
4965 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 4979 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
4966 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 4980 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
4967 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 4981 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
4968 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_2, 4982 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_3,
4969 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 4983 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
4970 &Pnacl_WrapperInfo_PPB_Flash_12_0, 4984 &Pnacl_WrapperInfo_PPB_Flash_12_0,
4971 &Pnacl_WrapperInfo_PPB_Flash_12_1, 4985 &Pnacl_WrapperInfo_PPB_Flash_12_1,
4972 &Pnacl_WrapperInfo_PPB_Flash_12_2, 4986 &Pnacl_WrapperInfo_PPB_Flash_12_2,
4973 &Pnacl_WrapperInfo_PPB_Flash_12_3, 4987 &Pnacl_WrapperInfo_PPB_Flash_12_3,
4974 &Pnacl_WrapperInfo_PPB_Flash_12_4, 4988 &Pnacl_WrapperInfo_PPB_Flash_12_4,
4975 &Pnacl_WrapperInfo_PPB_Flash_12_5, 4989 &Pnacl_WrapperInfo_PPB_Flash_12_5,
4976 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, 4990 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0,
4977 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 4991 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
4978 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 4992 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
(...skipping 28 matching lines...) Expand all
5007 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5021 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5008 &Pnacl_WrapperInfo_PPP_MouseLock_1_0, 5022 &Pnacl_WrapperInfo_PPP_MouseLock_1_0,
5009 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6, 5023 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6,
5010 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1, 5024 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1,
5011 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1, 5025 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1,
5012 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9, 5026 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9,
5013 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10, 5027 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10,
5014 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11, 5028 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11,
5015 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2, 5029 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2,
5016 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3, 5030 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3,
5017 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_2, 5031 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_3,
5018 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0, 5032 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0,
5019 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2, 5033 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2,
5020 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3, 5034 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3,
5021 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5035 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
5022 NULL 5036 NULL
5023 }; 5037 };
5024 5038
5025 5039
5026 5040
5027 static PPB_GetInterface __real_PPBGetInterface; 5041 static PPB_GetInterface __real_PPBGetInterface;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5093 } 5107 }
5094 5108
5095 if (wrapper->wrapped_iface) { 5109 if (wrapper->wrapped_iface) {
5096 return wrapper->wrapped_iface; 5110 return wrapper->wrapped_iface;
5097 } else { 5111 } else {
5098 return wrapper->real_iface; 5112 return wrapper->real_iface;
5099 } 5113 }
5100 } 5114 }
5101 5115
5102 #endif 5116 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698