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

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

Issue 11417145: Provide a safer URLLoader ReadResponseBody API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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/url_loader.cc ('k') | ppapi/proxy/ppb_url_loader_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0;
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_0_5; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_0_5;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_1;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0;
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 } 964 }
964 965
965 static __attribute__((pnaclcall)) 966 static __attribute__((pnaclcall))
966 void Pnacl_M14_PPB_URLLoader_Close(PP_Resource loader) { 967 void Pnacl_M14_PPB_URLLoader_Close(PP_Resource loader) {
967 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.re al_iface; 968 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.re al_iface;
968 iface->Close(loader); 969 iface->Close(loader);
969 } 970 }
970 971
971 /* End wrapper methods for PPB_URLLoader_1_0 */ 972 /* End wrapper methods for PPB_URLLoader_1_0 */
972 973
974 /* Begin wrapper methods for PPB_URLLoader_1_1 */
975
976 static __attribute__((pnaclcall))
977 PP_Resource Pnacl_M26_PPB_URLLoader_Create(PP_Instance instance) {
978 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
979 return iface->Create(instance);
980 }
981
982 static __attribute__((pnaclcall))
983 PP_Bool Pnacl_M26_PPB_URLLoader_IsURLLoader(PP_Resource resource) {
984 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
985 return iface->IsURLLoader(resource);
986 }
987
988 static __attribute__((pnaclcall))
989 int32_t Pnacl_M26_PPB_URLLoader_Open(PP_Resource loader, PP_Resource request_inf o, struct PP_CompletionCallback callback) {
990 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
991 return iface->Open(loader, request_info, callback);
992 }
993
994 static __attribute__((pnaclcall))
995 int32_t Pnacl_M26_PPB_URLLoader_FollowRedirect(PP_Resource loader, struct PP_Com pletionCallback callback) {
996 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
997 return iface->FollowRedirect(loader, callback);
998 }
999
1000 static __attribute__((pnaclcall))
1001 PP_Bool Pnacl_M26_PPB_URLLoader_GetUploadProgress(PP_Resource loader, int64_t* b ytes_sent, int64_t* total_bytes_to_be_sent) {
1002 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1003 return iface->GetUploadProgress(loader, bytes_sent, total_bytes_to_be_sent);
1004 }
1005
1006 static __attribute__((pnaclcall))
1007 PP_Bool Pnacl_M26_PPB_URLLoader_GetDownloadProgress(PP_Resource loader, int64_t* bytes_received, int64_t* total_bytes_to_be_received) {
1008 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1009 return iface->GetDownloadProgress(loader, bytes_received, total_bytes_to_be_re ceived);
1010 }
1011
1012 static __attribute__((pnaclcall))
1013 PP_Resource Pnacl_M26_PPB_URLLoader_GetResponseInfo(PP_Resource loader) {
1014 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1015 return iface->GetResponseInfo(loader);
1016 }
1017
1018 static __attribute__((pnaclcall))
1019 int32_t Pnacl_M26_PPB_URLLoader_ReadResponseBody(PP_Resource loader, void* buffe r, int32_t bytes_to_read, struct PP_CompletionCallback callback) {
1020 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1021 return iface->ReadResponseBody(loader, buffer, bytes_to_read, callback);
1022 }
1023
1024 static __attribute__((pnaclcall))
1025 int32_t Pnacl_M26_PPB_URLLoader_FinishStreamingToFile(PP_Resource loader, struct PP_CompletionCallback callback) {
1026 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1027 return iface->FinishStreamingToFile(loader, callback);
1028 }
1029
1030 static __attribute__((pnaclcall))
1031 void Pnacl_M26_PPB_URLLoader_Close(PP_Resource loader) {
1032 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1033 iface->Close(loader);
1034 }
1035
1036 static __attribute__((pnaclcall))
1037 int32_t Pnacl_M26_PPB_URLLoader_ReadResponseBodyToArray(PP_Resource loader, int3 2_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callback) {
1038 const struct PPB_URLLoader_1_1 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_1.re al_iface;
1039 return iface->ReadResponseBodyToArray(loader, max_read_length, output, callbac k);
1040 }
1041
1042 /* End wrapper methods for PPB_URLLoader_1_1 */
1043
973 /* Begin wrapper methods for PPB_URLRequestInfo_1_0 */ 1044 /* Begin wrapper methods for PPB_URLRequestInfo_1_0 */
974 1045
975 static __attribute__((pnaclcall)) 1046 static __attribute__((pnaclcall))
976 PP_Resource Pnacl_M14_PPB_URLRequestInfo_Create(PP_Instance instance) { 1047 PP_Resource Pnacl_M14_PPB_URLRequestInfo_Create(PP_Instance instance) {
977 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestI nfo_1_0.real_iface; 1048 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestI nfo_1_0.real_iface;
978 return iface->Create(instance); 1049 return iface->Create(instance);
979 } 1050 }
980 1051
981 static __attribute__((pnaclcall)) 1052 static __attribute__((pnaclcall))
982 PP_Bool Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo(PP_Resource resource) { 1053 PP_Bool Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo(PP_Resource resource) {
(...skipping 2695 matching lines...) Expand 10 before | Expand all | Expand 10 after
3678 .Open = (int32_t (*)(PP_Resource loader, PP_Resource request_info, struct PP _CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Open, 3749 .Open = (int32_t (*)(PP_Resource loader, PP_Resource request_info, struct PP _CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Open,
3679 .FollowRedirect = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallb ack callback))&Pnacl_M14_PPB_URLLoader_FollowRedirect, 3750 .FollowRedirect = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallb ack callback))&Pnacl_M14_PPB_URLLoader_FollowRedirect,
3680 .GetUploadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_sent, i nt64_t* total_bytes_to_be_sent))&Pnacl_M14_PPB_URLLoader_GetUploadProgress, 3751 .GetUploadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_sent, i nt64_t* total_bytes_to_be_sent))&Pnacl_M14_PPB_URLLoader_GetUploadProgress,
3681 .GetDownloadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_recei ved, int64_t* total_bytes_to_be_received))&Pnacl_M14_PPB_URLLoader_GetDownloadPr ogress, 3752 .GetDownloadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_recei ved, int64_t* total_bytes_to_be_received))&Pnacl_M14_PPB_URLLoader_GetDownloadPr ogress,
3682 .GetResponseInfo = (PP_Resource (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLo ader_GetResponseInfo, 3753 .GetResponseInfo = (PP_Resource (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLo ader_GetResponseInfo,
3683 .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t b ytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Re adResponseBody, 3754 .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t b ytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Re adResponseBody,
3684 .FinishStreamingToFile = (int32_t (*)(PP_Resource loader, struct PP_Completi onCallback callback))&Pnacl_M14_PPB_URLLoader_FinishStreamingToFile, 3755 .FinishStreamingToFile = (int32_t (*)(PP_Resource loader, struct PP_Completi onCallback callback))&Pnacl_M14_PPB_URLLoader_FinishStreamingToFile,
3685 .Close = (void (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_Close 3756 .Close = (void (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_Close
3686 }; 3757 };
3687 3758
3759 struct PPB_URLLoader_1_1 Pnacl_Wrappers_PPB_URLLoader_1_1 = {
3760 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M26_PPB_URLLoader_Cr eate,
3761 .IsURLLoader = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_URLLoader_I sURLLoader,
3762 .Open = (int32_t (*)(PP_Resource loader, PP_Resource request_info, struct PP _CompletionCallback callback))&Pnacl_M26_PPB_URLLoader_Open,
3763 .FollowRedirect = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallb ack callback))&Pnacl_M26_PPB_URLLoader_FollowRedirect,
3764 .GetUploadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_sent, i nt64_t* total_bytes_to_be_sent))&Pnacl_M26_PPB_URLLoader_GetUploadProgress,
3765 .GetDownloadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_recei ved, int64_t* total_bytes_to_be_received))&Pnacl_M26_PPB_URLLoader_GetDownloadPr ogress,
3766 .GetResponseInfo = (PP_Resource (*)(PP_Resource loader))&Pnacl_M26_PPB_URLLo ader_GetResponseInfo,
3767 .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t b ytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_URLLoader_Re adResponseBody,
3768 .FinishStreamingToFile = (int32_t (*)(PP_Resource loader, struct PP_Completi onCallback callback))&Pnacl_M26_PPB_URLLoader_FinishStreamingToFile,
3769 .Close = (void (*)(PP_Resource loader))&Pnacl_M26_PPB_URLLoader_Close,
3770 .ReadResponseBodyToArray = (int32_t (*)(PP_Resource loader, int32_t max_read _length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callback))& Pnacl_M26_PPB_URLLoader_ReadResponseBodyToArray
3771 };
3772
3688 struct PPB_URLRequestInfo_1_0 Pnacl_Wrappers_PPB_URLRequestInfo_1_0 = { 3773 struct PPB_URLRequestInfo_1_0 Pnacl_Wrappers_PPB_URLRequestInfo_1_0 = {
3689 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLRequestIn fo_Create, 3774 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLRequestIn fo_Create,
3690 .IsURLRequestInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLReq uestInfo_IsURLRequestInfo, 3775 .IsURLRequestInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLReq uestInfo_IsURLRequestInfo,
3691 .SetProperty = (PP_Bool (*)(PP_Resource request, PP_URLRequestProperty prope rty, struct PP_Var value))&Pnacl_M14_PPB_URLRequestInfo_SetProperty, 3776 .SetProperty = (PP_Bool (*)(PP_Resource request, PP_URLRequestProperty prope rty, struct PP_Var value))&Pnacl_M14_PPB_URLRequestInfo_SetProperty,
3692 .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint 32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody, 3777 .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint 32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody,
3693 .AppendFileToBody = (PP_Bool (*)(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_ti me))&Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody 3778 .AppendFileToBody = (PP_Bool (*)(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_ti me))&Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody
3694 }; 3779 };
3695 3780
3696 struct PPB_URLResponseInfo_1_0 Pnacl_Wrappers_PPB_URLResponseInfo_1_0 = { 3781 struct PPB_URLResponseInfo_1_0 Pnacl_Wrappers_PPB_URLResponseInfo_1_0 = {
3697 .IsURLResponseInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLRe sponseInfo_IsURLResponseInfo, 3782 .IsURLResponseInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLRe sponseInfo_IsURLResponseInfo,
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
4471 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MouseLock_1_0, 4556 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MouseLock_1_0,
4472 .real_iface = NULL 4557 .real_iface = NULL
4473 }; 4558 };
4474 4559
4475 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0 = { 4560 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0 = {
4476 .iface_macro = PPB_URLLOADER_INTERFACE_1_0, 4561 .iface_macro = PPB_URLLOADER_INTERFACE_1_0,
4477 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLLoader_1_0, 4562 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLLoader_1_0,
4478 .real_iface = NULL 4563 .real_iface = NULL
4479 }; 4564 };
4480 4565
4566 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_1 = {
4567 .iface_macro = PPB_URLLOADER_INTERFACE_1_1,
4568 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLLoader_1_1,
4569 .real_iface = NULL
4570 };
4571
4481 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0 = { 4572 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0 = {
4482 .iface_macro = PPB_URLREQUESTINFO_INTERFACE_1_0, 4573 .iface_macro = PPB_URLREQUESTINFO_INTERFACE_1_0,
4483 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLRequestInfo_1_0, 4574 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLRequestInfo_1_0,
4484 .real_iface = NULL 4575 .real_iface = NULL
4485 }; 4576 };
4486 4577
4487 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0 = { 4578 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0 = {
4488 .iface_macro = PPB_URLRESPONSEINFO_INTERFACE_1_0, 4579 .iface_macro = PPB_URLRESPONSEINFO_INTERFACE_1_0,
4489 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLResponseInfo_1_0, 4580 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLResponseInfo_1_0,
4490 .real_iface = NULL 4581 .real_iface = NULL
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
5128 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5219 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
5129 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5220 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0,
5130 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5221 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0,
5131 &Pnacl_WrapperInfo_PPB_Instance_0_5, 5222 &Pnacl_WrapperInfo_PPB_Instance_0_5,
5132 &Pnacl_WrapperInfo_PPB_Instance_1_0, 5223 &Pnacl_WrapperInfo_PPB_Instance_1_0,
5133 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5224 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5134 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5225 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5135 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, 5226 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0,
5136 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5227 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5137 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5228 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
5229 &Pnacl_WrapperInfo_PPB_URLLoader_1_1,
5138 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5230 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
5139 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5231 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
5140 &Pnacl_WrapperInfo_PPB_Var_1_0, 5232 &Pnacl_WrapperInfo_PPB_Var_1_0,
5141 &Pnacl_WrapperInfo_PPB_Var_1_1, 5233 &Pnacl_WrapperInfo_PPB_Var_1_1,
5142 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5234 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
5143 &Pnacl_WrapperInfo_PPB_View_1_0, 5235 &Pnacl_WrapperInfo_PPB_View_1_0,
5144 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5236 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
5145 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, 5237 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6,
5146 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, 5238 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2,
5147 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, 5239 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
5318 } 5410 }
5319 5411
5320 if (wrapper->wrapped_iface) { 5412 if (wrapper->wrapped_iface) {
5321 return wrapper->wrapped_iface; 5413 return wrapper->wrapped_iface;
5322 } else { 5414 } else {
5323 return wrapper->real_iface; 5415 return wrapper->real_iface;
5324 } 5416 }
5325 } 5417 }
5326 5418
5327 #endif 5419 #endif
OLDNEW
« no previous file with comments | « ppapi/cpp/url_loader.cc ('k') | ppapi/proxy/ppb_url_loader_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698