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

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

Issue 13461010: Add PP_VideoFrame, PPB_VideoReader, and PPB_VideoWriter APIs to Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix API version ids. Created 7 years, 8 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) 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "ppapi/c/ppb_instance.h" 62 #include "ppapi/c/ppb_instance.h"
63 #include "ppapi/c/ppb_message_loop.h" 63 #include "ppapi/c/ppb_message_loop.h"
64 #include "ppapi/c/ppb_messaging.h" 64 #include "ppapi/c/ppb_messaging.h"
65 #include "ppapi/c/ppb_mouse_cursor.h" 65 #include "ppapi/c/ppb_mouse_cursor.h"
66 #include "ppapi/c/ppb_mouse_lock.h" 66 #include "ppapi/c/ppb_mouse_lock.h"
67 #include "ppapi/c/ppb_url_loader.h" 67 #include "ppapi/c/ppb_url_loader.h"
68 #include "ppapi/c/ppb_url_request_info.h" 68 #include "ppapi/c/ppb_url_request_info.h"
69 #include "ppapi/c/ppb_url_response_info.h" 69 #include "ppapi/c/ppb_url_response_info.h"
70 #include "ppapi/c/ppb_var.h" 70 #include "ppapi/c/ppb_var.h"
71 #include "ppapi/c/ppb_var_array_buffer.h" 71 #include "ppapi/c/ppb_var_array_buffer.h"
72 #include "ppapi/c/ppb_video_reader.h"
73 #include "ppapi/c/ppb_video_writer.h"
72 #include "ppapi/c/ppb_view.h" 74 #include "ppapi/c/ppb_view.h"
73 #include "ppapi/c/ppb_websocket.h" 75 #include "ppapi/c/ppb_websocket.h"
74 #include "ppapi/c/ppp_graphics_3d.h" 76 #include "ppapi/c/ppp_graphics_3d.h"
75 #include "ppapi/c/ppp_input_event.h" 77 #include "ppapi/c/ppp_input_event.h"
76 #include "ppapi/c/ppp_instance.h" 78 #include "ppapi/c/ppp_instance.h"
77 #include "ppapi/c/ppp_messaging.h" 79 #include "ppapi/c/ppp_messaging.h"
78 #include "ppapi/c/ppp_mouse_lock.h" 80 #include "ppapi/c/ppp_mouse_lock.h"
79 #include "ppapi/c/private/ppb_content_decryptor_private.h" 81 #include "ppapi/c/private/ppb_content_decryptor_private.h"
80 #include "ppapi/c/private/ppb_file_io_private.h" 82 #include "ppapi/c/private/ppb_file_io_private.h"
81 #include "ppapi/c/private/ppb_file_ref_private.h" 83 #include "ppapi/c/private/ppb_file_ref_private.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoReader_0_1;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoWriter_0_1;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0;
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1;
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0;
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6;
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2;
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 } 1195 }
1192 1196
1193 static __attribute__((pnaclcall)) 1197 static __attribute__((pnaclcall))
1194 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) { 1198 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) {
1195 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface; 1199 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface;
1196 iface->Unmap(array); 1200 iface->Unmap(array);
1197 } 1201 }
1198 1202
1199 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ 1203 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */
1200 1204
1205 /* Begin wrapper methods for PPB_VideoReader_0_1 */
1206
1207 static __attribute__((pnaclcall))
1208 PP_Resource Pnacl_M28_PPB_VideoReader_Create(PP_Instance instance) {
1209 const struct PPB_VideoReader_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoReader_0_ 1.real_iface;
1210 return iface->Create(instance);
1211 }
1212
1213 static __attribute__((pnaclcall))
1214 PP_Bool Pnacl_M28_PPB_VideoReader_IsVideoReader(PP_Resource resource) {
1215 const struct PPB_VideoReader_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoReader_0_ 1.real_iface;
1216 return iface->IsVideoReader(resource);
1217 }
1218
1219 static __attribute__((pnaclcall))
1220 int32_t Pnacl_M28_PPB_VideoReader_Open(PP_Resource reader, struct PP_Var stream_ id, struct PP_CompletionCallback callback) {
1221 const struct PPB_VideoReader_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoReader_0_ 1.real_iface;
1222 return iface->Open(reader, stream_id, callback);
1223 }
1224
1225 static __attribute__((pnaclcall))
1226 int32_t Pnacl_M28_PPB_VideoReader_GetFrame(PP_Resource reader, struct PP_VideoFr ame* frame, struct PP_CompletionCallback callback) {
1227 const struct PPB_VideoReader_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoReader_0_ 1.real_iface;
1228 return iface->GetFrame(reader, frame, callback);
1229 }
1230
1231 static __attribute__((pnaclcall))
1232 void Pnacl_M28_PPB_VideoReader_Close(PP_Resource reader) {
1233 const struct PPB_VideoReader_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoReader_0_ 1.real_iface;
1234 iface->Close(reader);
1235 }
1236
1237 /* End wrapper methods for PPB_VideoReader_0_1 */
1238
1239 /* Begin wrapper methods for PPB_VideoWriter_0_1 */
1240
1241 static __attribute__((pnaclcall))
1242 PP_Resource Pnacl_M28_PPB_VideoWriter_Create(PP_Instance instance) {
1243 const struct PPB_VideoWriter_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_0_ 1.real_iface;
1244 return iface->Create(instance);
1245 }
1246
1247 static __attribute__((pnaclcall))
1248 PP_Bool Pnacl_M28_PPB_VideoWriter_IsVideoWriter(PP_Resource resource) {
1249 const struct PPB_VideoWriter_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_0_ 1.real_iface;
1250 return iface->IsVideoWriter(resource);
1251 }
1252
1253 static __attribute__((pnaclcall))
1254 int32_t Pnacl_M28_PPB_VideoWriter_Open(PP_Resource writer, struct PP_Var stream_ id, struct PP_CompletionCallback callback) {
1255 const struct PPB_VideoWriter_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_0_ 1.real_iface;
1256 return iface->Open(writer, stream_id, callback);
1257 }
1258
1259 static __attribute__((pnaclcall))
1260 int32_t Pnacl_M28_PPB_VideoWriter_PutFrame(PP_Resource writer, const struct PP_V ideoFrame* frame) {
1261 const struct PPB_VideoWriter_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_0_ 1.real_iface;
1262 return iface->PutFrame(writer, frame);
1263 }
1264
1265 static __attribute__((pnaclcall))
1266 void Pnacl_M28_PPB_VideoWriter_Close(PP_Resource writer) {
1267 const struct PPB_VideoWriter_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_0_ 1.real_iface;
1268 iface->Close(writer);
1269 }
1270
1271 /* End wrapper methods for PPB_VideoWriter_0_1 */
1272
1201 /* Not generating wrapper methods for PPB_View_1_0 */ 1273 /* Not generating wrapper methods for PPB_View_1_0 */
1202 1274
1203 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1275 /* Begin wrapper methods for PPB_WebSocket_1_0 */
1204 1276
1205 static __attribute__((pnaclcall)) 1277 static __attribute__((pnaclcall))
1206 PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1278 PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) {
1207 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 1279 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
1208 return iface->Create(instance); 1280 return iface->Create(instance);
1209 } 1281 }
1210 1282
(...skipping 2878 matching lines...) Expand 10 before | Expand all | Expand 10 after
4089 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P PB_Var_VarToUtf8 4161 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P PB_Var_VarToUtf8
4090 }; 4162 };
4091 4163
4092 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { 4164 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = {
4093 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray Buffer_Create, 4165 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray Buffer_Create,
4094 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac l_M18_PPB_VarArrayBuffer_ByteLength, 4166 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac l_M18_PPB_VarArrayBuffer_ByteLength,
4095 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, 4167 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map,
4096 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap 4168 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap
4097 }; 4169 };
4098 4170
4171 struct PPB_VideoReader_0_1 Pnacl_Wrappers_PPB_VideoReader_0_1 = {
4172 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoReader_ Create,
4173 .IsVideoReader = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoRead er_IsVideoReader,
4174 .Open = (int32_t (*)(PP_Resource reader, struct PP_Var stream_id, struct PP_ CompletionCallback callback))&Pnacl_M28_PPB_VideoReader_Open,
4175 .GetFrame = (int32_t (*)(PP_Resource reader, struct PP_VideoFrame* frame, st ruct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoReader_GetFrame,
4176 .Close = (void (*)(PP_Resource reader))&Pnacl_M28_PPB_VideoReader_Close
4177 };
4178
4179 struct PPB_VideoWriter_0_1 Pnacl_Wrappers_PPB_VideoWriter_0_1 = {
4180 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoWriter_ Create,
4181 .IsVideoWriter = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoWrit er_IsVideoWriter,
4182 .Open = (int32_t (*)(PP_Resource writer, struct PP_Var stream_id, struct PP_ CompletionCallback callback))&Pnacl_M28_PPB_VideoWriter_Open,
4183 .PutFrame = (int32_t (*)(PP_Resource writer, const struct PP_VideoFrame* fra me))&Pnacl_M28_PPB_VideoWriter_PutFrame,
4184 .Close = (void (*)(PP_Resource writer))&Pnacl_M28_PPB_VideoWriter_Close
4185 };
4186
4099 /* Not generating wrapper interface for PPB_View_1_0 */ 4187 /* Not generating wrapper interface for PPB_View_1_0 */
4100 4188
4101 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 4189 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = {
4102 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate, 4190 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate,
4103 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket, 4191 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket,
4104 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect, 4192 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect,
4105 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 4193 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close,
4106 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e, 4194 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e,
4107 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))& Pnacl_M18_PPB_WebSocket_SendMessage, 4195 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))& Pnacl_M18_PPB_WebSocket_SendMessage,
4108 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We bSocket_GetBufferedAmount, 4196 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We bSocket_GetBufferedAmount,
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
4955 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, 5043 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1,
4956 .real_iface = NULL 5044 .real_iface = NULL
4957 }; 5045 };
4958 5046
4959 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { 5047 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = {
4960 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, 5048 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0,
4961 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 5049 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0,
4962 .real_iface = NULL 5050 .real_iface = NULL
4963 }; 5051 };
4964 5052
5053 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoReader_0_1 = {
5054 .iface_macro = PPB_VIDEOREADER_INTERFACE_0_1,
5055 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoReader_0_1,
5056 .real_iface = NULL
5057 };
5058
5059 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoWriter_0_1 = {
5060 .iface_macro = PPB_VIDEOWRITER_INTERFACE_0_1,
5061 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoWriter_0_1,
5062 .real_iface = NULL
5063 };
5064
4965 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { 5065 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = {
4966 .iface_macro = PPB_VIEW_INTERFACE_1_0, 5066 .iface_macro = PPB_VIEW_INTERFACE_1_0,
4967 .wrapped_iface = NULL /* Still need slot for real_iface */, 5067 .wrapped_iface = NULL /* Still need slot for real_iface */,
4968 .real_iface = NULL 5068 .real_iface = NULL
4969 }; 5069 };
4970 5070
4971 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 5071 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = {
4972 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 5072 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0,
4973 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 5073 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0,
4974 .real_iface = NULL 5074 .real_iface = NULL
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
5660 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5760 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5661 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5761 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5662 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, 5762 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0,
5663 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5763 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5664 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5764 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
5665 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5765 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
5666 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5766 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
5667 &Pnacl_WrapperInfo_PPB_Var_1_0, 5767 &Pnacl_WrapperInfo_PPB_Var_1_0,
5668 &Pnacl_WrapperInfo_PPB_Var_1_1, 5768 &Pnacl_WrapperInfo_PPB_Var_1_1,
5669 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5769 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
5770 &Pnacl_WrapperInfo_PPB_VideoReader_0_1,
5771 &Pnacl_WrapperInfo_PPB_VideoWriter_0_1,
5670 &Pnacl_WrapperInfo_PPB_View_1_0, 5772 &Pnacl_WrapperInfo_PPB_View_1_0,
5671 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5773 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
5672 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, 5774 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6,
5673 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, 5775 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2,
5674 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, 5776 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3,
5675 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, 5777 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0,
5676 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, 5778 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1,
5677 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, 5779 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0,
5678 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, 5780 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5,
5679 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, 5781 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
5857 } 5959 }
5858 5960
5859 if (wrapper->wrapped_iface) { 5961 if (wrapper->wrapped_iface) {
5860 return wrapper->wrapped_iface; 5962 return wrapper->wrapped_iface;
5861 } else { 5963 } else {
5862 return wrapper->real_iface; 5964 return wrapper->real_iface;
5863 } 5965 }
5864 } 5966 }
5865 5967
5866 #endif 5968 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698