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

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

Issue 540393003: Move PPB_VideoDecoder from 'Dev' to Stable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
(...skipping 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 return iface->HasKey(*dict, *key); 1919 return iface->HasKey(*dict, *key);
1921 } 1920 }
1922 1921
1923 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) { 1922 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) {
1924 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface; 1923 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1925 *_struct_result = iface->GetKeys(*dict); 1924 *_struct_result = iface->GetKeys(*dict);
1926 } 1925 }
1927 1926
1928 /* End wrapper methods for PPB_VarDictionary_1_0 */ 1927 /* End wrapper methods for PPB_VarDictionary_1_0 */
1929 1928
1930 /* Begin wrapper methods for PPB_VideoDecoder_0_1 */
1931
1932 static PP_Resource Pnacl_M36_PPB_VideoDecoder_Create(PP_Instance instance) {
1933 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1934 return iface->Create(instance);
1935 }
1936
1937 static PP_Bool Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) {
1938 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1939 return iface->IsVideoDecoder(resource);
1940 }
1941
1942 static int32_t Pnacl_M36_PPB_VideoDecoder_Initialize(PP_Resource video_decoder, PP_Resource graphics3d_context, PP_VideoProfile profile, PP_Bool allow_software_ fallback, struct PP_CompletionCallback* callback) {
1943 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1944 return iface->Initialize(video_decoder, graphics3d_context, profile, allow_sof tware_fallback, *callback);
1945 }
1946
1947 static int32_t Pnacl_M36_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint 32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback* callback) {
1948 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1949 return iface->Decode(video_decoder, decode_id, size, buffer, *callback);
1950 }
1951
1952 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) {
1953 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1954 return iface->GetPicture(video_decoder, picture, *callback);
1955 }
1956
1957 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder, const struct PP_VideoPicture* picture) {
1958 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1959 iface->RecyclePicture(video_decoder, picture);
1960 }
1961
1962 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
1963 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1964 return iface->Flush(video_decoder, *callback);
1965 }
1966
1967 static int32_t Pnacl_M36_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
1968 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1969 return iface->Reset(video_decoder, *callback);
1970 }
1971
1972 /* End wrapper methods for PPB_VideoDecoder_0_1 */
1973
1974 /* Begin wrapper methods for PPB_VideoDecoder_0_2 */ 1929 /* Begin wrapper methods for PPB_VideoDecoder_0_2 */
1975 1930
1976 static PP_Resource Pnacl_M39_PPB_VideoDecoder_Create(PP_Instance instance) { 1931 static PP_Resource Pnacl_M39_PPB_VideoDecoder_Create(PP_Instance instance) {
1977 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_2.real_iface; 1932 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_2.real_iface;
1978 return iface->Create(instance); 1933 return iface->Create(instance);
1979 } 1934 }
1980 1935
1981 static PP_Bool Pnacl_M39_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) { 1936 static PP_Bool Pnacl_M39_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) {
1982 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_2.real_iface; 1937 const struct PPB_VideoDecoder_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_2.real_iface;
1983 return iface->IsVideoDecoder(resource); 1938 return iface->IsVideoDecoder(resource);
(...skipping 2937 matching lines...) Expand 10 before | Expand all | Expand 10 after
4921 4876
4922 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { 4877 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = {
4923 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, 4878 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create,
4924 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get, 4879 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get,
4925 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set, 4880 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set,
4926 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete, 4881 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete,
4927 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey, 4882 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey,
4928 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys 4883 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys
4929 }; 4884 };
4930 4885
4931 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1 = {
4932 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_VideoDecoder _Create,
4933 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_VideoDec oder_IsVideoDecoder,
4934 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d _context, PP_VideoProfile profile, PP_Bool allow_software_fallback, struct PP_Co mpletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Initialize,
4935 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32 _t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M36_P PB_VideoDecoder_Decode,
4936 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Ge tPicture,
4937 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture,
4938 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M36_PPB_VideoDecoder_Flush,
4939 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M36_PPB_VideoDecoder_Reset
4940 };
4941
4942 static const struct PPB_VideoDecoder_0_2 Pnacl_Wrappers_PPB_VideoDecoder_0_2 = { 4886 static const struct PPB_VideoDecoder_0_2 Pnacl_Wrappers_PPB_VideoDecoder_0_2 = {
4943 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M39_PPB_VideoDecoder _Create, 4887 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M39_PPB_VideoDecoder _Create,
4944 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M39_PPB_VideoDec oder_IsVideoDecoder, 4888 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M39_PPB_VideoDec oder_IsVideoDecoder,
4945 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d _context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Initialize, 4889 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d _context, PP_VideoProfile profile, PP_HardwareAcceleration acceleration, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Initialize,
4946 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32 _t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M39_P PB_VideoDecoder_Decode, 4890 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32 _t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M39_P PB_VideoDecoder_Decode,
4947 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Ge tPicture, 4891 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M39_PPB_VideoDecoder_Ge tPicture,
4948 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M39_PPB_VideoDecoder_RecyclePicture, 4892 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M39_PPB_VideoDecoder_RecyclePicture,
4949 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M39_PPB_VideoDecoder_Flush, 4893 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M39_PPB_VideoDecoder_Flush,
4950 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M39_PPB_VideoDecoder_Reset 4894 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M39_PPB_VideoDecoder_Reset
4951 }; 4895 };
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
5925 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 5869 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0,
5926 .real_iface = NULL 5870 .real_iface = NULL
5927 }; 5871 };
5928 5872
5929 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = { 5873 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = {
5930 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0, 5874 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0,
5931 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, 5875 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0,
5932 .real_iface = NULL 5876 .real_iface = NULL
5933 }; 5877 };
5934 5878
5935 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1 = {
5936 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_1,
5937 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1,
5938 .real_iface = NULL
5939 };
5940
5941 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2 = { 5879 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2 = {
5942 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_2, 5880 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_2,
5943 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2, 5881 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_2,
5944 .real_iface = NULL 5882 .real_iface = NULL
5945 }; 5883 };
5946 5884
5947 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 5885 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = {
5948 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 5886 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0,
5949 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 5887 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0,
5950 .real_iface = NULL 5888 .real_iface = NULL
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
6345 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, 6283 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0,
6346 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 6284 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
6347 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 6285 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
6348 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 6286 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
6349 &Pnacl_WrapperInfo_PPB_Var_1_0, 6287 &Pnacl_WrapperInfo_PPB_Var_1_0,
6350 &Pnacl_WrapperInfo_PPB_Var_1_1, 6288 &Pnacl_WrapperInfo_PPB_Var_1_1,
6351 &Pnacl_WrapperInfo_PPB_Var_1_2, 6289 &Pnacl_WrapperInfo_PPB_Var_1_2,
6352 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 6290 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
6353 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 6291 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
6354 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 6292 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
6355 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1,
6356 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, 6293 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2,
6357 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 6294 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
6358 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 6295 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3,
6359 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 6296 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4,
6360 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 6297 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1,
6361 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 6298 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5,
6362 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6299 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
6363 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6300 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
6364 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6301 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
6365 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6302 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
6482 6419
6483 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6420 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6484 if (wrapper->real_iface == NULL) { 6421 if (wrapper->real_iface == NULL) {
6485 const void *iface = (*__real_PPPGetInterface)(name); 6422 const void *iface = (*__real_PPPGetInterface)(name);
6486 if (NULL == iface) return NULL; 6423 if (NULL == iface) return NULL;
6487 wrapper->real_iface = iface; 6424 wrapper->real_iface = iface;
6488 } 6425 }
6489 6426
6490 return wrapper->wrapped_iface; 6427 return wrapper->wrapped_iface;
6491 } 6428 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698