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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; | 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; |
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; | 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; |
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; | 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; |
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; | 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; |
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; | 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; |
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; | 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; |
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; | 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; |
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; | 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; |
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; | 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; |
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; | 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; |
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_14; | 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_15; |
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
207 /* END Declarations for all Wrapper Infos. */ | 207 /* END Declarations for all Wrapper Infos. */ |
208 | 208 |
209 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 209 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
210 | 210 |
211 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 211 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
212 | 212 |
213 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ | 213 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ |
214 | 214 |
215 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 215 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
(...skipping 4180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4396 return iface->Initialize(resource, bytes, length); | 4396 return iface->Initialize(resource, bytes, length); |
4397 } | 4397 } |
4398 | 4398 |
4399 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { | 4399 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struc
t_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { |
4400 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 4400 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
4401 *_struct_result = iface->GetField(resource, field); | 4401 *_struct_result = iface->GetField(resource, field); |
4402 } | 4402 } |
4403 | 4403 |
4404 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 4404 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
4405 | 4405 |
4406 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_14 */ | 4406 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_15 */ |
4407 | 4407 |
4408 static void Pnacl_M43_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system, PP_Bool allow_distinctive_identifier, PP_Bool allo
w_persistent_state) { | 4408 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) { |
4409 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4409 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4410 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system, PP_Bool allow
_distinctive_identifier, PP_Bool allow_persistent_state) = | 4410 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) = |
4411 ((void (*)(PP_Instance instance, struct PP_Var* key_system, PP_Bool allow_di
stinctive_identifier, PP_Bool allow_persistent_state))iface->Initialize); | 4411 ((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); |
4412 temp_fp(instance, &key_system, allow_distinctive_identifier, allow_persistent_
state); | 4412 temp_fp(instance, promise_id, &key_system, allow_distinctive_identifier, allow
_persistent_state); |
4413 } | 4413 } |
4414 | 4414 |
4415 static void Pnacl_M43_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { | 4415 static void Pnacl_M44_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { |
4416 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4416 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4417 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = | 4417 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = |
4418 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); | 4418 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); |
4419 temp_fp(instance, promise_id, &server_certificate); | 4419 temp_fp(instance, promise_id, &server_certificate); |
4420 } | 4420 } |
4421 | 4421 |
4422 static void Pnacl_M43_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) { | 4422 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) { |
4423 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4423 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4424 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) = | 4424 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) = |
4425 ((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); | 4425 ((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); |
4426 temp_fp(instance, promise_id, session_type, init_data_type, &init_data); | 4426 temp_fp(instance, promise_id, session_type, init_data_type, &init_data); |
4427 } | 4427 } |
4428 | 4428 |
4429 static void Pnacl_M43_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, PP_SessionType session_type, struct PP_Var session_id)
{ | 4429 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)
{ |
4430 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4430 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4431 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, struct PP_Var* session_id) = | 4431 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, PP_SessionType sess
ion_type, struct PP_Var* session_id) = |
4432 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, struct PP_Var* session_id))iface->LoadSession); | 4432 ((void (*)(PP_Instance instance, uint32_t promise_id, PP_SessionType session
_type, struct PP_Var* session_id))iface->LoadSession); |
4433 temp_fp(instance, promise_id, session_type, &session_id); | 4433 temp_fp(instance, promise_id, session_type, &session_id); |
4434 } | 4434 } |
4435 | 4435 |
4436 static void Pnacl_M43_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id, struct PP_Var response) { | 4436 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) { |
4437 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4437 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4438 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id, struct PP_Var* response) = | 4438 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id, struct PP_Var* response) = |
4439 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id, struct PP_Var* response))iface->UpdateSession); | 4439 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id, struct PP_Var* response))iface->UpdateSession); |
4440 temp_fp(instance, promise_id, &session_id, &response); | 4440 temp_fp(instance, promise_id, &session_id, &response); |
4441 } | 4441 } |
4442 | 4442 |
4443 static void Pnacl_M43_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var session_id) { | 4443 static void Pnacl_M44_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var session_id) { |
4444 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4444 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4445 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = | 4445 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = |
4446 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->CloseSession); | 4446 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->CloseSession); |
4447 temp_fp(instance, promise_id, &session_id); | 4447 temp_fp(instance, promise_id, &session_id); |
4448 } | 4448 } |
4449 | 4449 |
4450 static void Pnacl_M43_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id) { | 4450 static void Pnacl_M44_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var session_id) { |
4451 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4451 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4452 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = | 4452 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* sess
ion_id) = |
4453 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->RemoveSession); | 4453 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* session
_id))iface->RemoveSession); |
4454 temp_fp(instance, promise_id, &session_id); | 4454 temp_fp(instance, promise_id, &session_id); |
4455 } | 4455 } |
4456 | 4456 |
4457 static void Pnacl_M43_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4457 static void Pnacl_M44_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4458 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4458 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4459 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4459 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4460 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4460 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4461 temp_fp(instance, encrypted_block, encrypted_block_info); | 4461 temp_fp(instance, encrypted_block, encrypted_block_info); |
4462 } | 4462 } |
4463 | 4463 |
4464 static void Pnacl_M43_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4464 static void Pnacl_M44_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4465 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4465 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4466 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4466 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4467 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); | 4467 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); |
4468 temp_fp(instance, decoder_config, codec_extra_data); | 4468 temp_fp(instance, decoder_config, codec_extra_data); |
4469 } | 4469 } |
4470 | 4470 |
4471 static void Pnacl_M43_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4471 static void Pnacl_M44_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins
tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4472 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4472 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4473 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4473 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
4474 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); | 4474 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder
_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); |
4475 temp_fp(instance, decoder_config, codec_extra_data); | 4475 temp_fp(instance, decoder_config, codec_extra_data); |
4476 } | 4476 } |
4477 | 4477 |
4478 static void Pnacl_M43_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4478 static void Pnacl_M44_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan
ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4479 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4479 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4480 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4480 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4481 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); | 4481 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->DeinitializeDecoder); |
4482 temp_fp(instance, decoder_type, request_id); | 4482 temp_fp(instance, decoder_type, request_id); |
4483 } | 4483 } |
4484 | 4484 |
4485 static void Pnacl_M43_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 4485 static void Pnacl_M44_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst
ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
4486 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4486 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4487 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = | 4487 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uin
t32_t request_id) = |
4488 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); | 4488 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32
_t request_id))iface->ResetDecoder); |
4489 temp_fp(instance, decoder_type, request_id); | 4489 temp_fp(instance, decoder_type, request_id); |
4490 } | 4490 } |
4491 | 4491 |
4492 static void Pnacl_M43_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance
instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con
st struct PP_EncryptedBlockInfo* encrypted_block_info) { | 4492 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) { |
4493 const struct PPP_ContentDecryptor_Private_0_14 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_14.real_iface; | 4493 const struct PPP_ContentDecryptor_Private_0_15 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_15.real_iface; |
4494 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = | 4494 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_
Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_i
nfo) = |
4495 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); | 4495 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Res
ource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info
))iface->DecryptAndDecode); |
4496 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); | 4496 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); |
4497 } | 4497 } |
4498 | 4498 |
4499 /* End wrapper methods for PPP_ContentDecryptor_Private_0_14 */ | 4499 /* End wrapper methods for PPP_ContentDecryptor_Private_0_15 */ |
4500 | 4500 |
4501 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ | 4501 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ |
4502 | 4502 |
4503 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 4503 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
4504 | 4504 |
4505 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 4505 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
4506 | 4506 |
4507 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 4507 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
4508 | 4508 |
4509 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ | 4509 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ |
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5697 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose | 5697 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Cl
ose |
5698 }; | 5698 }; |
5699 | 5699 |
5700 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5700 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5701 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5701 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5702 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5702 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5703 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5703 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5704 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5704 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5705 }; | 5705 }; |
5706 | 5706 |
5707 static const struct PPP_ContentDecryptor_Private_0_14 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_14 = { | 5707 static const struct PPP_ContentDecryptor_Private_0_15 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_15 = { |
5708 .Initialize = &Pnacl_M43_PPP_ContentDecryptor_Private_Initialize, | 5708 .Initialize = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize, |
5709 .SetServerCertificate = &Pnacl_M43_PPP_ContentDecryptor_Private_SetServerCer
tificate, | 5709 .SetServerCertificate = &Pnacl_M44_PPP_ContentDecryptor_Private_SetServerCer
tificate, |
5710 .CreateSessionAndGenerateRequest = &Pnacl_M43_PPP_ContentDecryptor_Private_C
reateSessionAndGenerateRequest, | 5710 .CreateSessionAndGenerateRequest = &Pnacl_M44_PPP_ContentDecryptor_Private_C
reateSessionAndGenerateRequest, |
5711 .LoadSession = &Pnacl_M43_PPP_ContentDecryptor_Private_LoadSession, | 5711 .LoadSession = &Pnacl_M44_PPP_ContentDecryptor_Private_LoadSession, |
5712 .UpdateSession = &Pnacl_M43_PPP_ContentDecryptor_Private_UpdateSession, | 5712 .UpdateSession = &Pnacl_M44_PPP_ContentDecryptor_Private_UpdateSession, |
5713 .CloseSession = &Pnacl_M43_PPP_ContentDecryptor_Private_CloseSession, | 5713 .CloseSession = &Pnacl_M44_PPP_ContentDecryptor_Private_CloseSession, |
5714 .RemoveSession = &Pnacl_M43_PPP_ContentDecryptor_Private_RemoveSession, | 5714 .RemoveSession = &Pnacl_M44_PPP_ContentDecryptor_Private_RemoveSession, |
5715 .Decrypt = &Pnacl_M43_PPP_ContentDecryptor_Private_Decrypt, | 5715 .Decrypt = &Pnacl_M44_PPP_ContentDecryptor_Private_Decrypt, |
5716 .InitializeAudioDecoder = &Pnacl_M43_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5716 .InitializeAudioDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5717 .InitializeVideoDecoder = &Pnacl_M43_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5717 .InitializeVideoDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5718 .DeinitializeDecoder = &Pnacl_M43_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5718 .DeinitializeDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5719 .ResetDecoder = &Pnacl_M43_PPP_ContentDecryptor_Private_ResetDecoder, | 5719 .ResetDecoder = &Pnacl_M44_PPP_ContentDecryptor_Private_ResetDecoder, |
5720 .DecryptAndDecode = &Pnacl_M43_PPP_ContentDecryptor_Private_DecryptAndDecode | 5720 .DecryptAndDecode = &Pnacl_M44_PPP_ContentDecryptor_Private_DecryptAndDecode |
5721 }; | 5721 }; |
5722 | 5722 |
5723 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5723 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5724 | 5724 |
5725 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5725 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
5726 | 5726 |
5727 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5727 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
5728 | 5728 |
5729 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5729 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
5730 | 5730 |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6375 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, | 6375 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, |
6376 .real_iface = NULL | 6376 .real_iface = NULL |
6377 }; | 6377 }; |
6378 | 6378 |
6379 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { | 6379 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1 = { |
6380 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, | 6380 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, |
6381 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, | 6381 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_
1, |
6382 .real_iface = NULL | 6382 .real_iface = NULL |
6383 }; | 6383 }; |
6384 | 6384 |
6385 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_14 = { | 6385 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_15 = { |
6386 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_14, | 6386 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_15, |
6387 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_14, | 6387 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0
_15, |
6388 .real_iface = NULL | 6388 .real_iface = NULL |
6389 }; | 6389 }; |
6390 | 6390 |
6391 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 6391 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
6392 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 6392 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
6393 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 6393 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
6394 .real_iface = NULL | 6394 .real_iface = NULL |
6395 }; | 6395 }; |
6396 | 6396 |
6397 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 6397 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6500 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6500 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
6501 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6501 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
6502 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6502 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
6503 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6503 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
6504 NULL | 6504 NULL |
6505 }; | 6505 }; |
6506 | 6506 |
6507 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6507 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
6508 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6508 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
6509 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 6509 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
6510 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_14, | 6510 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_15, |
6511 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6511 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
6512 NULL | 6512 NULL |
6513 }; | 6513 }; |
6514 | 6514 |
6515 | 6515 |
6516 | 6516 |
6517 static PPB_GetInterface __real_PPBGetInterface; | 6517 static PPB_GetInterface __real_PPBGetInterface; |
6518 static PPP_GetInterface_Type __real_PPPGetInterface; | 6518 static PPP_GetInterface_Type __real_PPPGetInterface; |
6519 | 6519 |
6520 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { | 6520 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6573 | 6573 |
6574 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6574 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6575 if (wrapper->real_iface == NULL) { | 6575 if (wrapper->real_iface == NULL) { |
6576 const void *iface = (*__real_PPPGetInterface)(name); | 6576 const void *iface = (*__real_PPPGetInterface)(name); |
6577 if (NULL == iface) return NULL; | 6577 if (NULL == iface) return NULL; |
6578 wrapper->real_iface = iface; | 6578 wrapper->real_iface = iface; |
6579 } | 6579 } |
6580 | 6580 |
6581 return wrapper->wrapped_iface; | 6581 return wrapper->wrapped_iface; |
6582 } | 6582 } |
OLD | NEW |