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

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

Issue 16282005: Introduce PPB_UDPSocket_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 months 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/dev/udp_socket_dev.cc ('k') | ppapi/ppapi_proxy.gypi » ('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) 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 10 matching lines...) Expand all
21 #include "ppapi/c/dev/ppb_memory_dev.h" 21 #include "ppapi/c/dev/ppb_memory_dev.h"
22 #include "ppapi/c/dev/ppb_net_address_dev.h" 22 #include "ppapi/c/dev/ppb_net_address_dev.h"
23 #include "ppapi/c/dev/ppb_printing_dev.h" 23 #include "ppapi/c/dev/ppb_printing_dev.h"
24 #include "ppapi/c/dev/ppb_resource_array_dev.h" 24 #include "ppapi/c/dev/ppb_resource_array_dev.h"
25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 25 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
26 #include "ppapi/c/dev/ppb_tcp_socket_dev.h" 26 #include "ppapi/c/dev/ppb_tcp_socket_dev.h"
27 #include "ppapi/c/dev/ppb_testing_dev.h" 27 #include "ppapi/c/dev/ppb_testing_dev.h"
28 #include "ppapi/c/dev/ppb_text_input_dev.h" 28 #include "ppapi/c/dev/ppb_text_input_dev.h"
29 #include "ppapi/c/dev/ppb_trace_event_dev.h" 29 #include "ppapi/c/dev/ppb_trace_event_dev.h"
30 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 30 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
31 #include "ppapi/c/dev/ppb_udp_socket_dev.h"
31 #include "ppapi/c/dev/ppb_url_util_dev.h" 32 #include "ppapi/c/dev/ppb_url_util_dev.h"
32 #include "ppapi/c/dev/ppb_var_array_dev.h" 33 #include "ppapi/c/dev/ppb_var_array_dev.h"
33 #include "ppapi/c/dev/ppb_var_dictionary_dev.h" 34 #include "ppapi/c/dev/ppb_var_dictionary_dev.h"
34 #include "ppapi/c/dev/ppb_video_capture_dev.h" 35 #include "ppapi/c/dev/ppb_video_capture_dev.h"
35 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 36 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
36 #include "ppapi/c/dev/ppb_view_dev.h" 37 #include "ppapi/c/dev/ppb_view_dev.h"
37 #include "ppapi/c/dev/ppb_widget_dev.h" 38 #include "ppapi/c/dev/ppb_widget_dev.h"
38 #include "ppapi/c/dev/ppb_zoom_dev.h" 39 #include "ppapi/c/dev/ppb_zoom_dev.h"
39 #include "ppapi/c/dev/ppp_network_state_dev.h" 40 #include "ppapi/c/dev/ppp_network_state_dev.h"
40 #include "ppapi/c/dev/ppp_printing_dev.h" 41 #include "ppapi/c/dev/ppp_printing_dev.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1;
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3;
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
(...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 return iface->GetTableTags(font, *output, *callback); 1944 return iface->GetTableTags(font, *output, *callback);
1943 } 1945 }
1944 1946
1945 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_ t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 1947 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_ t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) {
1946 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface; 1948 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface;
1947 return iface->GetTable(font, table, offset, max_data_length, *output, *callbac k); 1949 return iface->GetTable(font, table, offset, max_data_length, *output, *callbac k);
1948 } 1950 }
1949 1951
1950 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 1952 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */
1951 1953
1954 /* Begin wrapper methods for PPB_UDPSocket_Dev_0_1 */
1955
1956 static PP_Resource Pnacl_M29_PPB_UDPSocket_Dev_Create(PP_Instance instance) {
1957 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1958 return iface->Create(instance);
1959 }
1960
1961 static PP_Bool Pnacl_M29_PPB_UDPSocket_Dev_IsUDPSocket(PP_Resource resource) {
1962 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1963 return iface->IsUDPSocket(resource);
1964 }
1965
1966 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_Bind(PP_Resource udp_socket, PP_Resou rce addr, struct PP_CompletionCallback* callback) {
1967 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1968 return iface->Bind(udp_socket, addr, *callback);
1969 }
1970
1971 static PP_Resource Pnacl_M29_PPB_UDPSocket_Dev_GetBoundAddress(PP_Resource udp_s ocket) {
1972 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1973 return iface->GetBoundAddress(udp_socket);
1974 }
1975
1976 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_RecvFrom(PP_Resource udp_socket, char * buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback* ca llback) {
1977 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1978 return iface->RecvFrom(udp_socket, buffer, num_bytes, addr, *callback);
1979 }
1980
1981 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback* callback) {
1982 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1983 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback);
1984 }
1985
1986 static void Pnacl_M29_PPB_UDPSocket_Dev_Close(PP_Resource udp_socket) {
1987 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1988 iface->Close(udp_socket);
1989 }
1990
1991 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_SetOption(PP_Resource udp_socket, PP_ UDPSocket_Option_Dev name, struct PP_Var* value, struct PP_CompletionCallback* c allback) {
1992 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De v_0_1.real_iface;
1993 return iface->SetOption(udp_socket, name, *value, *callback);
1994 }
1995
1996 /* End wrapper methods for PPB_UDPSocket_Dev_0_1 */
1997
1952 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */ 1998 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */
1953 1999
1954 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result , struct PP_Var* url, struct PP_URLComponents_Dev* components) { 2000 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result , struct PP_Var* url, struct PP_URLComponents_Dev* components) {
1955 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 2001 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
1956 *_struct_result = iface->Canonicalize(*url, components); 2002 *_struct_result = iface->Canonicalize(*url, components);
1957 } 2003 }
1958 2004
1959 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struc t_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URL Components_Dev* components) { 2005 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struc t_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URL Components_Dev* components) {
1960 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 2006 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
1961 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, com ponents); 2007 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, com ponents);
(...skipping 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after
4282 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { 4328 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = {
4283 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G etFontFamilies, 4329 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G etFontFamilies,
4284 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26 _PPB_TrueTypeFont_Dev_GetFontsInFamily, 4330 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26 _PPB_TrueTypeFont_Dev_GetFontsInFamily,
4285 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, 4331 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create,
4286 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType Font_Dev_IsTrueTypeFont, 4332 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType Font_Dev_IsTrueTypeFont,
4287 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc ribe, 4333 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc ribe,
4288 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable Tags, 4334 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable Tags,
4289 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, i nt32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallba ck callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable 4335 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, i nt32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallba ck callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
4290 }; 4336 };
4291 4337
4338 struct PPB_UDPSocket_Dev_0_1 Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1 = {
4339 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_De v_Create,
4340 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_D ev_IsUDPSocket,
4341 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_Com pletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Dev_Bind,
4342 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_U DPSocket_Dev_GetBoundAddress,
4343 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b ytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U DPSocket_Dev_RecvFrom,
4344 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n um_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PP B_UDPSocket_Dev_SendTo,
4345 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Dev_Clos e,
4346 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option_Dev na me, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U DPSocket_Dev_SetOption
4347 };
4348
4292 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { 4349 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = {
4293 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4350 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize,
4294 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP _Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR LUtil_Dev_ResolveRelativeToURL, 4351 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP _Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR LUtil_Dev_ResolveRelativeToURL,
4295 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4352 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4296 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4353 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4297 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4354 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest,
4298 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4355 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4299 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4356 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL,
4300 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4357 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4301 }; 4358 };
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
5264 .wrapped_iface = NULL /* Still need slot for real_iface */, 5321 .wrapped_iface = NULL /* Still need slot for real_iface */,
5265 .real_iface = NULL 5322 .real_iface = NULL
5266 }; 5323 };
5267 5324
5268 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = { 5325 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = {
5269 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, 5326 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1,
5270 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5327 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1,
5271 .real_iface = NULL 5328 .real_iface = NULL
5272 }; 5329 };
5273 5330
5331 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1 = {
5332 .iface_macro = PPB_UDPSOCKET_DEV_INTERFACE_0_1,
5333 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1,
5334 .real_iface = NULL
5335 };
5336
5274 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5337 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = {
5275 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5338 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6,
5276 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5339 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6,
5277 .real_iface = NULL 5340 .real_iface = NULL
5278 }; 5341 };
5279 5342
5280 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = { 5343 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = {
5281 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1, 5344 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1,
5282 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1, 5345 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1,
5283 .real_iface = NULL 5346 .real_iface = NULL
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
5770 &Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1, 5833 &Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1,
5771 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, 5834 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7,
5772 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, 5835 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8,
5773 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5836 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5774 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5837 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5775 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, 5838 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92,
5776 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5839 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
5777 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5840 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
5778 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, 5841 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1,
5779 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5842 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5843 &Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1,
5780 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5844 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5781 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1, 5845 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1,
5782 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1, 5846 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1,
5783 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5847 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5784 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5848 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5785 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5849 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5786 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5850 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5787 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5851 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5788 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5852 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5789 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5853 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
5931 if (NULL == iface) return NULL; 5995 if (NULL == iface) return NULL;
5932 wrapper->real_iface = iface; 5996 wrapper->real_iface = iface;
5933 } 5997 }
5934 5998
5935 if (wrapper->wrapped_iface) { 5999 if (wrapper->wrapped_iface) {
5936 return wrapper->wrapped_iface; 6000 return wrapper->wrapped_iface;
5937 } else { 6001 } else {
5938 return wrapper->real_iface; 6002 return wrapper->real_iface;
5939 } 6003 }
5940 } 6004 }
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/udp_socket_dev.cc ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698