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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4361 | 4376 |
4362 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ | 4377 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4363 | 4378 |
4364 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4379 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4365 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4380 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4366 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4381 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4367 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4382 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4368 temp_fp(instance, &key_system); | 4383 temp_fp(instance, &key_system); |
4369 } | 4384 } |
4370 | 4385 |
| 4386 static void Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { |
| 4387 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4388 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = |
| 4389 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); |
| 4390 temp_fp(instance, promise_id, &server_certificate); |
| 4391 } |
| 4392 |
4371 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) { | 4393 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) { |
4372 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4394 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4373 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) = | 4395 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) = |
4374 ((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); | 4396 ((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); |
4375 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); | 4397 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4376 } | 4398 } |
4377 | 4399 |
4378 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { | 4400 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4379 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4401 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4380 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4402 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4381 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4403 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4382 temp_fp(instance, promise_id, &web_session_id); | 4404 temp_fp(instance, promise_id, &web_session_id); |
4383 } | 4405 } |
4384 | 4406 |
4385 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
) { | 4407 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
) { |
4386 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4408 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4387 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = | 4409 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4388 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); | 4410 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4389 temp_fp(instance, promise_id, &web_session_id, &response); | 4411 temp_fp(instance, promise_id, &web_session_id, &response); |
4390 } | 4412 } |
4391 | 4413 |
4392 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { | 4414 static void Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var web_session_id) { |
4393 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4415 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4394 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4416 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4395 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); | 4417 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->CloseSession); |
4396 temp_fp(instance, promise_id, &web_session_id); | 4418 temp_fp(instance, promise_id, &web_session_id); |
4397 } | 4419 } |
4398 | 4420 |
| 4421 static void Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 4422 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4423 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
| 4424 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->RemoveSession); |
| 4425 temp_fp(instance, promise_id, &web_session_id); |
| 4426 } |
| 4427 |
| 4428 static void Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds(PP_Instance i
nstance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 4429 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4430 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
| 4431 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->GetUsableKeyIds); |
| 4432 temp_fp(instance, promise_id, &web_session_id); |
| 4433 } |
| 4434 |
4399 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4435 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4400 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4436 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4401 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4437 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4402 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4438 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4403 temp_fp(instance, encrypted_block, encrypted_block_info); | 4439 temp_fp(instance, encrypted_block, encrypted_block_info); |
4404 } | 4440 } |
4405 | 4441 |
4406 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4442 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4407 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4443 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4408 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4444 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... |
5185 | 5221 |
5186 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 5222 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
5187 | 5223 |
5188 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 5224 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
5189 | 5225 |
5190 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ | 5226 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ |
5191 | 5227 |
5192 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { | 5228 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
5193 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, | 5229 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
5194 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, | 5230 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
| 5231 .PromiseResolvedWithKeyIds = (void (*)(PP_Instance instance, uint32_t promis
e_id, struct PP_Var key_ids_array))&Pnacl_M36_PPB_ContentDecryptor_Private_Promi
seResolvedWithKeyIds, |
5195 .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, | 5232 .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, |
5196 .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, | 5233 .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, |
| 5234 .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, |
| 5235 .SessionExpirationChange = (void (*)(PP_Instance instance, struct PP_Var web
_session_id, PP_Time new_expiry_time))&Pnacl_M36_PPB_ContentDecryptor_Private_Se
ssionExpirationChange, |
5197 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, | 5236 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
5198 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, | 5237 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
5199 .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, | 5238 .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, |
5200 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, | 5239 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
5201 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 5240 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
5202 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 5241 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
5203 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, | 5242 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
5204 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, | 5243 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
5205 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples | 5244 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
5206 }; | 5245 }; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5617 | 5656 |
5618 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5657 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5619 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5658 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5620 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5659 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5621 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5660 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5622 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5661 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5623 }; | 5662 }; |
5624 | 5663 |
5625 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { | 5664 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5626 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, | 5665 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
| 5666 .SetServerCertificate = &Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCer
tificate, |
5627 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, | 5667 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5628 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, | 5668 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5629 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, | 5669 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5630 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, | 5670 .CloseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession, |
| 5671 .RemoveSession = &Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession, |
| 5672 .GetUsableKeyIds = &Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds, |
5631 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, | 5673 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5632 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5674 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5633 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5675 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5634 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5676 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5635 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, | 5677 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5636 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode | 5678 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5637 }; | 5679 }; |
5638 | 5680 |
5639 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5681 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5640 | 5682 |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6482 | 6524 |
6483 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6525 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6484 if (wrapper->real_iface == NULL) { | 6526 if (wrapper->real_iface == NULL) { |
6485 const void *iface = (*__real_PPPGetInterface)(name); | 6527 const void *iface = (*__real_PPPGetInterface)(name); |
6486 if (NULL == iface) return NULL; | 6528 if (NULL == iface) return NULL; |
6487 wrapper->real_iface = iface; | 6529 wrapper->real_iface = iface; |
6488 } | 6530 } |
6489 | 6531 |
6490 return wrapper->wrapped_iface; | 6532 return wrapper->wrapped_iface; |
6491 } | 6533 } |
OLD | NEW |