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

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

Issue 23444004: Add GetPluginRefererURL to PPB_URLUtil_Dev interface to get the 'Referer' HTTP header value that wa… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/dev/url_util_dev.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92;
185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7;
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private _0_1;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 *_struct_result = iface->GetDocumentURL(instance, components); 2063 *_struct_result = iface->GetDocumentURL(instance, components);
2063 } 2064 }
2064 2065
2065 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2066 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) {
2066 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 2067 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
2067 *_struct_result = iface->GetPluginInstanceURL(instance, components); 2068 *_struct_result = iface->GetPluginInstanceURL(instance, components);
2068 } 2069 }
2069 2070
2070 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 2071 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */
2071 2072
2073 /* Begin wrapper methods for PPB_URLUtil_Dev_0_7 */
2074
2075 static void Pnacl_M31_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result , struct PP_Var* url, struct PP_URLComponents_Dev* components) {
2076 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2077 *_struct_result = iface->Canonicalize(*url, components);
2078 }
2079
2080 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struc t_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URL Components_Dev* components) {
2081 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2082 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, com ponents);
2083 }
2084
2085 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var* _ struct_result, PP_Instance instance, struct PP_Var* relative_string, struct PP_U RLComponents_Dev* components) {
2086 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2087 *_struct_result = iface->ResolveRelativeToDocument(instance, *relative_string, components);
2088 }
2089
2090 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var* url _a, struct PP_Var* url_b) {
2091 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2092 return iface->IsSameSecurityOrigin(*url_a, *url_b);
2093 }
2094
2095 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance , struct PP_Var* url) {
2096 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2097 return iface->DocumentCanRequest(instance, *url);
2098 }
2099
2100 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance a ctive, PP_Instance target) {
2101 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2102 return iface->DocumentCanAccessDocument(active, target);
2103 }
2104
2105 static void Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var* _struct_resu lt, PP_Instance instance, struct PP_URLComponents_Dev* components) {
2106 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2107 *_struct_result = iface->GetDocumentURL(instance, components);
2108 }
2109
2110 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) {
2111 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2112 *_struct_result = iface->GetPluginInstanceURL(instance, components);
2113 }
2114
2115 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) {
2116 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 7.real_iface;
2117 *_struct_result = iface->GetPluginReferrerURL(instance, components);
2118 }
2119
2120 /* End wrapper methods for PPB_URLUtil_Dev_0_7 */
2121
2072 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ 2122 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */
2073 2123
2074 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 2124 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) {
2075 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface; 2125 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface;
2076 return iface->Create(instance); 2126 return iface->Create(instance);
2077 } 2127 }
2078 2128
2079 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c apture) { 2129 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c apture) {
2080 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface; 2130 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface;
2081 return iface->IsVideoCapture(video_capture); 2131 return iface->IsVideoCapture(video_capture);
(...skipping 2387 matching lines...) Expand 10 before | Expand all | Expand 10 after
4469 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4519 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize,
4470 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP _Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR LUtil_Dev_ResolveRelativeToURL, 4520 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP _Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR LUtil_Dev_ResolveRelativeToURL,
4471 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4521 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4472 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4522 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4473 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4523 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest,
4474 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4524 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4475 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4525 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL,
4476 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4526 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4477 }; 4527 };
4478 4528
4529 struct PPB_URLUtil_Dev_0_7 Pnacl_Wrappers_PPB_URLUtil_Dev_0_7 = {
4530 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_Canonicalize,
4531 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP _Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_UR LUtil_Dev_ResolveRelativeToURL,
4532 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4533 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4534 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest,
4535 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4536 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL,
4537 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL,
4538 .GetPluginReferrerURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL
4539 };
4540
4479 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { 4541 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = {
4480 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create, 4542 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create,
4481 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture, 4543 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture,
4482 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices, 4544 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices,
4483 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, cons t struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, s truct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Open, 4545 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, cons t struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, s truct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Open,
4484 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture, 4546 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture,
4485 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer, 4547 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer,
4486 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture, 4548 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture,
4487 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close 4549 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close
4488 }; 4550 };
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
5275 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5337 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1,
5276 .real_iface = NULL 5338 .real_iface = NULL
5277 }; 5339 };
5278 5340
5279 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5341 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = {
5280 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5342 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6,
5281 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5343 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6,
5282 .real_iface = NULL 5344 .real_iface = NULL
5283 }; 5345 };
5284 5346
5347 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7 = {
5348 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_7,
5349 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_7,
5350 .real_iface = NULL
5351 };
5352
5285 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { 5353 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = {
5286 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, 5354 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2,
5287 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, 5355 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2,
5288 .real_iface = NULL 5356 .real_iface = NULL
5289 }; 5357 };
5290 5358
5291 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { 5359 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = {
5292 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, 5360 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3,
5293 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, 5361 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3,
5294 .real_iface = NULL 5362 .real_iface = NULL
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
5601 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 5669 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
5602 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 5670 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
5603 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 5671 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
5604 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 5672 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
5605 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5673 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
5606 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5674 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5607 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5675 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5608 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, 5676 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92,
5609 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5677 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5610 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5678 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5679 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7,
5611 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5680 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5612 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5681 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5613 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5682 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5614 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, 5683 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6,
5615 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 5684 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
5616 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 5685 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
5617 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5686 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5618 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5687 &Pnacl_WrapperInfo_PPB_Flash_12_4,
5619 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5688 &Pnacl_WrapperInfo_PPB_Flash_12_5,
5620 &Pnacl_WrapperInfo_PPB_Flash_12_6, 5689 &Pnacl_WrapperInfo_PPB_Flash_12_6,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
5731 if (NULL == iface) return NULL; 5800 if (NULL == iface) return NULL;
5732 wrapper->real_iface = iface; 5801 wrapper->real_iface = iface;
5733 } 5802 }
5734 5803
5735 if (wrapper->wrapped_iface) { 5804 if (wrapper->wrapped_iface) {
5736 return wrapper->wrapped_iface; 5805 return wrapper->wrapped_iface;
5737 } else { 5806 } else {
5738 return wrapper->real_iface; 5807 return wrapper->real_iface;
5739 } 5808 }
5740 } 5809 }
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/url_util_dev.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698