| OLD | NEW |
| 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: Mon Oct 22 19:49:47 2012. */ | 6 /* Last generated from IDL: Thu Oct 25 21:09:58 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 3415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3432 static __attribute__((pnaclcall)) | 3432 static __attribute__((pnaclcall)) |
| 3433 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc
e, PP_X509Certificate_Private_Field field) { | 3433 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc
e, PP_X509Certificate_Private_Field field) { |
| 3434 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 3434 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
| 3435 return iface->GetField(resource, field); | 3435 return iface->GetField(resource, field); |
| 3436 } | 3436 } |
| 3437 | 3437 |
| 3438 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 3438 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
| 3439 | 3439 |
| 3440 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_5 */ | 3440 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_5 */ |
| 3441 | 3441 |
| 3442 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc
e instance, struct PP_Var key_system, struct PP_Var init_data) { | 3442 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc
e instance, struct PP_Var key_system, struct PP_Var mime_type, struct PP_Var ini
t_data) { |
| 3443 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; | 3443 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; |
| 3444 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); | 3444 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var
key_system, struct PP_Var mime_type, struct PP_Var init_data) = ((void (__attri
bute__((pnaclcall)) *)(PP_Instance instance, struct PP_Var key_system, struct PP
_Var mime_type, struct PP_Var init_data))iface->GenerateKeyRequest); |
| 3445 temp_fp(instance, key_system, init_data); | 3445 temp_fp(instance, key_system, mime_type, init_data); |
| 3446 } | 3446 } |
| 3447 | 3447 |
| 3448 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) { | 3448 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) { |
| 3449 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; | 3449 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; |
| 3450 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); | 3450 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); |
| 3451 temp_fp(instance, session_id, key, init_data); | 3451 temp_fp(instance, session_id, key, init_data); |
| 3452 } | 3452 } |
| 3453 | 3453 |
| 3454 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance
instance, struct PP_Var session_id) { | 3454 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance
instance, struct PP_Var session_id) { |
| 3455 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; | 3455 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_5.real_iface; |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4294 }; | 4294 }; |
| 4295 | 4295 |
| 4296 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat
e_0_1 = { | 4296 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat
e_0_1 = { |
| 4297 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 4297 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
| 4298 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 4298 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
| 4299 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 4299 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
| 4300 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 4300 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
| 4301 }; | 4301 }; |
| 4302 | 4302 |
| 4303 struct PPP_ContentDecryptor_Private_0_5 Pnacl_Wrappers_PPP_ContentDecryptor_Priv
ate_0_5 = { | 4303 struct PPP_ContentDecryptor_Private_0_5 Pnacl_Wrappers_PPP_ContentDecryptor_Priv
ate_0_5 = { |
| 4304 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst
em, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKey
Request, | 4304 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst
em, struct PP_Var mime_type, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecr
yptor_Private_GenerateKeyRequest, |
| 4305 .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, | 4305 .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, |
| 4306 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id
))&Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest, | 4306 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id
))&Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest, |
| 4307 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons
t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M24_PPP_ContentDecr
yptor_Private_Decrypt, | 4307 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons
t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M24_PPP_ContentDecr
yptor_Private_Decrypt, |
| 4308 .InitializeAudioDecoder = (void (*)(PP_Instance instance, const struct PP_Au
dioDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C
ontentDecryptor_Private_InitializeAudioDecoder, | 4308 .InitializeAudioDecoder = (void (*)(PP_Instance instance, const struct PP_Au
dioDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C
ontentDecryptor_Private_InitializeAudioDecoder, |
| 4309 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi
deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C
ontentDecryptor_Private_InitializeVideoDecoder, | 4309 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi
deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C
ontentDecryptor_Private_InitializeVideoDecoder, |
| 4310 .DeinitializeDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamTyp
e decoder_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_Dei
nitializeDecoder, | 4310 .DeinitializeDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamTyp
e decoder_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_Dei
nitializeDecoder, |
| 4311 .ResetDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamType decod
er_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecod
er, | 4311 .ResetDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamType decod
er_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecod
er, |
| 4312 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* e
ncrypted_block_info))&Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode | 4312 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* e
ncrypted_block_info))&Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode |
| 4313 }; | 4313 }; |
| 4314 | 4314 |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5311 } | 5311 } |
| 5312 | 5312 |
| 5313 if (wrapper->wrapped_iface) { | 5313 if (wrapper->wrapped_iface) { |
| 5314 return wrapper->wrapped_iface; | 5314 return wrapper->wrapped_iface; |
| 5315 } else { | 5315 } else { |
| 5316 return wrapper->real_iface; | 5316 return wrapper->real_iface; |
| 5317 } | 5317 } |
| 5318 } | 5318 } |
| 5319 | 5319 |
| 5320 #endif | 5320 #endif |
| OLD | NEW |