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

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

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rough patch. Starting testing. Created 6 years, 11 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/c/ppb_file_mapping.h ('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_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
11 #include "ppapi/c/dev/ppb_audio_input_dev.h" 11 #include "ppapi/c/dev/ppb_audio_input_dev.h"
12 #include "ppapi/c/dev/ppb_buffer_dev.h" 12 #include "ppapi/c/dev/ppb_buffer_dev.h"
13 #include "ppapi/c/dev/ppb_crypto_dev.h" 13 #include "ppapi/c/dev/ppb_crypto_dev.h"
14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 14 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
15 #include "ppapi/c/dev/ppb_device_ref_dev.h" 15 #include "ppapi/c/dev/ppb_device_ref_dev.h"
16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 16 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
17 #include "ppapi/c/dev/ppb_file_io_dev.h"
18 #include "ppapi/c/dev/ppb_find_dev.h" 17 #include "ppapi/c/dev/ppb_find_dev.h"
19 #include "ppapi/c/dev/ppb_font_dev.h" 18 #include "ppapi/c/dev/ppb_font_dev.h"
20 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" 19 #include "ppapi/c/dev/ppb_graphics_2d_dev.h"
21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 20 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
22 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 21 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
23 #include "ppapi/c/dev/ppb_memory_dev.h" 22 #include "ppapi/c/dev/ppb_memory_dev.h"
24 #include "ppapi/c/dev/ppb_printing_dev.h" 23 #include "ppapi/c/dev/ppb_printing_dev.h"
25 #include "ppapi/c/dev/ppb_resource_array_dev.h" 24 #include "ppapi/c/dev/ppb_resource_array_dev.h"
26 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 25 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
27 #include "ppapi/c/dev/ppb_text_input_dev.h" 26 #include "ppapi/c/dev/ppb_text_input_dev.h"
(...skipping 14 matching lines...) Expand all
42 #include "ppapi/c/dev/ppp_video_capture_dev.h" 41 #include "ppapi/c/dev/ppp_video_capture_dev.h"
43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 42 #include "ppapi/c/dev/ppp_video_decoder_dev.h"
44 #include "ppapi/c/dev/ppp_widget_dev.h" 43 #include "ppapi/c/dev/ppp_widget_dev.h"
45 #include "ppapi/c/dev/ppp_zoom_dev.h" 44 #include "ppapi/c/dev/ppp_zoom_dev.h"
46 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 45 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h"
47 #include "ppapi/c/ppb_audio.h" 46 #include "ppapi/c/ppb_audio.h"
48 #include "ppapi/c/ppb_audio_config.h" 47 #include "ppapi/c/ppb_audio_config.h"
49 #include "ppapi/c/ppb_console.h" 48 #include "ppapi/c/ppb_console.h"
50 #include "ppapi/c/ppb_core.h" 49 #include "ppapi/c/ppb_core.h"
51 #include "ppapi/c/ppb_file_io.h" 50 #include "ppapi/c/ppb_file_io.h"
51 #include "ppapi/c/ppb_file_mapping.h"
52 #include "ppapi/c/ppb_file_ref.h" 52 #include "ppapi/c/ppb_file_ref.h"
53 #include "ppapi/c/ppb_file_system.h" 53 #include "ppapi/c/ppb_file_system.h"
54 #include "ppapi/c/ppb_fullscreen.h" 54 #include "ppapi/c/ppb_fullscreen.h"
55 #include "ppapi/c/ppb_gamepad.h" 55 #include "ppapi/c/ppb_gamepad.h"
56 #include "ppapi/c/ppb_graphics_2d.h" 56 #include "ppapi/c/ppb_graphics_2d.h"
57 #include "ppapi/c/ppb_graphics_3d.h" 57 #include "ppapi/c/ppb_graphics_3d.h"
58 #include "ppapi/c/ppb_host_resolver.h" 58 #include "ppapi/c/ppb_host_resolver.h"
59 #include "ppapi/c/ppb_image_data.h" 59 #include "ppapi/c/ppb_image_data.h"
60 #include "ppapi/c/ppb_input_event.h" 60 #include "ppapi/c/ppb_input_event.h"
61 #include "ppapi/c/ppb_instance.h" 61 #include "ppapi/c/ppb_instance.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 return (int)(*s1) - (int)(*s2); 136 return (int)(*s1) - (int)(*s2);
137 } 137 }
138 138
139 /* BEGIN Declarations for all Wrapper Infos */ 139 /* BEGIN Declarations for all Wrapper Infos */
140 140
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
(...skipping 21 matching lines...) Expand all
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1;
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3;
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4;
183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1;
184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5;
185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1;
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 2; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 2;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 iface->Close(file_io); 402 iface->Close(file_io);
403 } 403 }
404 404
405 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t off set, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_Completio nCallback* callback) { 405 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t off set, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_Completio nCallback* callback) {
406 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_ifa ce; 406 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_ifa ce;
407 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback) ; 407 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback) ;
408 } 408 }
409 409
410 /* End wrapper methods for PPB_FileIO_1_1 */ 410 /* End wrapper methods for PPB_FileIO_1_1 */
411 411
412 /* Begin wrapper methods for PPB_FileMapping_0_1 */
413
414 static int32_t Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance, PP_Resource f ile_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t off set, void** address, struct PP_CompletionCallback* callback) {
415 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_ 1.real_iface;
416 return iface->Map(instance, file_io, length, map_protection, map_flags, offset , address, *callback);
417 }
418
419 static void Pnacl_M34_PPB_FileMapping_Unmap(PP_Instance file_io, void* address, int64_t length) {
420 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_ 1.real_iface;
421 iface->Unmap(file_io, address, length);
422 }
423
424 static int64_t Pnacl_M34_PPB_FileMapping_GetMapPageSize(PP_Instance file_io) {
425 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_ 1.real_iface;
426 return iface->GetMapPageSize(file_io);
427 }
428
429 /* End wrapper methods for PPB_FileMapping_0_1 */
430
412 /* Begin wrapper methods for PPB_FileRef_1_0 */ 431 /* Begin wrapper methods for PPB_FileRef_1_0 */
413 432
414 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const c har* path) { 433 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const c har* path) {
415 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face; 434 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face;
416 return iface->Create(file_system, path); 435 return iface->Create(file_system, path);
417 } 436 }
418 437
419 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) { 438 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) {
420 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face; 439 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face;
421 return iface->IsFileRef(resource); 440 return iface->IsFileRef(resource);
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 return iface->IsFileChooser(resource); 1875 return iface->IsFileChooser(resource);
1857 } 1876 }
1858 1877
1859 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP _ArrayOutput* output, struct PP_CompletionCallback* callback) { 1878 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP _ArrayOutput* output, struct PP_CompletionCallback* callback) {
1860 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose r_Dev_0_6.real_iface; 1879 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose r_Dev_0_6.real_iface;
1861 return iface->Show(chooser, *output, *callback); 1880 return iface->Show(chooser, *output, *callback);
1862 } 1881 }
1863 1882
1864 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ 1883 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */
1865 1884
1866 /* Begin wrapper methods for PPB_FileIO_Dev_0_1 */
1867
1868 static int32_t Pnacl_M31_PPB_FileIO_Dev_Map(PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, st ruct PP_CompletionCallback* callback) {
1869 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1. real_iface;
1870 return iface->Map(file_io, length, map_protection, map_flags, offset, address, *callback);
1871 }
1872
1873 static void Pnacl_M31_PPB_FileIO_Dev_Unmap(PP_Resource file_io, void* address, i nt64_t length) {
1874 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1. real_iface;
1875 iface->Unmap(file_io, address, length);
1876 }
1877
1878 static int64_t Pnacl_M31_PPB_FileIO_Dev_GetMapPageSize(PP_Resource file_io) {
1879 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1. real_iface;
1880 return iface->GetMapPageSize(file_io);
1881 }
1882
1883 /* End wrapper methods for PPB_FileIO_Dev_0_1 */
1884
1885 /* Not generating wrapper methods for PPB_Find_Dev_0_3 */ 1885 /* Not generating wrapper methods for PPB_Find_Dev_0_3 */
1886 1886
1887 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ 1887 /* Begin wrapper methods for PPB_Font_Dev_0_6 */
1888 1888
1889 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result , PP_Instance instance) { 1889 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result , PP_Instance instance) {
1890 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real _iface; 1890 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real _iface;
1891 *_struct_result = iface->GetFontFamilies(instance); 1891 *_struct_result = iface->GetFontFamilies(instance);
1892 } 1892 }
1893 1893
1894 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str uct PP_FontDescription_Dev* description) { 1894 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str uct PP_FontDescription_Dev* description) {
(...skipping 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after
4065 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query, 4065 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query,
4066 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileI O_Touch, 4066 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileI O_Touch,
4067 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3 2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_ Read, 4067 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3 2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_ Read,
4068 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB _FileIO_Write, 4068 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB _FileIO_Write,
4069 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_Com pletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength, 4069 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_Com pletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength,
4070 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback call back))&Pnacl_M25_PPB_FileIO_Flush, 4070 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback call back))&Pnacl_M25_PPB_FileIO_Flush,
4071 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close, 4071 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close,
4072 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max _read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callba ck))&Pnacl_M25_PPB_FileIO_ReadToArray 4072 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max _read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callba ck))&Pnacl_M25_PPB_FileIO_ReadToArray
4073 }; 4073 };
4074 4074
4075 struct PPB_FileMapping_0_1 Pnacl_Wrappers_PPB_FileMapping_0_1 = {
4076 .Map = (int32_t (*)(PP_Instance instance, PP_Resource file_io, int64_t lengt h, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Map,
4077 .Unmap = (void (*)(PP_Instance file_io, void* address, int64_t length))&Pnac l_M34_PPB_FileMapping_Unmap,
4078 .GetMapPageSize = (int64_t (*)(PP_Instance file_io))&Pnacl_M34_PPB_FileMappi ng_GetMapPageSize
4079 };
4080
4075 struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = { 4081 struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = {
4076 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl _M14_PPB_FileRef_Create, 4082 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl _M14_PPB_FileRef_Create,
4077 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFil eRef, 4083 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFil eRef,
4078 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType, 4084 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType,
4079 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName, 4085 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName,
4080 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath, 4086 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath,
4081 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent, 4087 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent,
4082 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory , 4088 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory ,
4083 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_File Ref_Touch, 4089 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_File Ref_Touch,
4084 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete, 4090 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete,
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
4484 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, 4490 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb ack))&Pnacl_M16_PPB_FileChooser_Dev_Show,
4485 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi leChooser_Dev_GetNextChosenFile 4491 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi leChooser_Dev_GetNextChosenFile
4486 }; 4492 };
4487 4493
4488 struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = { 4494 struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = {
4489 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode , struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, 4495 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode , struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create,
4490 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos er_Dev_IsFileChooser, 4496 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos er_Dev_IsFileChooser,
4491 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show 4497 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show
4492 }; 4498 };
4493 4499
4494 struct PPB_FileIO_Dev_0_1 Pnacl_Wrappers_PPB_FileIO_Dev_0_1 = {
4495 .Map = (int32_t (*)(PP_Resource file_io, int64_t length, uint32_t map_protec tion, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCa llback callback))&Pnacl_M31_PPB_FileIO_Dev_Map,
4496 .Unmap = (void (*)(PP_Resource file_io, void* address, int64_t length))&Pnac l_M31_PPB_FileIO_Dev_Unmap,
4497 .GetMapPageSize = (int64_t (*)(PP_Resource file_io))&Pnacl_M31_PPB_FileIO_De v_GetMapPageSize
4498 };
4499
4500 /* Not generating wrapper interface for PPB_Find_Dev_0_3 */ 4500 /* Not generating wrapper interface for PPB_Find_Dev_0_3 */
4501 4501
4502 struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { 4502 struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = {
4503 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F ont_Dev_GetFontFamilies, 4503 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F ont_Dev_GetFontFamilies,
4504 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, 4504 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create,
4505 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, 4505 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont,
4506 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, 4506 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe,
4507 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s truct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, con st struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_D rawTextAt, 4507 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s truct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, con st struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_D rawTextAt,
4508 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, 4508 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t ext))&Pnacl_M14_PPB_Font_Dev_MeasureText,
4509 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse tForPixel, 4509 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse tForPixel,
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
5105 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_0, 5105 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_0,
5106 .real_iface = NULL 5106 .real_iface = NULL
5107 }; 5107 };
5108 5108
5109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = { 5109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = {
5110 .iface_macro = PPB_FILEIO_INTERFACE_1_1, 5110 .iface_macro = PPB_FILEIO_INTERFACE_1_1,
5111 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, 5111 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1,
5112 .real_iface = NULL 5112 .real_iface = NULL
5113 }; 5113 };
5114 5114
5115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1 = {
5116 .iface_macro = PPB_FILEMAPPING_INTERFACE_0_1,
5117 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileMapping_0_1,
5118 .real_iface = NULL
5119 };
5120
5115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { 5121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = {
5116 .iface_macro = PPB_FILEREF_INTERFACE_1_0, 5122 .iface_macro = PPB_FILEREF_INTERFACE_1_0,
5117 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 5123 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0,
5118 .real_iface = NULL 5124 .real_iface = NULL
5119 }; 5125 };
5120 5126
5121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { 5127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = {
5122 .iface_macro = PPB_FILEREF_INTERFACE_1_1, 5128 .iface_macro = PPB_FILEREF_INTERFACE_1_1,
5123 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, 5129 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1,
5124 .real_iface = NULL 5130 .real_iface = NULL
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
5351 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, 5357 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5,
5352 .real_iface = NULL 5358 .real_iface = NULL
5353 }; 5359 };
5354 5360
5355 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { 5361 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = {
5356 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, 5362 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6,
5357 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, 5363 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6,
5358 .real_iface = NULL 5364 .real_iface = NULL
5359 }; 5365 };
5360 5366
5361 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1 = {
5362 .iface_macro = PPB_FILEIO_DEV_INTERFACE_0_1,
5363 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_Dev_0_1,
5364 .real_iface = NULL
5365 };
5366
5367 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { 5367 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = {
5368 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, 5368 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6,
5369 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, 5369 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6,
5370 .real_iface = NULL 5370 .real_iface = NULL
5371 }; 5371 };
5372 5372
5373 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { 5373 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = {
5374 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, 5374 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1,
5375 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, 5375 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1,
5376 .real_iface = NULL 5376 .real_iface = NULL
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
5686 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, 5686 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2,
5687 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, 5687 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2,
5688 .real_iface = NULL 5688 .real_iface = NULL
5689 }; 5689 };
5690 5690
5691 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 5691 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
5692 &Pnacl_WrapperInfo_PPB_Console_1_0, 5692 &Pnacl_WrapperInfo_PPB_Console_1_0,
5693 &Pnacl_WrapperInfo_PPB_Core_1_0, 5693 &Pnacl_WrapperInfo_PPB_Core_1_0,
5694 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 5694 &Pnacl_WrapperInfo_PPB_FileIO_1_0,
5695 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 5695 &Pnacl_WrapperInfo_PPB_FileIO_1_1,
5696 &Pnacl_WrapperInfo_PPB_FileMapping_0_1,
5696 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 5697 &Pnacl_WrapperInfo_PPB_FileRef_1_0,
5697 &Pnacl_WrapperInfo_PPB_FileRef_1_1, 5698 &Pnacl_WrapperInfo_PPB_FileRef_1_1,
5698 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5699 &Pnacl_WrapperInfo_PPB_FileSystem_1_0,
5699 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5700 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5700 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5701 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1,
5701 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5702 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5702 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5703 &Pnacl_WrapperInfo_PPB_HostResolver_1_0,
5703 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5704 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5704 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5705 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5705 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5706 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
(...skipping 20 matching lines...) Expand all
5726 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 5727 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
5727 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5728 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
5728 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 5729 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
5729 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5730 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
5730 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1, 5731 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1,
5731 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 5732 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3,
5732 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 5733 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4,
5733 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 5734 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1,
5734 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 5735 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5,
5735 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 5736 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
5736 &Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1,
5737 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 5737 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
5738 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 5738 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
5739 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 5739 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
5740 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2, 5740 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2,
5741 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5741 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
5742 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5742 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5743 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5743 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5744 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 5744 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
5745 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1, 5745 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1,
5746 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5746 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
5865 if (NULL == iface) return NULL; 5865 if (NULL == iface) return NULL;
5866 wrapper->real_iface = iface; 5866 wrapper->real_iface = iface;
5867 } 5867 }
5868 5868
5869 if (wrapper->wrapped_iface) { 5869 if (wrapper->wrapped_iface) {
5870 return wrapper->wrapped_iface; 5870 return wrapper->wrapped_iface;
5871 } else { 5871 } else {
5872 return wrapper->real_iface; 5872 return wrapper->real_iface;
5873 } 5873 }
5874 } 5874 }
OLDNEW
« no previous file with comments | « ppapi/c/ppb_file_mapping.h ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698