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

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

Issue 11316316: Implement an IsAllowed function in the pepper PPB_Broker_Trusted API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | Annotate | Revision Log
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BufferTrusted_0_1; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BufferTrusted_0_1;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3DTrusted_1_0; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3DTrusted_1_0;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageDataTrusted_0_4; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageDataTrusted_0_4;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoaderTrusted_0_3; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoaderTrusted_0_3;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2;
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 } 1274 }
1274 1275
1275 static __attribute__((pnaclcall)) 1276 static __attribute__((pnaclcall))
1276 int32_t Pnacl_M14_PPB_BrokerTrusted_GetHandle(PP_Resource broker, int32_t* handl e) { 1277 int32_t Pnacl_M14_PPB_BrokerTrusted_GetHandle(PP_Resource broker, int32_t* handl e) {
1277 const struct PPB_BrokerTrusted_0_2 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_2.real_iface; 1278 const struct PPB_BrokerTrusted_0_2 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_2.real_iface;
1278 return iface->GetHandle(broker, handle); 1279 return iface->GetHandle(broker, handle);
1279 } 1280 }
1280 1281
1281 /* End wrapper methods for PPB_BrokerTrusted_0_2 */ 1282 /* End wrapper methods for PPB_BrokerTrusted_0_2 */
1282 1283
1284 /* Begin wrapper methods for PPB_BrokerTrusted_0_3 */
1285
1286 static __attribute__((pnaclcall))
1287 PP_Resource Pnacl_M25_PPB_BrokerTrusted_CreateTrusted(PP_Instance instance) {
1288 const struct PPB_BrokerTrusted_0_3 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_3.real_iface;
1289 return iface->CreateTrusted(instance);
1290 }
1291
1292 static __attribute__((pnaclcall))
1293 PP_Bool Pnacl_M25_PPB_BrokerTrusted_IsBrokerTrusted(PP_Resource resource) {
1294 const struct PPB_BrokerTrusted_0_3 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_3.real_iface;
1295 return iface->IsBrokerTrusted(resource);
1296 }
1297
1298 static __attribute__((pnaclcall))
1299 int32_t Pnacl_M25_PPB_BrokerTrusted_Connect(PP_Resource broker, struct PP_Comple tionCallback connect_callback) {
1300 const struct PPB_BrokerTrusted_0_3 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_3.real_iface;
1301 return iface->Connect(broker, connect_callback);
1302 }
1303
1304 static __attribute__((pnaclcall))
1305 int32_t Pnacl_M25_PPB_BrokerTrusted_GetHandle(PP_Resource broker, int32_t* handl e) {
1306 const struct PPB_BrokerTrusted_0_3 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_3.real_iface;
1307 return iface->GetHandle(broker, handle);
1308 }
1309
1310 static __attribute__((pnaclcall))
1311 PP_Bool Pnacl_M25_PPB_BrokerTrusted_IsAllowed(PP_Resource broker) {
1312 const struct PPB_BrokerTrusted_0_3 *iface = Pnacl_WrapperInfo_PPB_BrokerTruste d_0_3.real_iface;
1313 return iface->IsAllowed(broker);
1314 }
1315
1316 /* End wrapper methods for PPB_BrokerTrusted_0_3 */
1317
1283 /* Begin wrapper methods for PPB_BrowserFont_Trusted_1_0 */ 1318 /* Begin wrapper methods for PPB_BrowserFont_Trusted_1_0 */
1284 1319
1285 static __attribute__((pnaclcall)) 1320 static __attribute__((pnaclcall))
1286 struct PP_Var Pnacl_M19_PPB_BrowserFont_Trusted_GetFontFamilies(PP_Instance inst ance) { 1321 struct PP_Var Pnacl_M19_PPB_BrowserFont_Trusted_GetFontFamilies(PP_Instance inst ance) {
1287 const struct PPB_BrowserFont_Trusted_1_0 *iface = Pnacl_WrapperInfo_PPB_Browse rFont_Trusted_1_0.real_iface; 1322 const struct PPB_BrowserFont_Trusted_1_0 *iface = Pnacl_WrapperInfo_PPB_Browse rFont_Trusted_1_0.real_iface;
1288 return iface->GetFontFamilies(instance); 1323 return iface->GetFontFamilies(instance);
1289 } 1324 }
1290 1325
1291 static __attribute__((pnaclcall)) 1326 static __attribute__((pnaclcall))
1292 PP_Resource Pnacl_M19_PPB_BrowserFont_Trusted_Create(PP_Instance instance, const struct PP_BrowserFont_Trusted_Description* description) { 1327 PP_Resource Pnacl_M19_PPB_BrowserFont_Trusted_Create(PP_Instance instance, const struct PP_BrowserFont_Trusted_Description* description) {
(...skipping 2333 matching lines...) Expand 10 before | Expand all | Expand 10 after
3626 .GetSharedMemory = (int32_t (*)(PP_Resource audio, int* shm_handle, uint32_t * shm_size))&Pnacl_M14_PPB_AudioTrusted_GetSharedMemory 3661 .GetSharedMemory = (int32_t (*)(PP_Resource audio, int* shm_handle, uint32_t * shm_size))&Pnacl_M14_PPB_AudioTrusted_GetSharedMemory
3627 }; 3662 };
3628 3663
3629 struct PPB_BrokerTrusted_0_2 Pnacl_Wrappers_PPB_BrokerTrusted_0_2 = { 3664 struct PPB_BrokerTrusted_0_2 Pnacl_Wrappers_PPB_BrokerTrusted_0_2 = {
3630 .CreateTrusted = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_Broke rTrusted_CreateTrusted, 3665 .CreateTrusted = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_Broke rTrusted_CreateTrusted,
3631 .IsBrokerTrusted = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_BrokerT rusted_IsBrokerTrusted, 3666 .IsBrokerTrusted = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_BrokerT rusted_IsBrokerTrusted,
3632 .Connect = (int32_t (*)(PP_Resource broker, struct PP_CompletionCallback con nect_callback))&Pnacl_M14_PPB_BrokerTrusted_Connect, 3667 .Connect = (int32_t (*)(PP_Resource broker, struct PP_CompletionCallback con nect_callback))&Pnacl_M14_PPB_BrokerTrusted_Connect,
3633 .GetHandle = (int32_t (*)(PP_Resource broker, int32_t* handle))&Pnacl_M14_PP B_BrokerTrusted_GetHandle 3668 .GetHandle = (int32_t (*)(PP_Resource broker, int32_t* handle))&Pnacl_M14_PP B_BrokerTrusted_GetHandle
3634 }; 3669 };
3635 3670
3671 struct PPB_BrokerTrusted_0_3 Pnacl_Wrappers_PPB_BrokerTrusted_0_3 = {
3672 .CreateTrusted = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_Broke rTrusted_CreateTrusted,
3673 .IsBrokerTrusted = (PP_Bool (*)(PP_Resource resource))&Pnacl_M25_PPB_BrokerT rusted_IsBrokerTrusted,
3674 .Connect = (int32_t (*)(PP_Resource broker, struct PP_CompletionCallback con nect_callback))&Pnacl_M25_PPB_BrokerTrusted_Connect,
3675 .GetHandle = (int32_t (*)(PP_Resource broker, int32_t* handle))&Pnacl_M25_PP B_BrokerTrusted_GetHandle,
3676 .IsAllowed = (PP_Bool (*)(PP_Resource broker))&Pnacl_M25_PPB_BrokerTrusted_I sAllowed
3677 };
3678
3636 struct PPB_BrowserFont_Trusted_1_0 Pnacl_Wrappers_PPB_BrowserFont_Trusted_1_0 = { 3679 struct PPB_BrowserFont_Trusted_1_0 Pnacl_Wrappers_PPB_BrowserFont_Trusted_1_0 = {
3637 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M19_PPB_B rowserFont_Trusted_GetFontFamilies, 3680 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M19_PPB_B rowserFont_Trusted_GetFontFamilies,
3638 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_BrowserFont _Trusted_Description* description))&Pnacl_M19_PPB_BrowserFont_Trusted_Create, 3681 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_BrowserFont _Trusted_Description* description))&Pnacl_M19_PPB_BrowserFont_Trusted_Create,
3639 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_BrowserFont_Trus ted_IsFont, 3682 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_BrowserFont_Trus ted_IsFont,
3640 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_BrowserFont_Trusted_Des cription* description, struct PP_BrowserFont_Trusted_Metrics* metrics))&Pnacl_M1 9_PPB_BrowserFont_Trusted_Describe, 3683 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_BrowserFont_Trusted_Des cription* description, struct PP_BrowserFont_Trusted_Metrics* metrics))&Pnacl_M1 9_PPB_BrowserFont_Trusted_Describe,
3641 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s truct PP_BrowserFont_Trusted_TextRun* text, const struct PP_Point* position, uin t32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M1 9_PPB_BrowserFont_Trusted_DrawTextAt, 3684 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s truct PP_BrowserFont_Trusted_TextRun* text, const struct PP_Point* position, uin t32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M1 9_PPB_BrowserFont_Trusted_DrawTextAt,
3642 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_BrowserFont_Tr usted_TextRun* text))&Pnacl_M19_PPB_BrowserFont_Trusted_MeasureText, 3685 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_BrowserFont_Tr usted_TextRun* text))&Pnacl_M19_PPB_BrowserFont_Trusted_MeasureText,
3643 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_B rowserFont_Trusted_TextRun* text, int32_t pixel_position))&Pnacl_M19_PPB_Browser Font_Trusted_CharacterOffsetForPixel, 3686 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_B rowserFont_Trusted_TextRun* text, int32_t pixel_position))&Pnacl_M19_PPB_Browser Font_Trusted_CharacterOffsetForPixel,
3644 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Br owserFont_Trusted_TextRun* text, uint32_t char_offset))&Pnacl_M19_PPB_BrowserFon t_Trusted_PixelOffsetForCharacter 3687 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Br owserFont_Trusted_TextRun* text, uint32_t char_offset))&Pnacl_M19_PPB_BrowserFon t_Trusted_PixelOffsetForCharacter
3645 }; 3688 };
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
4405 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_AudioTrusted_0_6, 4448 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_AudioTrusted_0_6,
4406 .real_iface = NULL 4449 .real_iface = NULL
4407 }; 4450 };
4408 4451
4409 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2 = { 4452 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2 = {
4410 .iface_macro = PPB_BROKER_TRUSTED_INTERFACE_0_2, 4453 .iface_macro = PPB_BROKER_TRUSTED_INTERFACE_0_2,
4411 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_BrokerTrusted_0_2, 4454 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_BrokerTrusted_0_2,
4412 .real_iface = NULL 4455 .real_iface = NULL
4413 }; 4456 };
4414 4457
4458 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3 = {
4459 .iface_macro = PPB_BROKER_TRUSTED_INTERFACE_0_3,
4460 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_BrokerTrusted_0_3,
4461 .real_iface = NULL
4462 };
4463
4415 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0 = { 4464 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0 = {
4416 .iface_macro = PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0, 4465 .iface_macro = PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0,
4417 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_BrowserFont_Trusted_1_0, 4466 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_BrowserFont_Trusted_1_0,
4418 .real_iface = NULL 4467 .real_iface = NULL
4419 }; 4468 };
4420 4469
4421 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BufferTrusted_0_1 = { 4470 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BufferTrusted_0_1 = {
4422 .iface_macro = PPB_BUFFER_TRUSTED_INTERFACE_0_1, 4471 .iface_macro = PPB_BUFFER_TRUSTED_INTERFACE_0_1,
4423 .wrapped_iface = NULL /* Still need slot for real_iface */, 4472 .wrapped_iface = NULL /* Still need slot for real_iface */,
4424 .real_iface = NULL 4473 .real_iface = NULL
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
4987 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5036 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
4988 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5037 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
4989 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5038 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
4990 &Pnacl_WrapperInfo_PPB_Var_1_0, 5039 &Pnacl_WrapperInfo_PPB_Var_1_0,
4991 &Pnacl_WrapperInfo_PPB_Var_1_1, 5040 &Pnacl_WrapperInfo_PPB_Var_1_1,
4992 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5041 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
4993 &Pnacl_WrapperInfo_PPB_View_1_0, 5042 &Pnacl_WrapperInfo_PPB_View_1_0,
4994 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5043 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
4995 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, 5044 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6,
4996 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, 5045 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2,
5046 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3,
4997 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, 5047 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0,
4998 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, 5048 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1,
4999 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, 5049 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0,
5000 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, 5050 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5,
5001 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, 5051 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6,
5002 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, 5052 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4,
5003 &Pnacl_WrapperInfo_PPB_Graphics3DTrusted_1_0, 5053 &Pnacl_WrapperInfo_PPB_Graphics3DTrusted_1_0,
5004 &Pnacl_WrapperInfo_PPB_ImageDataTrusted_0_4, 5054 &Pnacl_WrapperInfo_PPB_ImageDataTrusted_0_4,
5005 &Pnacl_WrapperInfo_PPB_URLLoaderTrusted_0_3, 5055 &Pnacl_WrapperInfo_PPB_URLLoaderTrusted_0_3,
5006 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2, 5056 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
5169 } 5219 }
5170 5220
5171 if (wrapper->wrapped_iface) { 5221 if (wrapper->wrapped_iface) {
5172 return wrapper->wrapped_iface; 5222 return wrapper->wrapped_iface;
5173 } else { 5223 } else {
5174 return wrapper->real_iface; 5224 return wrapper->real_iface;
5175 } 5225 }
5176 } 5226 }
5177 5227
5178 #endif 5228 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698