OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2714 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { | 2714 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { |
2715 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2715 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2716 iface->PromiseResolved(instance, promise_id); | 2716 iface->PromiseResolved(instance, promise_id); |
2717 } | 2717 } |
2718 | 2718 |
2719 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { | 2719 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { |
2720 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2720 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2721 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); | 2721 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); |
2722 } | 2722 } |
2723 | 2723 |
| 2724 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithKeyIds(PP_
Instance instance, uint32_t promise_id, struct PP_Var* key_ids_array) { |
| 2725 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2726 iface->PromiseResolvedWithKeyIds(instance, promise_id, *key_ids_array); |
| 2727 } |
| 2728 |
2724 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance i
nstance, uint32_t promise_id, PP_CdmExceptionCode exception_code, uint32_t syste
m_code, struct PP_Var* error_description) { | 2729 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance i
nstance, uint32_t promise_id, PP_CdmExceptionCode exception_code, uint32_t syste
m_code, struct PP_Var* error_description) { |
2725 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2730 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2726 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err
or_description); | 2731 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err
or_description); |
2727 } | 2732 } |
2728 | 2733 |
2729 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in
stance, struct PP_Var* web_session_id, struct PP_Var* message, struct PP_Var* de
stination_url) { | 2734 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance in
stance, struct PP_Var* web_session_id, struct PP_Var* message, struct PP_Var* de
stination_url) { |
2730 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2735 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2731 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); | 2736 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); |
2732 } | 2737 } |
2733 | 2738 |
| 2739 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionKeysChange(PP_Instance
instance, struct PP_Var* web_session_id, PP_Bool has_additional_usable_key) { |
| 2740 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2741 iface->SessionKeysChange(instance, *web_session_id, has_additional_usable_key)
; |
| 2742 } |
| 2743 |
| 2744 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionExpirationChange(PP_In
stance instance, struct PP_Var* web_session_id, PP_Time new_expiry_time) { |
| 2745 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2746 iface->SessionExpirationChange(instance, *web_session_id, new_expiry_time); |
| 2747 } |
| 2748 |
2734 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { | 2749 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { |
2735 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2750 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2736 iface->SessionReady(instance, *web_session_id); | 2751 iface->SessionReady(instance, *web_session_id); |
2737 } | 2752 } |
2738 | 2753 |
2739 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { | 2754 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { |
2740 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2755 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2741 iface->SessionClosed(instance, *web_session_id); | 2756 iface->SessionClosed(instance, *web_session_id); |
2742 } | 2757 } |
2743 | 2758 |
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4371 | 4386 |
4372 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ | 4387 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4373 | 4388 |
4374 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4389 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4375 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4390 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4376 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4391 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4377 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4392 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4378 temp_fp(instance, &key_system); | 4393 temp_fp(instance, &key_system); |
4379 } | 4394 } |
4380 | 4395 |
| 4396 static void Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { |
| 4397 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4398 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = |
| 4399 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); |
| 4400 temp_fp(instance, promise_id, &server_certificate); |
| 4401 } |
| 4402 |
4381 static void Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var init_data_type, struct PP_Var init_dat
a, PP_SessionType session_type) { | 4403 static void Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var init_data_type, struct PP_Var init_dat
a, PP_SessionType session_type) { |
4382 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4404 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4383 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init
_data_type, struct PP_Var* init_data, PP_SessionType session_type) = | 4405 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init
_data_type, struct PP_Var* init_data, PP_SessionType session_type) = |
4384 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_da
ta_type, struct PP_Var* init_data, PP_SessionType session_type))iface->CreateSes
sion); | 4406 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_da
ta_type, struct PP_Var* init_data, PP_SessionType session_type))iface->CreateSes
sion); |
4385 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); | 4407 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4386 } | 4408 } |
4387 | 4409 |
4388 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { | 4410 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4389 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4411 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4390 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4412 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4391 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4413 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4392 temp_fp(instance, promise_id, &web_session_id); | 4414 temp_fp(instance, promise_id, &web_session_id); |
4393 } | 4415 } |
4394 | 4416 |
4395 static void Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id, struct PP_Var response
) { | 4417 static void Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id, struct PP_Var response
) { |
4396 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4418 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4397 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = | 4419 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4398 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); | 4420 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4399 temp_fp(instance, promise_id, &web_session_id, &response); | 4421 temp_fp(instance, promise_id, &web_session_id, &response); |
4400 } | 4422 } |
4401 | 4423 |
4402 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { | 4424 static void Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var web_session_id) { |
4403 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4425 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4404 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4426 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4405 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); | 4427 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->CloseSession); |
4406 temp_fp(instance, promise_id, &web_session_id); | 4428 temp_fp(instance, promise_id, &web_session_id); |
4407 } | 4429 } |
4408 | 4430 |
| 4431 static void Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 4432 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4433 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
| 4434 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->RemoveSession); |
| 4435 temp_fp(instance, promise_id, &web_session_id); |
| 4436 } |
| 4437 |
| 4438 static void Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds(PP_Instance i
nstance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 4439 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4440 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
| 4441 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->GetUsableKeyIds); |
| 4442 temp_fp(instance, promise_id, &web_session_id); |
| 4443 } |
| 4444 |
4409 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4445 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4410 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4446 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4411 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4447 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4412 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4448 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4413 temp_fp(instance, encrypted_block, encrypted_block_info); | 4449 temp_fp(instance, encrypted_block, encrypted_block_info); |
4414 } | 4450 } |
4415 | 4451 |
4416 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4452 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4417 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4453 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4418 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4454 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5195 | 5231 |
5196 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 5232 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
5197 | 5233 |
5198 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 5234 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
5199 | 5235 |
5200 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ | 5236 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ |
5201 | 5237 |
5202 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { | 5238 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
5203 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, | 5239 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
5204 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, | 5240 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
| 5241 .PromiseResolvedWithKeyIds = (void (*)(PP_Instance instance, uint32_t promis
e_id, struct PP_Var key_ids_array))&Pnacl_M36_PPB_ContentDecryptor_Private_Promi
seResolvedWithKeyIds, |
5205 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, PP_C
dmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_descri
ption))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected, | 5242 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, PP_C
dmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_descri
ption))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected, |
5206 .SessionMessage = (void (*)(PP_Instance instance, struct PP_Var web_session_
id, struct PP_Var message, struct PP_Var destination_url))&Pnacl_M36_PPB_Content
Decryptor_Private_SessionMessage, | 5243 .SessionMessage = (void (*)(PP_Instance instance, struct PP_Var web_session_
id, struct PP_Var message, struct PP_Var destination_url))&Pnacl_M36_PPB_Content
Decryptor_Private_SessionMessage, |
| 5244 .SessionKeysChange = (void (*)(PP_Instance instance, struct PP_Var web_sessi
on_id, PP_Bool has_additional_usable_key))&Pnacl_M36_PPB_ContentDecryptor_Privat
e_SessionKeysChange, |
| 5245 .SessionExpirationChange = (void (*)(PP_Instance instance, struct PP_Var web
_session_id, PP_Time new_expiry_time))&Pnacl_M36_PPB_ContentDecryptor_Private_Se
ssionExpirationChange, |
5207 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, | 5246 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
5208 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, | 5247 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
5209 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id
, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_
description))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError, | 5248 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id
, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_
description))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError, |
5210 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, | 5249 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
5211 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 5250 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
5212 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 5251 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
5213 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, | 5252 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
5214 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, | 5253 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
5215 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples | 5254 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
5216 }; | 5255 }; |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5629 | 5668 |
5630 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5669 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5631 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5670 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5632 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5671 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5633 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5672 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5634 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5673 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5635 }; | 5674 }; |
5636 | 5675 |
5637 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { | 5676 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5638 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, | 5677 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
| 5678 .SetServerCertificate = &Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCer
tificate, |
5639 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, | 5679 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5640 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, | 5680 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5641 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, | 5681 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5642 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, | 5682 .CloseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession, |
| 5683 .RemoveSession = &Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession, |
| 5684 .GetUsableKeyIds = &Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds, |
5643 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, | 5685 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5644 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5686 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5645 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5687 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5646 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5688 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5647 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, | 5689 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5648 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode | 5690 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5649 }; | 5691 }; |
5650 | 5692 |
5651 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5693 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5652 | 5694 |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6494 | 6536 |
6495 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6537 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6496 if (wrapper->real_iface == NULL) { | 6538 if (wrapper->real_iface == NULL) { |
6497 const void *iface = (*__real_PPPGetInterface)(name); | 6539 const void *iface = (*__real_PPPGetInterface)(name); |
6498 if (NULL == iface) return NULL; | 6540 if (NULL == iface) return NULL; |
6499 wrapper->real_iface = iface; | 6541 wrapper->real_iface = iface; |
6500 } | 6542 } |
6501 | 6543 |
6502 return wrapper->wrapped_iface; | 6544 return wrapper->wrapped_iface; |
6503 } | 6545 } |
OLD | NEW |