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

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

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove errant file, fix comment typo Created 7 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
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0;
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0;
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _2; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _2;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_2;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_8; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_8;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1;
240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; 240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1;
241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1;
242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2;
243 /* END Declarations for all Wrapper Infos. */ 243 /* END Declarations for all Wrapper Infos. */
(...skipping 3467 matching lines...) Expand 10 before | Expand all | Expand 10 after
3711 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 3711 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback);
3712 } 3712 }
3713 3713
3714 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 3714 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) {
3715 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocke t_Private_0_4.real_iface; 3715 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocke t_Private_0_4.real_iface;
3716 iface->Close(udp_socket); 3716 iface->Close(udp_socket);
3717 } 3717 }
3718 3718
3719 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */ 3719 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */
3720 3720
3721 /* Begin wrapper methods for PPB_UMA_Private_0_1 */ 3721 /* Begin wrapper methods for PPB_UMA_Private_0_2 */
3722 3722
3723 static void Pnacl_M18_PPB_UMA_Private_HistogramCustomTimes(struct PP_Var* name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) { 3723 static void Pnacl_M33_PPB_UMA_Private_HistogramCustomTimes(PP_Instance instance, struct PP_Var* name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_ count) {
3724 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3724 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3725 iface->HistogramCustomTimes(*name, sample, min, max, bucket_count); 3725 iface->HistogramCustomTimes(instance, *name, sample, min, max, bucket_count);
3726 } 3726 }
3727 3727
3728 static void Pnacl_M18_PPB_UMA_Private_HistogramCustomCounts(struct PP_Var* name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) { 3728 static void Pnacl_M33_PPB_UMA_Private_HistogramCustomCounts(PP_Instance instance , struct PP_Var* name, int32_t sample, int32_t min, int32_t max, uint32_t bucket _count) {
3729 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3729 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3730 iface->HistogramCustomCounts(*name, sample, min, max, bucket_count); 3730 iface->HistogramCustomCounts(instance, *name, sample, min, max, bucket_count);
3731 } 3731 }
3732 3732
3733 static void Pnacl_M18_PPB_UMA_Private_HistogramEnumeration(struct PP_Var* name, int32_t sample, int32_t boundary_value) { 3733 static void Pnacl_M33_PPB_UMA_Private_HistogramEnumeration(PP_Instance instance, struct PP_Var* name, int32_t sample, int32_t boundary_value) {
3734 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3734 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3735 iface->HistogramEnumeration(*name, sample, boundary_value); 3735 iface->HistogramEnumeration(instance, *name, sample, boundary_value);
3736 } 3736 }
3737 3737
3738 /* End wrapper methods for PPB_UMA_Private_0_1 */ 3738 /* End wrapper methods for PPB_UMA_Private_0_2 */
3739 3739
3740 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */ 3740 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */
3741 3741
3742 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance ins tance) { 3742 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance ins tance) {
3743 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface; 3743 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface;
3744 return iface->Create(instance); 3744 return iface->Create(instance);
3745 } 3745 }
3746 3746
3747 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Reso urce resource) { 3747 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Reso urce resource) {
3748 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface; 3748 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface;
(...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
5124 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocke t_Private_IsUDPSocket, 5124 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocke t_Private_IsUDPSocket,
5125 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature _Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFe ature, 5125 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature _Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFe ature,
5126 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Priv ate* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Priva te_Bind, 5126 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Priv ate* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Priva te_Bind,
5127 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress _Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress, 5127 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress _Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress,
5128 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b ytes, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_Re cvFrom, 5128 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b ytes, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_Re cvFrom,
5129 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddr ess_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress, 5129 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddr ess_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress,
5130 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n um_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_SendTo, 5130 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n um_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_SendTo,
5131 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close 5131 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close
5132 }; 5132 };
5133 5133
5134 struct PPB_UMA_Private_0_1 Pnacl_Wrappers_PPB_UMA_Private_0_1 = { 5134 struct PPB_UMA_Private_0_2 Pnacl_Wrappers_PPB_UMA_Private_0_2 = {
5135 .HistogramCustomTimes = (void (*)(struct PP_Var name, int64_t sample, int64_ t min, int64_t max, uint32_t bucket_count))&Pnacl_M18_PPB_UMA_Private_HistogramC ustomTimes, 5135 .HistogramCustomTimes = (void (*)(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count))&Pnacl_M33_PPB_ UMA_Private_HistogramCustomTimes,
5136 .HistogramCustomCounts = (void (*)(struct PP_Var name, int32_t sample, int32 _t min, int32_t max, uint32_t bucket_count))&Pnacl_M18_PPB_UMA_Private_Histogram CustomCounts, 5136 .HistogramCustomCounts = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count))&Pnacl_M33_PPB _UMA_Private_HistogramCustomCounts,
5137 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration 5137 .HistogramEnumeration = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value))&Pnacl_M33_PPB_UMA_Private_HistogramEnum eration
5138 }; 5138 };
5139 5139
5140 struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestination_Priv ate_0_1 = { 5140 struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestination_Priv ate_0_1 = {
5141 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestina tion_Private_Create, 5141 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestina tion_Private_Create,
5142 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_Vide oDestination_Private_IsVideoDestination, 5142 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_Vide oDestination_Private_IsVideoDestination,
5143 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, stru ct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open, 5143 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, stru ct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open,
5144 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame _Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame, 5144 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame _Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame,
5145 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_ Private_Close 5145 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_ Private_Close
5146 }; 5146 };
5147 5147
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
5788 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3, 5788 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3,
5789 .real_iface = NULL 5789 .real_iface = NULL
5790 }; 5790 };
5791 5791
5792 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = { 5792 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = {
5793 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4, 5793 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4,
5794 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 5794 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4,
5795 .real_iface = NULL 5795 .real_iface = NULL
5796 }; 5796 };
5797 5797
5798 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1 = { 5798 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_2 = {
5799 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_1, 5799 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_2,
5800 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1, 5800 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_2,
5801 .real_iface = NULL 5801 .real_iface = NULL
5802 }; 5802 };
5803 5803
5804 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1 = { 5804 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1 = {
5805 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1, 5805 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1,
5806 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1, 5806 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1,
5807 .real_iface = NULL 5807 .real_iface = NULL
5808 }; 5808 };
5809 5809
5810 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = { 5810 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
5940 &Pnacl_WrapperInfo_PPB_Talk_Private_1_0, 5940 &Pnacl_WrapperInfo_PPB_Talk_Private_1_0,
5941 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0, 5941 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0,
5942 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1, 5942 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1,
5943 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2, 5943 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2,
5944 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, 5944 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3,
5945 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, 5945 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4,
5946 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, 5946 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5,
5947 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, 5947 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2,
5948 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, 5948 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3,
5949 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, 5949 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4,
5950 &Pnacl_WrapperInfo_PPB_UMA_Private_0_1, 5950 &Pnacl_WrapperInfo_PPB_UMA_Private_0_2,
5951 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 5951 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1,
5952 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 5952 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1,
5953 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 5953 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1,
5954 &Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1, 5954 &Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1,
5955 &Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1, 5955 &Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1,
5956 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, 5956 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1,
5957 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, 5957 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2,
5958 NULL 5958 NULL
5959 }; 5959 };
5960 5960
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
6035 if (NULL == iface) return NULL; 6035 if (NULL == iface) return NULL;
6036 wrapper->real_iface = iface; 6036 wrapper->real_iface = iface;
6037 } 6037 }
6038 6038
6039 if (wrapper->wrapped_iface) { 6039 if (wrapper->wrapped_iface) {
6040 return wrapper->wrapped_iface; 6040 return wrapper->wrapped_iface;
6041 } else { 6041 } else {
6042 return wrapper->real_iface; 6042 return wrapper->real_iface;
6043 } 6043 }
6044 } 6044 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698