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

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

Issue 1726303003: ppapi: PPB_VpnProvider: Define API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove GetUnbindEvent Created 4 years, 7 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
« no previous file with comments | « ppapi/cpp/vpn_provider.cc ('k') | ppapi/ppapi_shared.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) 2016 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2016 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "ppapi/c/ppb_udp_socket.h" 42 #include "ppapi/c/ppb_udp_socket.h"
43 #include "ppapi/c/ppb_url_loader.h" 43 #include "ppapi/c/ppb_url_loader.h"
44 #include "ppapi/c/ppb_url_request_info.h" 44 #include "ppapi/c/ppb_url_request_info.h"
45 #include "ppapi/c/ppb_url_response_info.h" 45 #include "ppapi/c/ppb_url_response_info.h"
46 #include "ppapi/c/ppb_var.h" 46 #include "ppapi/c/ppb_var.h"
47 #include "ppapi/c/ppb_var_array.h" 47 #include "ppapi/c/ppb_var_array.h"
48 #include "ppapi/c/ppb_var_array_buffer.h" 48 #include "ppapi/c/ppb_var_array_buffer.h"
49 #include "ppapi/c/ppb_var_dictionary.h" 49 #include "ppapi/c/ppb_var_dictionary.h"
50 #include "ppapi/c/ppb_video_decoder.h" 50 #include "ppapi/c/ppb_video_decoder.h"
51 #include "ppapi/c/ppb_video_encoder.h" 51 #include "ppapi/c/ppb_video_encoder.h"
52 #include "ppapi/c/ppb_vpn_provider.h"
52 #include "ppapi/c/ppb_websocket.h" 53 #include "ppapi/c/ppb_websocket.h"
53 #include "ppapi/c/ppp_messaging.h" 54 #include "ppapi/c/ppp_messaging.h"
54 #include "ppapi/c/private/ppb_camera_device_private.h" 55 #include "ppapi/c/private/ppb_camera_device_private.h"
55 #include "ppapi/c/private/ppb_content_decryptor_private.h" 56 #include "ppapi/c/private/ppb_content_decryptor_private.h"
56 #include "ppapi/c/private/ppb_display_color_profile_private.h" 57 #include "ppapi/c/private/ppb_display_color_profile_private.h"
57 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 58 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
58 #include "ppapi/c/private/ppb_file_io_private.h" 59 #include "ppapi/c/private/ppb_file_io_private.h"
59 #include "ppapi/c/private/ppb_file_ref_private.h" 60 #include "ppapi/c/private/ppb_file_ref_private.h"
60 #include "ppapi/c/private/ppb_flash.h" 61 #include "ppapi/c/private/ppb_flash.h"
61 #include "ppapi/c/private/ppb_flash_clipboard.h" 62 #include "ppapi/c/private/ppb_flash_clipboard.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VpnProvider_0_1;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2504 /* End wrapper methods for PPB_VideoEncoder_0_2 */ 2506 /* End wrapper methods for PPB_VideoEncoder_0_2 */
2505 2507
2506 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ 2508 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */
2507 2509
2508 /* Not generating wrapper methods for PPB_View_1_0 */ 2510 /* Not generating wrapper methods for PPB_View_1_0 */
2509 2511
2510 /* Not generating wrapper methods for PPB_View_1_1 */ 2512 /* Not generating wrapper methods for PPB_View_1_1 */
2511 2513
2512 /* Not generating wrapper methods for PPB_View_1_2 */ 2514 /* Not generating wrapper methods for PPB_View_1_2 */
2513 2515
2516 /* Begin wrapper methods for PPB_VpnProvider_0_1 */
2517
2518 static PP_Resource Pnacl_M52_PPB_VpnProvider_Create(PP_Instance instance) {
2519 const struct PPB_VpnProvider_0_1 *iface = Pnacl_WrapperInfo_PPB_VpnProvider_0_ 1.real_iface;
2520 return iface->Create(instance);
2521 }
2522
2523 static PP_Bool Pnacl_M52_PPB_VpnProvider_IsVpnProvider(PP_Resource resource) {
2524 const struct PPB_VpnProvider_0_1 *iface = Pnacl_WrapperInfo_PPB_VpnProvider_0_ 1.real_iface;
2525 return iface->IsVpnProvider(resource);
2526 }
2527
2528 static int32_t Pnacl_M52_PPB_VpnProvider_Bind(PP_Resource vpn_provider, struct P P_Var* configuration_id, struct PP_Var* configuration_name, struct PP_Completion Callback* callback) {
2529 const struct PPB_VpnProvider_0_1 *iface = Pnacl_WrapperInfo_PPB_VpnProvider_0_ 1.real_iface;
2530 return iface->Bind(vpn_provider, *configuration_id, *configuration_name, *call back);
2531 }
2532
2533 static int32_t Pnacl_M52_PPB_VpnProvider_SendPacket(PP_Resource vpn_provider, st ruct PP_Var* packet, struct PP_CompletionCallback* callback) {
2534 const struct PPB_VpnProvider_0_1 *iface = Pnacl_WrapperInfo_PPB_VpnProvider_0_ 1.real_iface;
2535 return iface->SendPacket(vpn_provider, *packet, *callback);
2536 }
2537
2538 static int32_t Pnacl_M52_PPB_VpnProvider_ReceivePacket(PP_Resource vpn_provider, struct PP_Var* packet, struct PP_CompletionCallback* callback) {
2539 const struct PPB_VpnProvider_0_1 *iface = Pnacl_WrapperInfo_PPB_VpnProvider_0_ 1.real_iface;
2540 return iface->ReceivePacket(vpn_provider, packet, *callback);
2541 }
2542
2543 /* End wrapper methods for PPB_VpnProvider_0_1 */
2544
2514 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 2545 /* Begin wrapper methods for PPB_WebSocket_1_0 */
2515 2546
2516 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 2547 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) {
2517 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 2548 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
2518 return iface->Create(instance); 2549 return iface->Create(instance);
2519 } 2550 }
2520 2551
2521 static PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) { 2552 static PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) {
2522 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 2553 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
2523 return iface->IsWebSocket(resource); 2554 return iface->IsWebSocket(resource);
(...skipping 2767 matching lines...) Expand 10 before | Expand all | Expand 10 after
5291 }; 5322 };
5292 5323
5293 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ 5324 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */
5294 5325
5295 /* Not generating wrapper interface for PPB_View_1_0 */ 5326 /* Not generating wrapper interface for PPB_View_1_0 */
5296 5327
5297 /* Not generating wrapper interface for PPB_View_1_1 */ 5328 /* Not generating wrapper interface for PPB_View_1_1 */
5298 5329
5299 /* Not generating wrapper interface for PPB_View_1_2 */ 5330 /* Not generating wrapper interface for PPB_View_1_2 */
5300 5331
5332 static const struct PPB_VpnProvider_0_1 Pnacl_Wrappers_PPB_VpnProvider_0_1 = {
5333 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M52_PPB_VpnProvider_ Create,
5334 .IsVpnProvider = (PP_Bool (*)(PP_Resource resource))&Pnacl_M52_PPB_VpnProvid er_IsVpnProvider,
5335 .Bind = (int32_t (*)(PP_Resource vpn_provider, struct PP_Var configuration_i d, struct PP_Var configuration_name, struct PP_CompletionCallback callback))&Pna cl_M52_PPB_VpnProvider_Bind,
5336 .SendPacket = (int32_t (*)(PP_Resource vpn_provider, struct PP_Var packet, s truct PP_CompletionCallback callback))&Pnacl_M52_PPB_VpnProvider_SendPacket,
5337 .ReceivePacket = (int32_t (*)(PP_Resource vpn_provider, struct PP_Var* packe t, struct PP_CompletionCallback callback))&Pnacl_M52_PPB_VpnProvider_ReceivePack et
5338 };
5339
5301 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 5340 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = {
5302 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate, 5341 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate,
5303 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket, 5342 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket,
5304 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect, 5343 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect,
5305 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 5344 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close,
5306 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e, 5345 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e,
5307 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))& Pnacl_M18_PPB_WebSocket_SendMessage, 5346 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))& Pnacl_M18_PPB_WebSocket_SendMessage,
5308 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We bSocket_GetBufferedAmount, 5347 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We bSocket_GetBufferedAmount,
5309 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSock et_GetCloseCode, 5348 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSock et_GetCloseCode,
5310 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_ WebSocket_GetCloseReason, 5349 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_ WebSocket_GetCloseReason,
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
6246 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_1, 6285 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_1,
6247 .real_iface = NULL 6286 .real_iface = NULL
6248 }; 6287 };
6249 6288
6250 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2 = { 6289 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2 = {
6251 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_2, 6290 .iface_macro = PPB_VIDEOENCODER_INTERFACE_0_2,
6252 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_2, 6291 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoEncoder_0_2,
6253 .real_iface = NULL 6292 .real_iface = NULL
6254 }; 6293 };
6255 6294
6295 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VpnProvider_0_1 = {
6296 .iface_macro = PPB_VPNPROVIDER_INTERFACE_0_1,
6297 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VpnProvider_0_1,
6298 .real_iface = NULL
6299 };
6300
6256 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 6301 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = {
6257 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 6302 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0,
6258 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 6303 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0,
6259 .real_iface = NULL 6304 .real_iface = NULL
6260 }; 6305 };
6261 6306
6262 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { 6307 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = {
6263 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, 6308 .iface_macro = PPP_MESSAGING_INTERFACE_1_0,
6264 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, 6309 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0,
6265 .real_iface = NULL 6310 .real_iface = NULL
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
6634 &Pnacl_WrapperInfo_PPB_Var_1_2, 6679 &Pnacl_WrapperInfo_PPB_Var_1_2,
6635 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 6680 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
6636 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 6681 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
6637 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 6682 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
6638 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, 6683 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1,
6639 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, 6684 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2,
6640 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, 6685 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0,
6641 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, 6686 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1,
6642 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, 6687 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1,
6643 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, 6688 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2,
6689 &Pnacl_WrapperInfo_PPB_VpnProvider_0_1,
6644 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 6690 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
6645 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 6691 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3,
6646 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 6692 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4,
6647 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 6693 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1,
6648 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 6694 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5,
6649 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6695 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
6650 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6696 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
6651 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6697 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
6652 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 6698 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
6653 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 6699 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
6764 6810
6765 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6811 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6766 if (wrapper->real_iface == NULL) { 6812 if (wrapper->real_iface == NULL) {
6767 const void *iface = (*__real_PPPGetInterface)(name); 6813 const void *iface = (*__real_PPPGetInterface)(name);
6768 if (NULL == iface) return NULL; 6814 if (NULL == iface) return NULL;
6769 wrapper->real_iface = iface; 6815 wrapper->real_iface = iface;
6770 } 6816 }
6771 6817
6772 return wrapper->wrapped_iface; 6818 return wrapper->wrapped_iface;
6773 } 6819 }
OLDNEW
« no previous file with comments | « ppapi/cpp/vpn_provider.cc ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698