| OLD | NEW |
| 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
| 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
| 8 | 8 |
| 9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
| 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; | 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; |
| 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; | 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; |
| 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; | 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; |
| 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; | 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; |
| 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; | 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; |
| 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; | 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; |
| 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; | 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; |
| 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; | 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; |
| 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; | 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; |
| 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; | 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; |
| 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_15; | 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_16; |
| 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
| 209 /* END Declarations for all Wrapper Infos. */ | 209 /* END Declarations for all Wrapper Infos. */ |
| 210 | 210 |
| 211 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 211 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
| 212 | 212 |
| 213 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 213 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
| 214 | 214 |
| 215 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ | 215 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ |
| 216 | 216 |
| 217 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 217 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
| (...skipping 4321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4539 return iface->Initialize(resource, bytes, length); | 4539 return iface->Initialize(resource, bytes, length); |
| 4540 } | 4540 } |
| 4541 | 4541 |
| 4542 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { | 4542 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { |
| 4543 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 4543 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
| 4544 *_struct_result = iface->GetField(resource, field); | 4544 *_struct_result = iface->GetField(resource, field); |
| 4545 } | 4545 } |
| 4546 | 4546 |
| 4547 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 4547 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
| 4548 | 4548 |
| 4549 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_15 */ | 4549 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_16 */ |
| 4550 | 4550 |
| 4551 static void Pnacl_M44_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, uint32_t promise_id, struct PP_Var key_system, PP_Bool allow_distinctive_ide
ntifier, PP_Bool allow_persistent_state) { | 4551 static void Pnacl_M48_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, uint32_t promise_id, struct PP_Var key_system, PP_Bool allow_distinctive_ide
ntifier, PP_Bool allow_persistent_state) { |
| 4552 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4552 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4553 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* key_
system, PP_Bool allow_distinctive_identifier, PP_Bool allow_persistent_state) = | 4553 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* key_
system, PP_Bool allow_distinctive_identifier, PP_Bool allow_persistent_state) = |
| 4554 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* key_sys
tem, PP_Bool allow_distinctive_identifier, PP_Bool allow_persistent_state))iface
->Initialize); | 4554 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* key_sys
tem, PP_Bool allow_distinctive_identifier, PP_Bool allow_persistent_state))iface
->Initialize); |
| 4555 temp_fp(instance, promise_id, &key_system, allow_distinctive_identifier, allow
_persistent_state); | 4555 temp_fp(instance, promise_id, &key_system, allow_distinctive_identifier, allow
_persistent_state); |
| 4556 } | 4556 } |
| 4557 | 4557 |
| 4558 static void Pnacl_M44_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { | 4558 static void Pnacl_M48_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { |
| 4559 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4559 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4560 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = | 4560 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = |
| 4561 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); | 4561 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); |
| 4562 temp_fp(instance, promise_id, &server_certificate); | 4562 temp_fp(instance, promise_id, &server_certificate); |
| 4563 } | 4563 } |
| 4564 | 4564 |
| 4565 static void Pnacl_M44_PPP_ContentDecryptor_Private_CreateSessionAndGenerateReque
st(PP_Instance instance, uint32_t promise_id, PP_SessionType session_type, PP_In
itDataType init_data_type, struct PP_Var init_data) { | 4565 static void Pnacl_M48_PPP_ContentDecryptor_Private_CreateSessionAndGenerateReque
st(PP_Instance instance, uint32_t promise_id, PP_SessionType session_type, PP_In
itDataType init_data_type, struct PP_Var init_data) { |
| 4566 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4566 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4567 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, PP_InitDataType init_data_type, struct PP_Var* init_data) = | 4567 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, PP_InitDataType init_data_type, struct PP_Var* init_data) = |
| 4568 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, PP_InitDataType init_data_type, struct PP_Var* init_data))iface->CreateSe
ssionAndGenerateRequest); | 4568 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, PP_InitDataType init_data_type, struct PP_Var* init_data))iface->CreateSe
ssionAndGenerateRequest); |
| 4569 temp_fp(instance, promise_id, session_type, init_data_type, &init_data); | 4569 temp_fp(instance, promise_id, session_type, init_data_type, &init_data); |
| 4570 } | 4570 } |
| 4571 | 4571 |
| 4572 static void Pnacl_M44_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, PP_SessionType session_type, struct PP_Var session_id)
{ | 4572 static void Pnacl_M48_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, PP_SessionType session_type, struct PP_Var session_id)
{ |
| 4573 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4573 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4574 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, struct PP_Var* session_id) = | 4574 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, struct PP_Var* session_id) = |
| 4575 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, struct PP_Var* session_id))iface->LoadSession); | 4575 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, struct PP_Var* session_id))iface->LoadSession); |
| 4576 temp_fp(instance, promise_id, session_type, &session_id); | 4576 temp_fp(instance, promise_id, session_type, &session_id); |
| 4577 } | 4577 } |
| 4578 | 4578 |
| 4579 static void Pnacl_M44_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id, struct PP_Var response) { | 4579 static void Pnacl_M48_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id, struct PP_Var response) { |
| 4580 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4580 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4581 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id, struct PP_Var* response) = | 4581 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id, struct PP_Var* response) = |
| 4582 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id, struct PP_Var* response))iface->UpdateSession); | 4582 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id, struct PP_Var* response))iface->UpdateSession); |
| 4583 temp_fp(instance, promise_id, &session_id, &response); | 4583 temp_fp(instance, promise_id, &session_id, &response); |
| 4584 } | 4584 } |
| 4585 | 4585 |
| 4586 static void Pnacl_M44_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var session_id) { | 4586 static void Pnacl_M48_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var session_id) { |
| 4587 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4587 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4588 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = | 4588 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = |
| 4589 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->CloseSession); | 4589 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->CloseSession); |
| 4590 temp_fp(instance, promise_id, &session_id); | 4590 temp_fp(instance, promise_id, &session_id); |
| 4591 } | 4591 } |
| 4592 | 4592 |
| 4593 static void Pnacl_M44_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id) { | 4593 static void Pnacl_M48_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id) { |
| 4594 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4594 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4595 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = | 4595 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = |
| 4596 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->RemoveSession); | 4596 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->RemoveSession); |
| 4597 temp_fp(instance, promise_id, &session_id); | 4597 temp_fp(instance, promise_id, &session_id); |
| 4598 } | 4598 } |
| 4599 | 4599 |
| 4600 static void Pnacl_M44_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4600 static void Pnacl_M48_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
| 4601 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4601 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4602 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4602 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
| 4603 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4603 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
| 4604 temp_fp(instance, encrypted_block, encrypted_block_info); | 4604 temp_fp(instance, encrypted_block, encrypted_block_info); |
| 4605 } | 4605 } |
| 4606 | 4606 |
| 4607 static void Pnacl_M44_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4607 static void Pnacl_M48_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
| 4608 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4608 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4609 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4609 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
| 4610 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); | 4610 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); |
| 4611 temp_fp(instance, decoder_config, codec_extra_data); | 4611 temp_fp(instance, decoder_config, codec_extra_data); |
| 4612 } | 4612 } |
| 4613 | 4613 |
| 4614 static void Pnacl_M44_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4614 static void Pnacl_M48_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
| 4615 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4615 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4616 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4616 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
| 4617 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); | 4617 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); |
| 4618 temp_fp(instance, decoder_config, codec_extra_data); | 4618 temp_fp(instance, decoder_config, codec_extra_data); |
| 4619 } | 4619 } |
| 4620 | 4620 |
| 4621 static void Pnacl_M44_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4621 static void Pnacl_M48_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
| 4622 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4622 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4623 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4623 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
| 4624 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); | 4624 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); |
| 4625 temp_fp(instance, decoder_type, request_id); | 4625 temp_fp(instance, decoder_type, request_id); |
| 4626 } | 4626 } |
| 4627 | 4627 |
| 4628 static void Pnacl_M44_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4628 static void Pnacl_M48_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
| 4629 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4629 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4630 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4630 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
| 4631 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); | 4631 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); |
| 4632 temp_fp(instance, decoder_type, request_id); | 4632 temp_fp(instance, decoder_type, request_id); |
| 4633 } | 4633 } |
| 4634 | 4634 |
| 4635 static void Pnacl_M44_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance
instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con
st struct PP_EncryptedBlockInfo* encrypted_block_info) { | 4635 static void Pnacl_M48_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance
instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con
st struct PP_EncryptedBlockInfo* encrypted_block_info) { |
| 4636 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; | 4636 const struct PPP_ContentDecryptor_Private_0_16 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_16.real_iface; |
| 4637 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = | 4637 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = |
| 4638 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); | 4638 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); |
| 4639 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); | 4639 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); |
| 4640 } | 4640 } |
| 4641 | 4641 |
| 4642 /* End wrapper methods for PPP_ContentDecryptor_Private_0_15 */ | 4642 /* End wrapper methods for PPP_ContentDecryptor_Private_0_16 */ |
| 4643 | 4643 |
| 4644 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ | 4644 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ |
| 4645 | 4645 |
| 4646 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 4646 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
| 4647 | 4647 |
| 4648 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 4648 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
| 4649 | 4649 |
| 4650 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 4650 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
| 4651 | 4651 |
| 4652 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ | 4652 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ |
| (...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5859 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose | 5859 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose |
| 5860 }; | 5860 }; |
| 5861 | 5861 |
| 5862 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5862 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
| 5863 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5863 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
| 5864 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5864 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
| 5865 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5865 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
| 5866 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5866 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
| 5867 }; | 5867 }; |
| 5868 | 5868 |
| 5869 static const struct PPP_ContentDecryptor_Private_0_15 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_15 = { | 5869 static const struct PPP_ContentDecryptor_Private_0_16 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_16 = { |
| 5870 .Initialize = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize, | 5870 .Initialize = &Pnacl_M48_PPP_ContentDecryptor_Private_Initialize, |
| 5871 .SetServerCertificate = &Pnacl_M44_PPP_ContentDecryptor_Private_SetServerCer
tificate, | 5871 .SetServerCertificate = &Pnacl_M48_PPP_ContentDecryptor_Private_SetServerCer
tificate, |
| 5872 .CreateSessionAndGenerateRequest = &Pnacl_M44_PPP_ContentDecryptor_Private_C
reateSessionAndGenerateRequest, | 5872 .CreateSessionAndGenerateRequest = &Pnacl_M48_PPP_ContentDecryptor_Private_C
reateSessionAndGenerateRequest, |
| 5873 .LoadSession = &Pnacl_M44_PPP_ContentDecryptor_Private_LoadSession, | 5873 .LoadSession = &Pnacl_M48_PPP_ContentDecryptor_Private_LoadSession, |
| 5874 .UpdateSession = &Pnacl_M44_PPP_ContentDecryptor_Private_UpdateSession, | 5874 .UpdateSession = &Pnacl_M48_PPP_ContentDecryptor_Private_UpdateSession, |
| 5875 .CloseSession = &Pnacl_M44_PPP_ContentDecryptor_Private_CloseSession, | 5875 .CloseSession = &Pnacl_M48_PPP_ContentDecryptor_Private_CloseSession, |
| 5876 .RemoveSession = &Pnacl_M44_PPP_ContentDecryptor_Private_RemoveSession, | 5876 .RemoveSession = &Pnacl_M48_PPP_ContentDecryptor_Private_RemoveSession, |
| 5877 .Decrypt = &Pnacl_M44_PPP_ContentDecryptor_Private_Decrypt, | 5877 .Decrypt = &Pnacl_M48_PPP_ContentDecryptor_Private_Decrypt, |
| 5878 .InitializeAudioDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5878 .InitializeAudioDecoder = &Pnacl_M48_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
| 5879 .InitializeVideoDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5879 .InitializeVideoDecoder = &Pnacl_M48_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
| 5880 .DeinitializeDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5880 .DeinitializeDecoder = &Pnacl_M48_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
| 5881 .ResetDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_ResetDecoder, | 5881 .ResetDecoder = &Pnacl_M48_PPP_ContentDecryptor_Private_ResetDecoder, |
| 5882 .DecryptAndDecode = &Pnacl_M44_PPP_ContentDecryptor_Private_DecryptAndDecode | 5882 .DecryptAndDecode = &Pnacl_M48_PPP_ContentDecryptor_Private_DecryptAndDecode |
| 5883 }; | 5883 }; |
| 5884 | 5884 |
| 5885 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5885 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
| 5886 | 5886 |
| 5887 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5887 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
| 5888 | 5888 |
| 5889 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5889 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
| 5890 | 5890 |
| 5891 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5891 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
| 5892 | 5892 |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6549 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, | 6549 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, |
| 6550 .real_iface = NULL | 6550 .real_iface = NULL |
| 6551 }; | 6551 }; |
| 6552 | 6552 |
| 6553 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { | 6553 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { |
| 6554 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, | 6554 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, |
| 6555 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, | 6555 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, |
| 6556 .real_iface = NULL | 6556 .real_iface = NULL |
| 6557 }; | 6557 }; |
| 6558 | 6558 |
| 6559 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_15 = { | 6559 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_16 = { |
| 6560 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_15, | 6560 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_16, |
| 6561 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_15, | 6561 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_16, |
| 6562 .real_iface = NULL | 6562 .real_iface = NULL |
| 6563 }; | 6563 }; |
| 6564 | 6564 |
| 6565 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6565 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
| 6566 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6566 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
| 6567 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6567 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
| 6568 .real_iface = NULL | 6568 .real_iface = NULL |
| 6569 }; | 6569 }; |
| 6570 | 6570 |
| 6571 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6571 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6676 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, | 6676 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, |
| 6677 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6677 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
| 6678 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6678 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
| 6679 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6679 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
| 6680 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6680 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
| 6681 NULL | 6681 NULL |
| 6682 }; | 6682 }; |
| 6683 | 6683 |
| 6684 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6684 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
| 6685 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6685 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
| 6686 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_15, | 6686 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_16, |
| 6687 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6687 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
| 6688 NULL | 6688 NULL |
| 6689 }; | 6689 }; |
| 6690 | 6690 |
| 6691 | 6691 |
| 6692 | 6692 |
| 6693 static PPB_GetInterface __real_PPBGetInterface; | 6693 static PPB_GetInterface __real_PPBGetInterface; |
| 6694 static PPP_GetInterface_Type __real_PPPGetInterface; | 6694 static PPP_GetInterface_Type __real_PPPGetInterface; |
| 6695 | 6695 |
| 6696 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { | 6696 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6749 | 6749 |
| 6750 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6750 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6751 if (wrapper->real_iface == NULL) { | 6751 if (wrapper->real_iface == NULL) { |
| 6752 const void *iface = (*__real_PPPGetInterface)(name); | 6752 const void *iface = (*__real_PPPGetInterface)(name); |
| 6753 if (NULL == iface) return NULL; | 6753 if (NULL == iface) return NULL; |
| 6754 wrapper->real_iface = iface; | 6754 wrapper->real_iface = iface; |
| 6755 } | 6755 } |
| 6756 | 6756 |
| 6757 return wrapper->wrapped_iface; | 6757 return wrapper->wrapped_iface; |
| 6758 } | 6758 } |
| OLD | NEW |