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

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 unused histogram names Created 6 years, 11 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
OLDNEW
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _1;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _2; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0 _2;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4;
231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5;
232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0;
233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2;
234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3;
235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4;
236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_2;
237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1;
238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1;
239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0 _1;
240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_10; 240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_10;
241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1;
243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2;
244 /* END Declarations for all Wrapper Infos. */ 244 /* END Declarations for all Wrapper Infos. */
245 245
246 /* Not generating wrapper methods for PPB_Audio_1_0 */ 246 /* Not generating wrapper methods for PPB_Audio_1_0 */
(...skipping 3498 matching lines...) Expand 10 before | Expand all | Expand 10 after
3745 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 3745 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback);
3746 } 3746 }
3747 3747
3748 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 3748 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) {
3749 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocke t_Private_0_4.real_iface; 3749 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocke t_Private_0_4.real_iface;
3750 iface->Close(udp_socket); 3750 iface->Close(udp_socket);
3751 } 3751 }
3752 3752
3753 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */ 3753 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */
3754 3754
3755 /* Begin wrapper methods for PPB_UMA_Private_0_1 */ 3755 /* Begin wrapper methods for PPB_UMA_Private_0_2 */
3756 3756
3757 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) { 3757 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) {
3758 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3758 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3759 iface->HistogramCustomTimes(*name, sample, min, max, bucket_count); 3759 iface->HistogramCustomTimes(instance, *name, sample, min, max, bucket_count);
3760 } 3760 }
3761 3761
3762 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) { 3762 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) {
3763 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3763 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3764 iface->HistogramCustomCounts(*name, sample, min, max, bucket_count); 3764 iface->HistogramCustomCounts(instance, *name, sample, min, max, bucket_count);
3765 } 3765 }
3766 3766
3767 static void Pnacl_M18_PPB_UMA_Private_HistogramEnumeration(struct PP_Var* name, int32_t sample, int32_t boundary_value) { 3767 static void Pnacl_M33_PPB_UMA_Private_HistogramEnumeration(PP_Instance instance, struct PP_Var* name, int32_t sample, int32_t boundary_value) {
3768 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 1.real_iface; 3768 const struct PPB_UMA_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_ 2.real_iface;
3769 iface->HistogramEnumeration(*name, sample, boundary_value); 3769 iface->HistogramEnumeration(instance, *name, sample, boundary_value);
3770 } 3770 }
3771 3771
3772 /* End wrapper methods for PPB_UMA_Private_0_1 */ 3772 /* End wrapper methods for PPB_UMA_Private_0_2 */
3773 3773
3774 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */ 3774 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */
3775 3775
3776 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance ins tance) { 3776 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance ins tance) {
3777 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface; 3777 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface;
3778 return iface->Create(instance); 3778 return iface->Create(instance);
3779 } 3779 }
3780 3780
3781 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Reso urce resource) { 3781 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Reso urce resource) {
3782 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface; 3782 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_V ideoDestination_Private_0_1.real_iface;
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
5119 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocke t_Private_IsUDPSocket, 5119 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocke t_Private_IsUDPSocket,
5120 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature _Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFe ature, 5120 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature _Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFe ature,
5121 .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, 5121 .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,
5122 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress _Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress, 5122 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress _Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress,
5123 .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, 5123 .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,
5124 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddr ess_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress, 5124 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddr ess_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress,
5125 .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, 5125 .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,
5126 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close 5126 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_ Close
5127 }; 5127 };
5128 5128
5129 static struct PPB_UMA_Private_0_1 Pnacl_Wrappers_PPB_UMA_Private_0_1 = { 5129 static struct PPB_UMA_Private_0_2 Pnacl_Wrappers_PPB_UMA_Private_0_2 = {
5130 .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, 5130 .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,
5131 .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, 5131 .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,
5132 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_ t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration 5132 .HistogramEnumeration = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value))&Pnacl_M33_PPB_UMA_Private_HistogramEnum eration
5133 }; 5133 };
5134 5134
5135 static struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestinati on_Private_0_1 = { 5135 static struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestinati on_Private_0_1 = {
5136 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestina tion_Private_Create, 5136 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestina tion_Private_Create,
5137 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_Vide oDestination_Private_IsVideoDestination, 5137 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_Vide oDestination_Private_IsVideoDestination,
5138 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, stru ct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open, 5138 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, stru ct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open,
5139 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame _Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame, 5139 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame _Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame,
5140 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_ Private_Close 5140 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_ Private_Close
5141 }; 5141 };
5142 5142
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
5776 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3, 5776 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3,
5777 .real_iface = NULL 5777 .real_iface = NULL
5778 }; 5778 };
5779 5779
5780 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = { 5780 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = {
5781 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4, 5781 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4,
5782 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 5782 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4,
5783 .real_iface = NULL 5783 .real_iface = NULL
5784 }; 5784 };
5785 5785
5786 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1 = { 5786 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_2 = {
5787 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_1, 5787 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_2,
5788 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1, 5788 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_2,
5789 .real_iface = NULL 5789 .real_iface = NULL
5790 }; 5790 };
5791 5791
5792 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1 = { 5792 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_ 0_1 = {
5793 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1, 5793 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1,
5794 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1, 5794 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1,
5795 .real_iface = NULL 5795 .real_iface = NULL
5796 }; 5796 };
5797 5797
5798 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = { 5798 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
5917 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0, 5917 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0,
5918 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1, 5918 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1,
5919 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2, 5919 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2,
5920 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, 5920 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3,
5921 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, 5921 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4,
5922 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, 5922 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5,
5923 &Pnacl_WrapperInfo_PPB_Testing_Private_1_0, 5923 &Pnacl_WrapperInfo_PPB_Testing_Private_1_0,
5924 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, 5924 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2,
5925 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, 5925 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3,
5926 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, 5926 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4,
5927 &Pnacl_WrapperInfo_PPB_UMA_Private_0_1, 5927 &Pnacl_WrapperInfo_PPB_UMA_Private_0_2,
5928 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 5928 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1,
5929 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 5929 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1,
5930 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 5930 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1,
5931 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, 5931 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1,
5932 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, 5932 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2,
5933 NULL 5933 NULL
5934 }; 5934 };
5935 5935
5936 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 5936 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
5937 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5937 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
6010 if (NULL == iface) return NULL; 6010 if (NULL == iface) return NULL;
6011 wrapper->real_iface = iface; 6011 wrapper->real_iface = iface;
6012 } 6012 }
6013 6013
6014 if (wrapper->wrapped_iface) { 6014 if (wrapper->wrapped_iface) {
6015 return wrapper->wrapped_iface; 6015 return wrapper->wrapped_iface;
6016 } else { 6016 } else {
6017 return wrapper->real_iface; 6017 return wrapper->real_iface;
6018 } 6018 }
6019 } 6019 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698