Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 11270057: Add type argument to pepper content decryptor method GenerateKeyRequest(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and addressed TODOs related to integration of this CL. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* Last generated from IDL: Thu Oct 25 16:40:11 2012. */ 6 /* Last generated from IDL: Mon Oct 29 11:08:12 2012. */
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"
11 #include "ppapi/c/dev/ppb_buffer_dev.h" 11 #include "ppapi/c/dev/ppb_buffer_dev.h"
12 #include "ppapi/c/dev/ppb_console_dev.h" 12 #include "ppapi/c/dev/ppb_console_dev.h"
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" 14 #include "ppapi/c/dev/ppb_device_ref_dev.h"
15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
16 #include "ppapi/c/dev/ppb_find_dev.h" 16 #include "ppapi/c/dev/ppb_find_dev.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_5; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
(...skipping 14 matching lines...) Expand all
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_Private_0_ 2;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1;
240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_5; 241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6;
242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0; 242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0;
243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2; 243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2;
244 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3; 244 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _3;
245 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 245 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
246 /* END Declarations for all Wrapper Infos. */ 246 /* END Declarations for all Wrapper Infos. */
247 247
248 /* Not generating wrapper methods for PPB_Audio_1_0 */ 248 /* Not generating wrapper methods for PPB_Audio_1_0 */
249 249
250 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 250 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
251 251
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */ 1948 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */
1949 1949
1950 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */ 1950 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */
1951 1951
1952 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 1952 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */
1953 1953
1954 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 1954 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */
1955 1955
1956 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 1956 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */
1957 1957
1958 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_5 */ 1958 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_6 */
1959 1959
1960 static __attribute__((pnaclcall)) 1960 static __attribute__((pnaclcall))
1961 void Pnacl_M24_PPB_ContentDecryptor_Private_NeedKey(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data) { 1961 void Pnacl_M24_PPB_ContentDecryptor_Private_NeedKey(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data) {
1962 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1962 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1963 iface->NeedKey(instance, key_system, session_id, init_data); 1963 iface->NeedKey(instance, key_system, session_id, init_data);
1964 } 1964 }
1965 1965
1966 static __attribute__((pnaclcall)) 1966 static __attribute__((pnaclcall))
1967 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) { 1967 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id) {
1968 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1968 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1969 iface->KeyAdded(instance, key_system, session_id); 1969 iface->KeyAdded(instance, key_system, session_id);
1970 } 1970 }
1971 1971
1972 static __attribute__((pnaclcall)) 1972 static __attribute__((pnaclcall))
1973 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instance, str uct PP_Var key_system, struct PP_Var session_id, PP_Resource message, struct PP_ Var default_url) { 1973 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyMessage(PP_Instance instance, str uct PP_Var key_system, struct PP_Var session_id, PP_Resource message, struct PP_ Var default_url) {
1974 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1974 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1975 iface->KeyMessage(instance, key_system, session_id, message, default_url); 1975 iface->KeyMessage(instance, key_system, session_id, message, default_url);
1976 } 1976 }
1977 1977
1978 static __attribute__((pnaclcall)) 1978 static __attribute__((pnaclcall))
1979 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t syst em_code) { 1979 void Pnacl_M24_PPB_ContentDecryptor_Private_KeyError(PP_Instance instance, struc t PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t syst em_code) {
1980 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1980 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1981 iface->KeyError(instance, key_system, session_id, media_error, system_code); 1981 iface->KeyError(instance, key_system, session_id, media_error, system_code);
1982 } 1982 }
1983 1983
1984 static __attribute__((pnaclcall)) 1984 static __attribute__((pnaclcall))
1985 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) { 1985 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, P P_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_ info) {
1986 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1986 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1987 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 1987 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info);
1988 } 1988 }
1989 1989
1990 static __attribute__((pnaclcall)) 1990 static __attribute__((pnaclcall))
1991 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Instance in stance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool succes s) { 1991 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Instance in stance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool succes s) {
1992 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1992 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1993 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 1993 iface->DecoderInitializeDone(instance, decoder_type, request_id, success);
1994 } 1994 }
1995 1995
1996 static __attribute__((pnaclcall)) 1996 static __attribute__((pnaclcall))
1997 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 1997 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
1998 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 1998 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
1999 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 1999 iface->DecoderDeinitializeDone(instance, decoder_type, request_id);
2000 } 2000 }
2001 2001
2002 static __attribute__((pnaclcall)) 2002 static __attribute__((pnaclcall))
2003 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instanc e, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2003 void Pnacl_M24_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instanc e, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
2004 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 2004 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
2005 iface->DecoderResetDone(instance, decoder_type, request_id); 2005 iface->DecoderResetDone(instance, decoder_type, request_id);
2006 } 2006 }
2007 2007
2008 static __attribute__((pnaclcall)) 2008 static __attribute__((pnaclcall))
2009 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) { 2009 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, P P_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_ info) {
2010 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 2010 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
2011 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2011 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info);
2012 } 2012 }
2013 2013
2014 static __attribute__((pnaclcall)) 2014 static __attribute__((pnaclcall))
2015 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_i nfo) { 2015 void Pnacl_M24_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_i nfo) {
2016 const struct PPB_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_5.real_iface; 2016 const struct PPB_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPB_C ontentDecryptor_Private_0_6.real_iface;
2017 iface->DeliverSamples(instance, audio_frames, decrypted_block_info); 2017 iface->DeliverSamples(instance, audio_frames, decrypted_block_info);
2018 } 2018 }
2019 2019
2020 /* End wrapper methods for PPB_ContentDecryptor_Private_0_5 */ 2020 /* End wrapper methods for PPB_ContentDecryptor_Private_0_6 */
2021 2021
2022 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */ 2022 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */
2023 2023
2024 static __attribute__((pnaclcall)) 2024 static __attribute__((pnaclcall))
2025 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) { 2025 struct PP_Var Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(PP_Resource file_ref) {
2026 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface; 2026 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPriv ate_0_1.real_iface;
2027 return iface->GetAbsolutePath(file_ref); 2027 return iface->GetAbsolutePath(file_ref);
2028 } 2028 }
2029 2029
2030 /* End wrapper methods for PPB_FileRefPrivate_0_1 */ 2030 /* End wrapper methods for PPB_FileRefPrivate_0_1 */
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after
3430 } 3430 }
3431 3431
3432 static __attribute__((pnaclcall)) 3432 static __attribute__((pnaclcall))
3433 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) { 3433 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc e, PP_X509Certificate_Private_Field field) {
3434 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface; 3434 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5 09Certificate_Private_0_1.real_iface;
3435 return iface->GetField(resource, field); 3435 return iface->GetField(resource, field);
3436 } 3436 }
3437 3437
3438 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3438 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */
3439 3439
3440 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_5 */ 3440 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_6 */
3441 3441
3442 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var init_data) { 3442 static void Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc e instance, struct PP_Var key_system, struct PP_Var type, struct PP_Var init_dat a) {
3443 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3443 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3444 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var key_system, struct PP_Var init_data) = ((void (__attribute__((pnaclcall)) *)(PP _Instance instance, struct PP_Var key_system, struct PP_Var init_data))iface->Ge nerateKeyRequest); 3444 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var key_system, struct PP_Var type, struct PP_Var init_data) = ((void (__attribute_ _((pnaclcall)) *)(PP_Instance instance, struct PP_Var key_system, struct PP_Var type, struct PP_Var init_data))iface->GenerateKeyRequest);
3445 temp_fp(instance, key_system, init_data); 3445 temp_fp(instance, key_system, type, init_data);
3446 } 3446 }
3447 3447
3448 static void Pnacl_M24_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) { 3448 static void Pnacl_M24_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) {
3449 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3449 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3450 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) = ((void (__attribute__ ((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP_Var k ey, struct PP_Var init_data))iface->AddKey); 3450 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) = ((void (__attribute__ ((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP_Var k ey, struct PP_Var init_data))iface->AddKey);
3451 temp_fp(instance, session_id, key, init_data); 3451 temp_fp(instance, session_id, key, init_data);
3452 } 3452 }
3453 3453
3454 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) { 3454 static void Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance instance, struct PP_Var session_id) {
3455 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3455 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3456 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, struc t PP_Var session_id))iface->CancelKeyRequest); 3456 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var session_id) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, struc t PP_Var session_id))iface->CancelKeyRequest);
3457 temp_fp(instance, session_id); 3457 temp_fp(instance, session_id);
3458 } 3458 }
3459 3459
3460 static void Pnacl_M24_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) { 3460 static void Pnacl_M24_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc k_info) {
3461 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3461 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3462 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 3462 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt);
3463 temp_fp(instance, encrypted_block, encrypted_block_info); 3463 temp_fp(instance, encrypted_block, encrypted_block_info);
3464 } 3464 }
3465 3465
3466 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3466 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Ins tance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3467 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3467 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3468 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) = ((void (_ _attribute__((pnaclcall)) *)(PP_Instance instance, const struct PP_AudioDecoderC onfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeAudioDecod er); 3468 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) = ((void (_ _attribute__((pnaclcall)) *)(PP_Instance instance, const struct PP_AudioDecoderC onfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeAudioDecod er);
3469 temp_fp(instance, decoder_config, codec_extra_data); 3469 temp_fp(instance, decoder_config, codec_extra_data);
3470 } 3470 }
3471 3471
3472 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3472 static void Pnacl_M24_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Ins tance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) {
3473 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3473 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3474 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) = ((void (_ _attribute__((pnaclcall)) *)(PP_Instance instance, const struct PP_VideoDecoderC onfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeVideoDecod er); 3474 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) = ((void (_ _attribute__((pnaclcall)) *)(PP_Instance instance, const struct PP_VideoDecoderC onfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeVideoDecod er);
3475 temp_fp(instance, decoder_config, codec_extra_data); 3475 temp_fp(instance, decoder_config, codec_extra_data);
3476 } 3476 }
3477 3477
3478 static void Pnacl_M24_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3478 static void Pnacl_M24_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instan ce instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3479 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3479 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3480 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, uint32_t request_id) = ((void (__attribute__((pnaclcall) ) *)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request _id))iface->DeinitializeDecoder); 3480 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, uint32_t request_id) = ((void (__attribute__((pnaclcall) ) *)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request _id))iface->DeinitializeDecoder);
3481 temp_fp(instance, decoder_type, request_id); 3481 temp_fp(instance, decoder_type, request_id);
3482 } 3482 }
3483 3483
3484 static void Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3484 static void Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance inst ance, PP_DecryptorStreamType decoder_type, uint32_t request_id) {
3485 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3485 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3486 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, uint32_t request_id) = ((void (__attribute__((pnaclcall) ) *)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request _id))iface->ResetDecoder); 3486 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, uint32_t request_id) = ((void (__attribute__((pnaclcall) ) *)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request _id))iface->ResetDecoder);
3487 temp_fp(instance, decoder_type, request_id); 3487 temp_fp(instance, decoder_type, request_id);
3488 } 3488 }
3489 3489
3490 static void Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) { 3490 static void Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, con st struct PP_EncryptedBlockInfo* encrypted_block_info) {
3491 const struct PPP_ContentDecryptor_Private_0_5 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_5.real_iface; 3491 const struct PPP_ContentDecryptor_Private_0_6 *iface = Pnacl_WrapperInfo_PPP_C ontentDecryptor_Private_0_6.real_iface;
3492 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedB lockInfo* encrypted_block_info) = ((void (__attribute__((pnaclcall)) *)(PP_Insta nce instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->DecryptAndDeco de); 3492 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_DecryptorS treamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedB lockInfo* encrypted_block_info) = ((void (__attribute__((pnaclcall)) *)(PP_Insta nce instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->DecryptAndDeco de);
3493 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 3493 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info);
3494 } 3494 }
3495 3495
3496 /* End wrapper methods for PPP_ContentDecryptor_Private_0_5 */ 3496 /* End wrapper methods for PPP_ContentDecryptor_Private_0_6 */
3497 3497
3498 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3498 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */
3499 3499
3500 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3500 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */
3501 3501
3502 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3502 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */
3503 3503
3504 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3504 /* Begin wrapper methods for PPP_Instance_Private_0_1 */
3505 3505
3506 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) { 3506 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instanc e instance) {
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
3969 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */ 3969 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */
3970 3970
3971 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */ 3971 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */
3972 3972
3973 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 3973 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */
3974 3974
3975 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 3975 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */
3976 3976
3977 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 3977 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */
3978 3978
3979 struct PPB_ContentDecryptor_Private_0_5 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_5 = { 3979 struct PPB_ContentDecryptor_Private_0_6 Pnacl_Wrappers_PPB_ContentDecryptor_Priv ate_0_6 = {
3980 .NeedKey = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data))&Pnacl_M24_PPB_ContentDecryptor_Priv ate_NeedKey, 3980 .NeedKey = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, struct PP_Var init_data))&Pnacl_M24_PPB_ContentDecryptor_Priv ate_NeedKey,
3981 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded, 3981 .KeyAdded = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id))&Pnacl_M24_PPB_ContentDecryptor_Private_KeyAdded,
3982 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, PP_Resource message, struct PP_Var default_url))&Pnacl_M24 _PPB_ContentDecryptor_Private_KeyMessage, 3982 .KeyMessage = (void (*)(PP_Instance instance, struct PP_Var key_system, stru ct PP_Var session_id, PP_Resource message, struct PP_Var default_url))&Pnacl_M24 _PPB_ContentDecryptor_Private_KeyMessage,
3983 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M24_PPB_Con tentDecryptor_Private_KeyError, 3983 .KeyError = (void (*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var session_id, int32_t media_error, int32_t system_code))&Pnacl_M24_PPB_Con tentDecryptor_Private_KeyError,
3984 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverBlock, 3984 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverBlock,
3985 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M24_PPB_ContentDe cryptor_Private_DecoderInitializeDone, 3985 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamT ype decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M24_PPB_ContentDe cryptor_Private_DecoderInitializeDone,
3986 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private _DecoderDeinitializeDone, 3986 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStrea mType decoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private _DecoderDeinitializeDone,
3987 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private_Decode rResetDone, 3987 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, uint32_t request_id))&Pnacl_M24_PPB_ContentDecryptor_Private_Decode rResetDone,
3988 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverFrame, 3988 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M24_PPB_Conten tDecryptor_Private_DeliverFrame,
3989 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Content Decryptor_Private_DeliverSamples 3989 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M24_PPB_Content Decryptor_Private_DeliverSamples
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
4293 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration 4293 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration
4294 }; 4294 };
4295 4295
4296 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = { 4296 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat e_0_1 = {
4297 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create, 4297 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific ate_Private_Create,
4298 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate, 4298 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP B_X509Certificate_Private_IsX509CertificatePrivate,
4299 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 4299 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize,
4300 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 4300 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField
4301 }; 4301 };
4302 4302
4303 struct PPP_ContentDecryptor_Private_0_5 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_5 = { 4303 struct PPP_ContentDecryptor_Private_0_6 Pnacl_Wrappers_PPP_ContentDecryptor_Priv ate_0_6 = {
4304 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_GenerateKey Request, 4304 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst em, struct PP_Var type, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor _Private_GenerateKeyRequest,
4305 .AddKey = (void (*)(PP_Instance instance, struct PP_Var session_id, struct P P_Var key, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_AddK ey, 4305 .AddKey = (void (*)(PP_Instance instance, struct PP_Var session_id, struct P P_Var key, struct PP_Var init_data))&Pnacl_M24_PPP_ContentDecryptor_Private_AddK ey,
4306 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest, 4306 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id ))&Pnacl_M24_PPP_ContentDecryptor_Private_CancelKeyRequest,
4307 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M24_PPP_ContentDecr yptor_Private_Decrypt, 4307 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M24_PPP_ContentDecr yptor_Private_Decrypt,
4308 .InitializeAudioDecoder = (void (*)(PP_Instance instance, const struct PP_Au dioDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C ontentDecryptor_Private_InitializeAudioDecoder, 4308 .InitializeAudioDecoder = (void (*)(PP_Instance instance, const struct PP_Au dioDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C ontentDecryptor_Private_InitializeAudioDecoder,
4309 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C ontentDecryptor_Private_InitializeVideoDecoder, 4309 .InitializeVideoDecoder = (void (*)(PP_Instance instance, const struct PP_Vi deoDecoderConfig* decoder_config, PP_Resource codec_extra_data))&Pnacl_M24_PPP_C ontentDecryptor_Private_InitializeVideoDecoder,
4310 .DeinitializeDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamTyp e decoder_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_Dei nitializeDecoder, 4310 .DeinitializeDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamTyp e decoder_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_Dei nitializeDecoder,
4311 .ResetDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamType decod er_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecod er, 4311 .ResetDecoder = (void (*)(PP_Instance instance, PP_DecryptorStreamType decod er_type, uint32_t request_id))&Pnacl_M24_PPP_ContentDecryptor_Private_ResetDecod er,
4312 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* e ncrypted_block_info))&Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode 4312 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_DecryptorStreamType d ecoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* e ncrypted_block_info))&Pnacl_M24_PPP_ContentDecryptor_Private_DecryptAndDecode
4313 }; 4313 };
4314 4314
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
4855 .wrapped_iface = NULL /* Still need slot for real_iface */, 4855 .wrapped_iface = NULL /* Still need slot for real_iface */,
4856 .real_iface = NULL 4856 .real_iface = NULL
4857 }; 4857 };
4858 4858
4859 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = { 4859 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3 = {
4860 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3, 4860 .iface_macro = PPP_ZOOM_DEV_INTERFACE_0_3,
4861 .wrapped_iface = NULL /* Still need slot for real_iface */, 4861 .wrapped_iface = NULL /* Still need slot for real_iface */,
4862 .real_iface = NULL 4862 .real_iface = NULL
4863 }; 4863 };
4864 4864
4865 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_5 = { 4865 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6 = {
4866 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_5, 4866 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_6,
4867 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_5, 4867 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_6,
4868 .real_iface = NULL 4868 .real_iface = NULL
4869 }; 4869 };
4870 4870
4871 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = { 4871 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = {
4872 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1, 4872 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1,
4873 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1, 4873 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1,
4874 .real_iface = NULL 4874 .real_iface = NULL
4875 }; 4875 };
4876 4876
4877 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = { 4877 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0 = {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
5065 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1, 5065 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1,
5066 .real_iface = NULL 5066 .real_iface = NULL
5067 }; 5067 };
5068 5068
5069 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = { 5069 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1 = {
5070 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 5070 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1,
5071 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 5071 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1,
5072 .real_iface = NULL 5072 .real_iface = NULL
5073 }; 5073 };
5074 5074
5075 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_5 = { 5075 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6 = {
5076 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_5, 5076 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_6,
5077 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_5, 5077 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_6,
5078 .real_iface = NULL 5078 .real_iface = NULL
5079 }; 5079 };
5080 5080
5081 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = { 5081 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _0 = {
5082 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0, 5082 .iface_macro = PPP_FLASH_BROWSEROPERATIONS_INTERFACE_1_0,
5083 .wrapped_iface = NULL /* Still need slot for real_iface */, 5083 .wrapped_iface = NULL /* Still need slot for real_iface */,
5084 .real_iface = NULL 5084 .real_iface = NULL
5085 }; 5085 };
5086 5086
5087 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = { 5087 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1 _2 = {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
5172 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5172 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
5173 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5173 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
5174 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5174 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5175 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, 5175 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1,
5176 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5176 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5177 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5177 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5178 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5178 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5179 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5179 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5180 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5180 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5181 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5181 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5182 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_5, 5182 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6,
5183 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5183 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5184 &Pnacl_WrapperInfo_PPB_Flash_12_0, 5184 &Pnacl_WrapperInfo_PPB_Flash_12_0,
5185 &Pnacl_WrapperInfo_PPB_Flash_12_1, 5185 &Pnacl_WrapperInfo_PPB_Flash_12_1,
5186 &Pnacl_WrapperInfo_PPB_Flash_12_2, 5186 &Pnacl_WrapperInfo_PPB_Flash_12_2,
5187 &Pnacl_WrapperInfo_PPB_Flash_12_3, 5187 &Pnacl_WrapperInfo_PPB_Flash_12_3,
5188 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5188 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5189 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5189 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5190 &Pnacl_WrapperInfo_PPB_Flash_12_6, 5190 &Pnacl_WrapperInfo_PPB_Flash_12_6,
5191 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, 5191 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0,
5192 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5192 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
5225 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5225 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5226 &Pnacl_WrapperInfo_PPP_MouseLock_1_0, 5226 &Pnacl_WrapperInfo_PPP_MouseLock_1_0,
5227 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6, 5227 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6,
5228 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1, 5228 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1,
5229 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1, 5229 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1,
5230 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9, 5230 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9,
5231 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10, 5231 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10,
5232 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11, 5232 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11,
5233 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2, 5233 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2,
5234 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3, 5234 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3,
5235 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_5, 5235 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_6,
5236 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0, 5236 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0,
5237 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2, 5237 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_2,
5238 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3, 5238 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_3,
5239 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5239 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1,
5240 NULL 5240 NULL
5241 }; 5241 };
5242 5242
5243 5243
5244 5244
5245 static PPB_GetInterface __real_PPBGetInterface; 5245 static PPB_GetInterface __real_PPBGetInterface;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5311 } 5311 }
5312 5312
5313 if (wrapper->wrapped_iface) { 5313 if (wrapper->wrapped_iface) {
5314 return wrapper->wrapped_iface; 5314 return wrapper->wrapped_iface;
5315 } else { 5315 } else {
5316 return wrapper->real_iface; 5316 return wrapper->real_iface;
5317 } 5317 }
5318 } 5318 }
5319 5319
5320 #endif 5320 #endif
OLDNEW
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698