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

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: Decoder init, first pass. 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 12:24:28 2012. */ 6 /* Last generated from IDL: Sat Oct 6 16:36:46 2012. */
xhwang 2012/10/08 17:16:13 Oh my, I am overwhelmed by the change in this file
Tom Finegan 2012/10/08 23:23:27 Merging and rebasing this file is even more fun th
xhwang 2012/10/09 00:49:08 ;) Good luck and thanks for the effort!
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_3;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
(...skipping 11 matching lines...) Expand all
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_3;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2;
239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3;
240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
241 /* END Declarations for all Wrapper Infos. */ 241 /* END Declarations for all Wrapper Infos. */
242 242
243 /* Not generating wrapper methods for PPB_Audio_1_0 */ 243 /* Not generating wrapper methods for PPB_Audio_1_0 */
244 244
245 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 245 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
246 246
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */ 1943 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */
1944 1944
1945 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */ 1945 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */
1946 1946
1947 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 1947 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
1948 1948
1949 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 1949 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
1950 1950
1951 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 1951 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
1952 1952
1953 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_2 */ 1953 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_3 */
1954 1954
1955 static __attribute__((pnaclcall)) 1955 static __attribute__((pnaclcall))
1956 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) { 1956 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) {
1957 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1957 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1958 iface->NeedKey(instance, key_system, session_id, init_data); 1958 iface->NeedKey(instance, key_system, session_id, init_data);
1959 } 1959 }
1960 1960
1961 static __attribute__((pnaclcall)) 1961 static __attribute__((pnaclcall))
1962 void Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) { 1962 void Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) {
1963 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1963 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1964 iface->KeyAdded(instance, key_system, session_id); 1964 iface->KeyAdded(instance, key_system, session_id);
1965 } 1965 }
1966 1966
1967 static __attribute__((pnaclcall)) 1967 static __attribute__((pnaclcall))
1968 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) { 1968 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) {
1969 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1969 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1970 iface->KeyMessage(instance, key_system, session_id, message, default_url); 1970 iface->KeyMessage(instance, key_system, session_id, message, default_url);
1971 } 1971 }
1972 1972
1973 static __attribute__((pnaclcall)) 1973 static __attribute__((pnaclcall))
1974 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) { 1974 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) {
1975 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1975 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1976 iface->KeyError(instance, key_system, session_id, media_error, system_code); 1976 iface->KeyError(instance, key_system, session_id, media_error, system_code);
1977 } 1977 }
1978 1978
1979 static __attribute__((pnaclcall)) 1979 static __attribute__((pnaclcall))
1980 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) { 1980 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) {
1981 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1981 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1982 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 1982 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
1983 } 1983 }
1984 1984
1985 static __attribute__((pnaclcall)) 1985 static __attribute__((pnaclcall))
1986 void Pnacl_M23_PPB_ContentDecryptor_Private_DecoderInitializeStatus(PP_Instance instance, PP_Bool success, uint32_t request_id) {
1987 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1988 iface->DecoderInitializeStatus(instance, success, request_id);
1989 }
1990
1991 static __attribute__((pnaclcall))
1986 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) { 1992 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) {
1987 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1993 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1988 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 1994 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
1989 } 1995 }
1990 1996
1991 static __attribute__((pnaclcall)) 1997 static __attribute__((pnaclcall))
1992 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource decrypted_samples, const struct PP_DecryptedBlockInfo* decrypted_bl ock_info) { 1998 void Pnacl_M23_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource decrypted_samples, const struct PP_DecryptedBlockInfo* decrypted_bl ock_info) {
1993 const struct PPB_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_2.real_iface; 1999 const struct PPB_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_3.real_iface;
1994 iface->DeliverSamples(instance, decrypted_samples, decrypted_block_info); 2000 iface->DeliverSamples(instance, decrypted_samples, decrypted_block_info);
1995 } 2001 }
1996 2002
1997 /* End wrapper methods for PPB_ContentDecryptor_Private_0_2 */ 2003 /* End wrapper methods for PPB_ContentDecryptor_Private_0_3 */
1998 2004
1999 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */ 2005 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */
2000 2006
2001 static __attribute__((pnaclcall)) 2007 static __attribute__((pnaclcall))
2002 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) { 2008 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) {
2003 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface; 2009 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface;
2004 return iface->GetAbsolutePath(file_ref); 2010 return iface->GetAbsolutePath(file_ref);
2005 } 2011 }
2006 2012
2007 /* End wrapper methods for PPB_FileRefPrivate_0_1 */ 2013 /* End wrapper methods for PPB_FileRefPrivate_0_1 */
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after
3321 } 3327 }
3322 3328
3323 static __attribute__((pnaclcall)) 3329 static __attribute__((pnaclcall))
3324 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) { 3330 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) {
3325 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3331 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3326 return iface->GetField(resource, field); 3332 return iface->GetField(resource, field);
3327 } 3333 }
3328 3334
3329 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3335 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3330 3336
3331 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_2 */ 3337 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_3 */
3332 3338
3333 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) { 3339 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_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;
3335 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); 3341 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);
3336 temp_fp(instance, key_system, init_data); 3342 temp_fp(instance, key_system, init_data);
3337 } 3343 }
3338 3344
3339 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) { 3345 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) {
3340 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3346 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, 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); 3347 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);
3342 temp_fp(instance, session_id, key, init_data); 3348 temp_fp(instance, session_id, key, init_data);
3343 } 3349 }
3344 3350
3345 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) { 3351 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) {
3346 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3352 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3347 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); 3353 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);
3348 temp_fp(instance, session_id); 3354 temp_fp(instance, session_id);
3349 } 3355 }
3350 3356
3351 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3357 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3352 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3358 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3353 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); 3359 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);
3354 temp_fp(instance, encrypted_block, encrypted_block_info); 3360 temp_fp(instance, encrypted_block, encrypted_block_info);
3355 } 3361 }
3356 3362
3363 static void Pnacl_M23_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3364 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3365 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);
3366 temp_fp(instance, decoder_config, codec_extra_data);
3367 }
3368
3357 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) { 3369 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) {
3358 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface; 3370 const struct PPP_ContentDecryptor_Private_0_3 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_3.real_iface;
3359 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); 3371 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);
3360 temp_fp(instance, encrypted_video_frame, encrypted_video_frame_info); 3372 temp_fp(instance, encrypted_video_frame, encrypted_video_frame_info);
3361 } 3373 }
3362 3374
3363 /* End wrapper methods for PPP_ContentDecryptor_Private_0_2 */ 3375 /* End wrapper methods for PPP_ContentDecryptor_Private_0_3 */
3364 3376
3365 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3377 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3366 3378
3367 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3379 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3368 3380
3369 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3381 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3370 3382
3371 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3383 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
3372 3384
3373 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) { 3385 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
3836 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */ 3848 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */
3837 3849
3838 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */ 3850 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */
3839 3851
3840 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 3852 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
3841 3853
3842 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 3854 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
3843 3855
3844 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 3856 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
3845 3857
3846 struct PPB_ContentDecryptor_Private_0_2 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_2 = { 3858 struct PPB_ContentDecryptor_Private_0_3 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_3 = {
3847 .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, 3859 .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,
3848 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded, 3860 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M23_PPB_ContentDecryptor_Private_KeyAdded,
3849 .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, 3861 .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,
3850 .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, 3862 .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,
3851 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverBlock, 3863 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverBlock,
3864 .DecoderInitializeStatus = (void (*)(PP_Instance instance, PP_Bool success, uint32_t request_id))&Pnacl_M23_PPB_ContentDecryptor_Private_DecoderInitializeSt atus,
3852 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverFrame, 3865 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M23_PPB_Conten tDecryptor_Private_DeliverFrame,
3853 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource decrypted_samp les, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Co ntentDecryptor_Private_DeliverSamples 3866 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource decrypted_samp les, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M23_PPB_Co ntentDecryptor_Private_DeliverSamples
3854 }; 3867 };
3855 3868
3856 struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = { 3869 struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = {
3857 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_F ileRefPrivate_GetAbsolutePath 3870 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_F ileRefPrivate_GetAbsolutePath
3858 }; 3871 };
3859 3872
3860 struct PPB_Flash_12_0 Pnacl_Wrappers_PPB_Flash_12_0 = { 3873 struct PPB_Flash_12_0 Pnacl_Wrappers_PPB_Flash_12_0 = {
3861 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&P nacl_M17_PPB_Flash_SetInstanceAlwaysOnTop, 3874 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&P nacl_M17_PPB_Flash_SetInstanceAlwaysOnTop,
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration 4150 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration
4138 }; 4151 };
4139 4152
4140 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = { 4153 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = {
4141 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 4154 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
4142 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 4155 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
4143 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 4156 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
4144 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 4157 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
4145 }; 4158 };
4146 4159
4147 struct PPP_ContentDecryptor_Private_0_2 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_2 = { 4160 struct PPP_ContentDecryptor_Private_0_3 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_3 = {
4148 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey Request, 4161 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey Request,
4149 .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, 4162 .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,
4150 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest, 4163 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest,
4151 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr yptor_Private_Decrypt, 4164 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr yptor_Private_Decrypt,
4165 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M23_PPP_C ontentDecryptor_Private_InitializeVideoDecoder,
4152 .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 4166 .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
4153 }; 4167 };
4154 4168
4155 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 4169 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
4156 4170
4157 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 4171 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
4158 4172
4159 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 4173 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
4160 4174
4161 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 4175 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = {
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
4695 .wrapped_iface = NULL /* Still need slot for real_iface */, 4709 .wrapped_iface = NULL /* Still need slot for real_iface */,
4696 .real_iface = NULL 4710 .real_iface = NULL
4697 }; 4711 };
4698 4712
4699 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = { 4713 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = {
4700 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3, 4714 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3,
4701 .wrapped_iface = NULL /* Still need slot for real_iface */, 4715 .wrapped_iface = NULL /* Still need slot for real_iface */,
4702 .real_iface = NULL 4716 .real_iface = NULL
4703 }; 4717 };
4704 4718
4705 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_2 = { 4719 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_3 = {
4706 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_2, 4720 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_3,
4707 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_2, 4721 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_3,
4708 .real_iface = NULL 4722 .real_iface = NULL
4709 }; 4723 };
4710 4724
4711 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = { 4725 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = {
4712 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1, 4726 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1,
4713 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1, 4727 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1,
4714 .real_iface = NULL 4728 .real_iface = NULL
4715 }; 4729 };
4716 4730
4717 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = { 4731 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
4887 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1, 4901 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1,
4888 .real_iface = NULL 4902 .real_iface = NULL
4889 }; 4903 };
4890 4904
4891 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 4905 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
4892 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 4906 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
4893 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 4907 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
4894 .real_iface = NULL 4908 .real_iface = NULL
4895 }; 4909 };
4896 4910
4897 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2 = { 4911 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_3 = {
4898 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_2, 4912 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_3,
4899 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_2, 4913 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_3,
4900 .real_iface = NULL 4914 .real_iface = NULL
4901 }; 4915 };
4902 4916
4903 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = { 4917 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = {
4904 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0, 4918 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0,
4905 .wrapped_iface = NULL /* Still need slot for real_iface */, 4919 .wrapped_iface = NULL /* Still need slot for real_iface */,
4906 .real_iface = NULL 4920 .real_iface = NULL
4907 }; 4921 };
4908 4922
4909 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = { 4923 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
4994 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5008 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
4995 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5009 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
4996 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5010 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
4997 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, 5011 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1,
4998 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5012 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
4999 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5013 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5000 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5014 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5001 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5015 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5002 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5016 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5003 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5017 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5004 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_2, 5018 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_3,
5005 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5019 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5006 &Pnacl_WrapperInfo_PPB_Flash_12_0, 5020 &Pnacl_WrapperInfo_PPB_Flash_12_0,
5007 &Pnacl_WrapperInfo_PPB_Flash_12_1, 5021 &Pnacl_WrapperInfo_PPB_Flash_12_1,
5008 &Pnacl_WrapperInfo_PPB_Flash_12_2, 5022 &Pnacl_WrapperInfo_PPB_Flash_12_2,
5009 &Pnacl_WrapperInfo_PPB_Flash_12_3, 5023 &Pnacl_WrapperInfo_PPB_Flash_12_3,
5010 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5024 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5011 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5025 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5012 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, 5026 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0,
5013 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5027 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
5014 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 5028 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
(...skipping 29 matching lines...) Expand all
5044 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5058 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5045 &Pnacl_WrapperInfo_PPP_MouseLock_1_0, 5059 &Pnacl_WrapperInfo_PPP_MouseLock_1_0,
5046 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6, 5060 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6,
5047 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1, 5061 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1,
5048 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1, 5062 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1,
5049 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9, 5063 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9,
5050 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10, 5064 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10,
5051 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11, 5065 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11,
5052 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2, 5066 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2,
5053 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3, 5067 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3,
5054 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_2, 5068 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_3,
5055 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0, 5069 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0,
5056 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2, 5070 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2,
5057 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3, 5071 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3,
5058 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5072 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
5059 NULL 5073 NULL
5060 }; 5074 };
5061 5075
5062 5076
5063 5077
5064 static PPB_GetInterface __real_PPBGetInterface; 5078 static PPB_GetInterface __real_PPBGetInterface;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5130 } 5144 }
5131 5145
5132 if (wrapper->wrapped_iface) { 5146 if (wrapper->wrapped_iface) {
5133 return wrapper->wrapped_iface; 5147 return wrapper->wrapped_iface;
5134 } else { 5148 } else {
5135 return wrapper->real_iface; 5149 return wrapper->real_iface;
5136 } 5150 }
5137 } 5151 }
5138 5152
5139 #endif 5153 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698