OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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/generators/pnacl_shim.h" | 7 #include "ppapi/generators/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 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 static void Pnacl_M31_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { | 2516 static void Pnacl_M31_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance
instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { |
2517 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; | 2517 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; |
2518 iface->DecoderResetDone(instance, decoder_type, request_id); | 2518 iface->DecoderResetDone(instance, decoder_type, request_id); |
2519 } | 2519 } |
2520 | 2520 |
2521 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { | 2521 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance inst
ance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted
_frame_info) { |
2522 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; | 2522 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; |
2523 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); | 2523 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); |
2524 } | 2524 } |
2525 | 2525 |
2526 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_
block_info) { | 2526 static void Pnacl_M31_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance in
stance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted
_sample_info) { |
2527 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; | 2527 const struct PPB_ContentDecryptor_Private_0_7 *iface = Pnacl_WrapperInfo_PPB_C
ontentDecryptor_Private_0_7.real_iface; |
2528 iface->DeliverSamples(instance, audio_frames, decrypted_block_info); | 2528 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); |
2529 } | 2529 } |
2530 | 2530 |
2531 /* End wrapper methods for PPB_ContentDecryptor_Private_0_7 */ | 2531 /* End wrapper methods for PPB_ContentDecryptor_Private_0_7 */ |
2532 | 2532 |
2533 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ | 2533 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ |
2534 | 2534 |
2535 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance
, PP_Resource* file_system, struct PP_CompletionCallback* callback) { | 2535 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance
, PP_Resource* file_system, struct PP_CompletionCallback* callback) { |
2536 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_
Ext_CrxFileSystem_Private_0_1.real_iface; | 2536 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_
Ext_CrxFileSystem_Private_0_1.real_iface; |
2537 return iface->Open(instance, file_system, *callback); | 2537 return iface->Open(instance, file_system, *callback); |
2538 } | 2538 } |
(...skipping 2254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4793 | 4793 |
4794 struct PPB_ContentDecryptor_Private_0_7 Pnacl_Wrappers_PPB_ContentDecryptor_Priv
ate_0_7 = { | 4794 struct PPB_ContentDecryptor_Private_0_7 Pnacl_Wrappers_PPB_ContentDecryptor_Priv
ate_0_7 = { |
4795 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct
PP_Var session_id))&Pnacl_M31_PPB_ContentDecryptor_Private_KeyAdded, | 4795 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct
PP_Var session_id))&Pnacl_M31_PPB_ContentDecryptor_Private_KeyAdded, |
4796 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru
ct PP_Var session_id, struct PP_Var message, struct PP_Var default_url))&Pnacl_M
31_PPB_ContentDecryptor_Private_KeyMessage, | 4796 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru
ct PP_Var session_id, struct PP_Var message, struct PP_Var default_url))&Pnacl_M
31_PPB_ContentDecryptor_Private_KeyMessage, |
4797 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct
PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M31_PPB_Con
tentDecryptor_Private_KeyError, | 4797 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct
PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M31_PPB_Con
tentDecryptor_Private_KeyError, |
4798 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M31_PPB_Conten
tDecryptor_Private_DeliverBlock, | 4798 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M31_PPB_Conten
tDecryptor_Private_DeliverBlock, |
4799 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M31_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, | 4799 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT
ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M31_PPB_ContentDe
cryptor_Private_DecoderInitializeDone, |
4800 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, | 4800 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea
mType decoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private
_DecoderDeinitializeDone, |
4801 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private_Decode
rResetDone, | 4801 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d
ecoder_type, uint32_t request_id))&Pnacl_M31_PPB_ContentDecryptor_Private_Decode
rResetDone, |
4802 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M31_PPB_Conten
tDecryptor_Private_DeliverFrame, | 4802 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame,
const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M31_PPB_Conten
tDecryptor_Private_DeliverFrame, |
4803 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M31_PPB_Content
Decryptor_Private_DeliverSamples | 4803 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames,
const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M31_PPB_Conte
ntDecryptor_Private_DeliverSamples |
4804 }; | 4804 }; |
4805 | 4805 |
4806 struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Pr
ivate_0_1 = { | 4806 struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Pr
ivate_0_1 = { |
4807 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct
PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open | 4807 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct
PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open |
4808 }; | 4808 }; |
4809 | 4809 |
4810 struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { | 4810 struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { |
4811 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand
le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request
OSFileHandle | 4811 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* hand
le, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_Request
OSFileHandle |
4812 }; | 4812 }; |
4813 | 4813 |
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6009 if (NULL == iface) return NULL; | 6009 if (NULL == iface) return NULL; |
6010 wrapper->real_iface = iface; | 6010 wrapper->real_iface = iface; |
6011 } | 6011 } |
6012 | 6012 |
6013 if (wrapper->wrapped_iface) { | 6013 if (wrapper->wrapped_iface) { |
6014 return wrapper->wrapped_iface; | 6014 return wrapper->wrapped_iface; |
6015 } else { | 6015 } else { |
6016 return wrapper->real_iface; | 6016 return wrapper->real_iface; |
6017 } | 6017 } |
6018 } | 6018 } |
OLD | NEW |