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 2658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2669 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { | 2669 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance i
nstance, uint32_t promise_id) { |
2670 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2670 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2671 iface->PromiseResolved(instance, promise_id); | 2671 iface->PromiseResolved(instance, promise_id); |
2672 } | 2672 } |
2673 | 2673 |
2674 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { | 2674 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP
_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { |
2675 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2675 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2676 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); | 2676 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); |
2677 } | 2677 } |
2678 | 2678 |
| 2679 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithKeyIds(PP_
Instance instance, uint32_t promise_id, struct PP_Var* key_ids) { |
| 2680 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2681 iface->PromiseResolvedWithKeyIds(instance, promise_id, *key_ids); |
| 2682 } |
| 2683 |
2679 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) { | 2684 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) { |
2680 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2685 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2681 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err
or_description); | 2686 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *err
or_description); |
2682 } | 2687 } |
2683 | 2688 |
2684 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) { | 2689 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) { |
2685 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2690 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2686 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); | 2691 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); |
2687 } | 2692 } |
2688 | 2693 |
| 2694 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionKeysChange(PP_Instance
instance, struct PP_Var* web_session_id, PP_Bool has_additional_usable_key) { |
| 2695 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2696 iface->SessionKeysChange(instance, *web_session_id, has_additional_usable_key)
; |
| 2697 } |
| 2698 |
| 2699 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionExpirationChange(PP_In
stance instance, struct PP_Var* web_session_id, PP_Time new_expiry_time) { |
| 2700 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
| 2701 iface->SessionExpirationChange(instance, *web_session_id, new_expiry_time); |
| 2702 } |
| 2703 |
2689 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { | 2704 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance inst
ance, struct PP_Var* web_session_id) { |
2690 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2705 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2691 iface->SessionReady(instance, *web_session_id); | 2706 iface->SessionReady(instance, *web_session_id); |
2692 } | 2707 } |
2693 | 2708 |
2694 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { | 2709 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance ins
tance, struct PP_Var* web_session_id) { |
2695 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; | 2710 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_
ContentDecryptor_Private_0_12.real_iface; |
2696 iface->SessionClosed(instance, *web_session_id); | 2711 iface->SessionClosed(instance, *web_session_id); |
2697 } | 2712 } |
2698 | 2713 |
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4336 | 4351 |
4337 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ | 4352 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ |
4338 | 4353 |
4339 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { | 4354 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instan
ce, struct PP_Var key_system) { |
4340 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4355 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4341 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = | 4356 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = |
4342 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); | 4357 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initializ
e); |
4343 temp_fp(instance, &key_system); | 4358 temp_fp(instance, &key_system); |
4344 } | 4359 } |
4345 | 4360 |
| 4361 static void Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate(PP_Insta
nce instance, uint32_t promise_id, struct PP_Var server_certificate) { |
| 4362 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4363 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* serv
er_certificate) = |
| 4364 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_
certificate))iface->SetServerCertificate); |
| 4365 temp_fp(instance, promise_id, &server_certificate); |
| 4366 } |
| 4367 |
4346 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) { | 4368 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) { |
4347 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4369 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4348 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) = | 4370 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) = |
4349 ((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); | 4371 ((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); |
4350 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); | 4372 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); |
4351 } | 4373 } |
4352 | 4374 |
4353 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { | 4375 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance insta
nce, uint32_t promise_id, struct PP_Var web_session_id) { |
4354 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4376 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4355 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4377 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4356 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); | 4378 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->LoadSession); |
4357 temp_fp(instance, promise_id, &web_session_id); | 4379 temp_fp(instance, promise_id, &web_session_id); |
4358 } | 4380 } |
4359 | 4381 |
4360 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
) { | 4382 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
) { |
4361 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; | 4383 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
4362 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = | 4384 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id, struct PP_Var* response) = |
4363 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); | 4385 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id, struct PP_Var* response))iface->UpdateSession); |
4364 temp_fp(instance, promise_id, &web_session_id, &response); | 4386 temp_fp(instance, promise_id, &web_session_id, &response); |
4365 } | 4387 } |
4366 | 4388 |
4367 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance in
stance, uint32_t promise_id, struct PP_Var web_session_id) { | 4389 static void Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds(PP_Instance i
nstance, uint32_t promise_id, struct PP_Var web_session_id) { |
4368 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; |
4369 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = | 4391 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
4370 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->ReleaseSession); | 4392 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->GetUsableKeyIds); |
4371 temp_fp(instance, promise_id, &web_session_id); | 4393 temp_fp(instance, promise_id, &web_session_id); |
4372 } | 4394 } |
4373 | 4395 |
| 4396 static void Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession(PP_Instance inst
ance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 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* web_
session_id) = |
| 4399 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->CloseSession); |
| 4400 temp_fp(instance, promise_id, &web_session_id); |
| 4401 } |
| 4402 |
| 4403 static void Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession(PP_Instance ins
tance, uint32_t promise_id, struct PP_Var web_session_id) { |
| 4404 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_
ContentDecryptor_Private_0_12.real_iface; |
| 4405 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_
session_id) = |
| 4406 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_ses
sion_id))iface->RemoveSession); |
| 4407 temp_fp(instance, promise_id, &web_session_id); |
| 4408 } |
| 4409 |
4374 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { | 4410 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
4375 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; |
4376 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = | 4412 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struc
t PP_EncryptedBlockInfo* encrypted_block_info) = |
4377 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); | 4413 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct P
P_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
4378 temp_fp(instance, encrypted_block, encrypted_block_info); | 4414 temp_fp(instance, encrypted_block, encrypted_block_info); |
4379 } | 4415 } |
4380 | 4416 |
4381 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { | 4417 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins
tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource
codec_extra_data) { |
4382 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; |
4383 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = | 4419 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* deco
der_config, PP_Resource codec_extra_data) = |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5149 | 5185 |
5150 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | 5186 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ |
5151 | 5187 |
5152 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | 5188 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ |
5153 | 5189 |
5154 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ | 5190 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ |
5155 | 5191 |
5156 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { | 5192 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_Content
Decryptor_Private_0_12 = { |
5157 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, | 5193 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pna
cl_M36_PPB_ContentDecryptor_Private_PromiseResolved, |
5158 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, | 5194 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promi
se_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Pro
miseResolvedWithSession, |
| 5195 .PromiseResolvedWithKeyIds = (void (*)(PP_Instance instance, uint32_t promis
e_id, struct PP_Var key_ids))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseReso
lvedWithKeyIds, |
5159 .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 .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, |
5160 .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, | 5197 .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, |
| 5198 .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, |
| 5199 .SessionExpirationChange = (void (*)(PP_Instance instance, struct PP_Var web
_session_id, PP_Time new_expiry_time))&Pnacl_M36_PPB_ContentDecryptor_Private_Se
ssionExpirationChange, |
5161 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, | 5200 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id
))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, |
5162 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, | 5201 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_i
d))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, |
5163 .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, | 5202 .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, |
5164 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, | 5203 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverBlock, |
5165 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 5204 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
5166 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 5205 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
5167 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, | 5206 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_Decode
rResetDone, |
5168 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, | 5207 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_Conten
tDecryptor_Private_DeliverFrame, |
5169 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples | 5208 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_Conte
ntDecryptor_Private_DeliverSamples |
5170 }; | 5209 }; |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5585 | 5624 |
5586 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { | 5625 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certi
ficate_Private_0_1 = { |
5587 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 5626 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
5588 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 5627 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
5589 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 5628 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
5590 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 5629 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
5591 }; | 5630 }; |
5592 | 5631 |
5593 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { | 5632 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_Content
Decryptor_Private_0_12 = { |
5594 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, | 5633 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, |
| 5634 .SetServerCertificate = &Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCer
tificate, |
5595 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, | 5635 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, |
5596 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, | 5636 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, |
5597 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, | 5637 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, |
5598 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, | 5638 .GetUsableKeyIds = &Pnacl_M36_PPP_ContentDecryptor_Private_GetUsableKeyIds, |
| 5639 .CloseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CloseSession, |
| 5640 .RemoveSession = &Pnacl_M36_PPP_ContentDecryptor_Private_RemoveSession, |
5599 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, | 5641 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, |
5600 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, | 5642 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
AudioDecoder, |
5601 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, | 5643 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize
VideoDecoder, |
5602 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, | 5644 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeD
ecoder, |
5603 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, | 5645 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, |
5604 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode | 5646 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode |
5605 }; | 5647 }; |
5606 | 5648 |
5607 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ | 5649 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ |
5608 | 5650 |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6443 | 6485 |
6444 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6486 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6445 if (wrapper->real_iface == NULL) { | 6487 if (wrapper->real_iface == NULL) { |
6446 const void *iface = (*__real_PPPGetInterface)(name); | 6488 const void *iface = (*__real_PPPGetInterface)(name); |
6447 if (NULL == iface) return NULL; | 6489 if (NULL == iface) return NULL; |
6448 wrapper->real_iface = iface; | 6490 wrapper->real_iface = iface; |
6449 } | 6491 } |
6450 | 6492 |
6451 return wrapper->wrapped_iface; | 6493 return wrapper->wrapped_iface; |
6452 } | 6494 } |
OLD | NEW |