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

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

Issue 11023004: Update PPP side of Pepper CDM API to support video decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, CQ'ing. 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
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 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: Wed Oct 3 12:53:07 2012. */ 6 /* Last generated from IDL: Wed Oct 3 16:17:09 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2;
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2;
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0;
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3;
237 /* END Declarations for all Wrapper Infos. */ 237 /* END Declarations for all Wrapper Infos. */
238 238
239 /* Not generating wrapper methods for PPB_Audio_1_0 */ 239 /* Not generating wrapper methods for PPB_Audio_1_0 */
240 240
241 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 241 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
242 242
243 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ 243 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */
(...skipping 3051 matching lines...) Expand 10 before | Expand all | Expand 10 after
3295 } 3295 }
3296 3296
3297 static __attribute__((pnaclcall)) 3297 static __attribute__((pnaclcall))
3298 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) { 3298 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) {
3299 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3299 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3300 return iface->GetField(resource, field); 3300 return iface->GetField(resource, field);
3301 } 3301 }
3302 3302
3303 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3303 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3304 3304
3305 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_1 */ 3305 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_2 */
3306 3306
3307 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) { 3307 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) {
3308 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_1.real_iface; 3308 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface;
3309 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); 3309 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);
3310 temp_fp(instance, key_system, init_data); 3310 temp_fp(instance, key_system, init_data);
3311 } 3311 }
3312 3312
3313 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) { 3313 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) {
3314 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_1.real_iface; 3314 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface;
3315 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); 3315 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);
3316 temp_fp(instance, session_id, key, init_data); 3316 temp_fp(instance, session_id, key, init_data);
3317 } 3317 }
3318 3318
3319 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) { 3319 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) {
3320 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_1.real_iface; 3320 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface;
3321 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); 3321 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);
3322 temp_fp(instance, session_id); 3322 temp_fp(instance, session_id);
3323 } 3323 }
3324 3324
3325 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3325 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3326 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_1.real_iface; 3326 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface;
3327 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); 3327 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);
3328 temp_fp(instance, encrypted_block, encrypted_block_info); 3328 temp_fp(instance, encrypted_block, encrypted_block_info);
3329 } 3329 }
3330 3330
3331 static void Pnacl_M23_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encry pted_block_info) { 3331 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) {
3332 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_1.real_iface; 3332 const struct PPP_ContentDecryptor_Private_0_2 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_2.real_iface;
3333 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->DecryptAnd Decode); 3333 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);
3334 temp_fp(instance, encrypted_block, encrypted_block_info); 3334 temp_fp(instance, encrypted_video_frame, encrypted_video_frame_info);
3335 } 3335 }
3336 3336
3337 /* End wrapper methods for PPP_ContentDecryptor_Private_0_1 */ 3337 /* End wrapper methods for PPP_ContentDecryptor_Private_0_2 */
3338 3338
3339 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3339 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3340 3340
3341 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3341 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3342 3342
3343 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3343 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3344 3344
3345 /* Not generating wrapper interface for PPB_Audio_1_0 */ 3345 /* Not generating wrapper interface for PPB_Audio_1_0 */
3346 3346
3347 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 3347 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
4095 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close 4095 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close
4096 }; 4096 };
4097 4097
4098 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = { 4098 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = {
4099 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 4099 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
4100 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 4100 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
4101 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 4101 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
4102 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 4102 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
4103 }; 4103 };
4104 4104
4105 struct PPP_ContentDecryptor_Private_0_1 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_1 = { 4105 struct PPP_ContentDecryptor_Private_0_2 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_2 = {
4106 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey Request, 4106 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey Request,
4107 .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, 4107 .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,
4108 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest, 4108 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest,
4109 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr yptor_Private_Decrypt, 4109 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr yptor_Private_Decrypt,
4110 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_Resource encrypted_bl ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_Co ntentDecryptor_Private_DecryptAndDecode 4110 .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
4111 }; 4111 };
4112 4112
4113 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 4113 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */
4114 4114
4115 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 4115 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */
4116 4116
4117 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 4117 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */
4118 4118
4119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0 = { 4119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0 = {
4120 .iface_macro = PPB_AUDIO_INTERFACE_1_0, 4120 .iface_macro = PPB_AUDIO_INTERFACE_1_0,
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
4835 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 4835 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4,
4836 .real_iface = NULL 4836 .real_iface = NULL
4837 }; 4837 };
4838 4838
4839 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 4839 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
4840 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 4840 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
4841 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 4841 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
4842 .real_iface = NULL 4842 .real_iface = NULL
4843 }; 4843 };
4844 4844
4845 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_1 = { 4845 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_2 = {
4846 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_1, 4846 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_2,
4847 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_1, 4847 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_2,
4848 .real_iface = NULL 4848 .real_iface = NULL
4849 }; 4849 };
4850 4850
4851 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = { 4851 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = {
4852 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0, 4852 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0,
4853 .wrapped_iface = NULL /* Still need slot for real_iface */, 4853 .wrapped_iface = NULL /* Still need slot for real_iface */,
4854 .real_iface = NULL 4854 .real_iface = NULL
4855 }; 4855 };
4856 4856
4857 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = { 4857 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
4985 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 4985 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
4986 &Pnacl_WrapperInfo_PPP_MouseLock_1_0, 4986 &Pnacl_WrapperInfo_PPP_MouseLock_1_0,
4987 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6, 4987 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6,
4988 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1, 4988 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1,
4989 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1, 4989 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1,
4990 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9, 4990 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9,
4991 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10, 4991 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10,
4992 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11, 4992 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11,
4993 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2, 4993 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2,
4994 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3, 4994 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3,
4995 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_1, 4995 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_2,
4996 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0, 4996 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0,
4997 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2, 4997 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2,
4998 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3, 4998 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3,
4999 NULL 4999 NULL
5000 }; 5000 };
5001 5001
5002 5002
5003 5003
5004 static PPB_GetInterface __real_PPBGetInterface; 5004 static PPB_GetInterface __real_PPBGetInterface;
5005 static PPP_GetInterface_Type __real_PPPGetInterface; 5005 static PPP_GetInterface_Type __real_PPPGetInterface;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
5070 } 5070 }
5071 5071
5072 if (wrapper->wrapped_iface) { 5072 if (wrapper->wrapped_iface) {
5073 return wrapper->wrapped_iface; 5073 return wrapper->wrapped_iface;
5074 } else { 5074 } else {
5075 return wrapper->real_iface; 5075 return wrapper->real_iface;
5076 } 5076 }
5077 } 5077 }
5078 5078
5079 #endif 5079 #endif
OLDNEW
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698