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

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

Issue 113363004: PPAPI: Add new PPB_FileRef.MakeDirectory to support exclusive operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build 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
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_FileRef_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2;
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;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0;
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 return iface->Query(file_ref, info, *callback); 521 return iface->Query(file_ref, info, *callback);
521 } 522 }
522 523
523 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 524 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) {
524 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face; 525 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
525 return iface->ReadDirectoryEntries(file_ref, *output, *callback); 526 return iface->ReadDirectoryEntries(file_ref, *output, *callback);
526 } 527 }
527 528
528 /* End wrapper methods for PPB_FileRef_1_1 */ 529 /* End wrapper methods for PPB_FileRef_1_1 */
529 530
531 /* Begin wrapper methods for PPB_FileRef_1_2 */
532
533 static PP_Resource Pnacl_M34_PPB_FileRef_Create(PP_Resource file_system, const c har* path) {
534 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
535 return iface->Create(file_system, path);
536 }
537
538 static PP_Bool Pnacl_M34_PPB_FileRef_IsFileRef(PP_Resource resource) {
539 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
540 return iface->IsFileRef(resource);
541 }
542
543 static PP_FileSystemType Pnacl_M34_PPB_FileRef_GetFileSystemType(PP_Resource fil e_ref) {
544 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
545 return iface->GetFileSystemType(file_ref);
546 }
547
548 static void Pnacl_M34_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Reso urce file_ref) {
549 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
550 *_struct_result = iface->GetName(file_ref);
551 }
552
553 static void Pnacl_M34_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Reso urce file_ref) {
554 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
555 *_struct_result = iface->GetPath(file_ref);
556 }
557
558 static PP_Resource Pnacl_M34_PPB_FileRef_GetParent(PP_Resource file_ref) {
559 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
560 return iface->GetParent(file_ref);
561 }
562
563 static int32_t Pnacl_M34_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, in t32_t make_directory_flags, struct PP_CompletionCallback* callback) {
564 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
565 return iface->MakeDirectory(directory_ref, make_directory_flags, *callback);
566 }
567
568 static int32_t Pnacl_M34_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_ac cess_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) {
569 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
570 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback) ;
571 }
572
573 static int32_t Pnacl_M34_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_Comp letionCallback* callback) {
574 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
575 return iface->Delete(file_ref, *callback);
576 }
577
578 static int32_t Pnacl_M34_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource ne w_file_ref, struct PP_CompletionCallback* callback) {
579 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
580 return iface->Rename(file_ref, new_file_ref, *callback);
581 }
582
583 static int32_t Pnacl_M34_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileI nfo* info, struct PP_CompletionCallback* callback) {
584 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
585 return iface->Query(file_ref, info, *callback);
586 }
587
588 static int32_t Pnacl_M34_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) {
589 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i face;
590 return iface->ReadDirectoryEntries(file_ref, *output, *callback);
591 }
592
593 /* End wrapper methods for PPB_FileRef_1_2 */
594
530 /* Begin wrapper methods for PPB_FileSystem_1_0 */ 595 /* Begin wrapper methods for PPB_FileSystem_1_0 */
531 596
532 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_File SystemType type) { 597 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_File SystemType type) {
533 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface; 598 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface;
534 return iface->Create(instance, type); 599 return iface->Create(instance, type);
535 } 600 }
536 601
537 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { 602 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) {
538 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface; 603 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface;
539 return iface->IsFileSystem(resource); 604 return iface->IsFileSystem(resource);
(...skipping 3553 matching lines...) Expand 10 before | Expand all | Expand 10 after
4093 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G etPath, 4158 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G etPath,
4094 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G etParent, 4159 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G etParent,
4095 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory , 4160 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory ,
4096 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_File Ref_Touch, 4161 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_File Ref_Touch,
4097 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M28_PPB_FileRef_Delete, 4162 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M28_PPB_FileRef_Delete,
4098 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename, 4163 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename,
4099 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query, 4164 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query,
4100 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu tput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadD irectoryEntries 4165 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu tput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadD irectoryEntries
4101 }; 4166 };
4102 4167
4168 struct PPB_FileRef_1_2 Pnacl_Wrappers_PPB_FileRef_1_2 = {
4169 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl _M34_PPB_FileRef_Create,
4170 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB_FileRef_IsFil eRef,
4171 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M34 _PPB_FileRef_GetFileSystemType,
4172 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G etName,
4173 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G etPath,
4174 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G etParent,
4175 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, int32_t make_direct ory_flags, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_MakeDir ectory,
4176 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_File Ref_Touch,
4177 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M34_PPB_FileRef_Delete,
4178 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Rename,
4179 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Query,
4180 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu tput output, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_ReadD irectoryEntries
4181 };
4182
4103 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { 4183 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = {
4104 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create, 4184 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create,
4105 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem, 4185 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem,
4106 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, 4186 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open,
4107 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType 4187 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType
4108 }; 4188 };
4109 4189
4110 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ 4190 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */
4111 4191
4112 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ 4192 /* Not generating wrapper interface for PPB_Gamepad_1_0 */
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
5117 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 5197 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0,
5118 .real_iface = NULL 5198 .real_iface = NULL
5119 }; 5199 };
5120 5200
5121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { 5201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = {
5122 .iface_macro = PPB_FILEREF_INTERFACE_1_1, 5202 .iface_macro = PPB_FILEREF_INTERFACE_1_1,
5123 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, 5203 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1,
5124 .real_iface = NULL 5204 .real_iface = NULL
5125 }; 5205 };
5126 5206
5207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2 = {
5208 .iface_macro = PPB_FILEREF_INTERFACE_1_2,
5209 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_2,
5210 .real_iface = NULL
5211 };
5212
5127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { 5213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = {
5128 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, 5214 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0,
5129 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, 5215 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0,
5130 .real_iface = NULL 5216 .real_iface = NULL
5131 }; 5217 };
5132 5218
5133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { 5219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = {
5134 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, 5220 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0,
5135 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, 5221 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0,
5136 .real_iface = NULL 5222 .real_iface = NULL
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
5688 .real_iface = NULL 5774 .real_iface = NULL
5689 }; 5775 };
5690 5776
5691 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 5777 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
5692 &Pnacl_WrapperInfo_PPB_Console_1_0, 5778 &Pnacl_WrapperInfo_PPB_Console_1_0,
5693 &Pnacl_WrapperInfo_PPB_Core_1_0, 5779 &Pnacl_WrapperInfo_PPB_Core_1_0,
5694 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 5780 &Pnacl_WrapperInfo_PPB_FileIO_1_0,
5695 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 5781 &Pnacl_WrapperInfo_PPB_FileIO_1_1,
5696 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 5782 &Pnacl_WrapperInfo_PPB_FileRef_1_0,
5697 &Pnacl_WrapperInfo_PPB_FileRef_1_1, 5783 &Pnacl_WrapperInfo_PPB_FileRef_1_1,
5784 &Pnacl_WrapperInfo_PPB_FileRef_1_2,
5698 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5785 &Pnacl_WrapperInfo_PPB_FileSystem_1_0,
5699 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5786 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5700 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5787 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1,
5701 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5788 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5702 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5789 &Pnacl_WrapperInfo_PPB_HostResolver_1_0,
5703 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5790 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5704 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5791 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5705 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5792 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
5706 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5793 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0,
5707 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5794 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0,
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
5865 if (NULL == iface) return NULL; 5952 if (NULL == iface) return NULL;
5866 wrapper->real_iface = iface; 5953 wrapper->real_iface = iface;
5867 } 5954 }
5868 5955
5869 if (wrapper->wrapped_iface) { 5956 if (wrapper->wrapped_iface) {
5870 return wrapper->wrapped_iface; 5957 return wrapper->wrapped_iface;
5871 } else { 5958 } else {
5872 return wrapper->real_iface; 5959 return wrapper->real_iface;
5873 } 5960 }
5874 } 5961 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698