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

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

Issue 210373003: Pepper VideoDecoder API definition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exclude thunk from build for now. Created 6 years, 7 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
« no previous file with comments | « ppapi/cpp/video_decoder.cc ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 30 matching lines...) Expand all
41 #include "ppapi/c/ppb_tcp_socket.h" 41 #include "ppapi/c/ppb_tcp_socket.h"
42 #include "ppapi/c/ppb_text_input_controller.h" 42 #include "ppapi/c/ppb_text_input_controller.h"
43 #include "ppapi/c/ppb_udp_socket.h" 43 #include "ppapi/c/ppb_udp_socket.h"
44 #include "ppapi/c/ppb_url_loader.h" 44 #include "ppapi/c/ppb_url_loader.h"
45 #include "ppapi/c/ppb_url_request_info.h" 45 #include "ppapi/c/ppb_url_request_info.h"
46 #include "ppapi/c/ppb_url_response_info.h" 46 #include "ppapi/c/ppb_url_response_info.h"
47 #include "ppapi/c/ppb_var.h" 47 #include "ppapi/c/ppb_var.h"
48 #include "ppapi/c/ppb_var_array.h" 48 #include "ppapi/c/ppb_var_array.h"
49 #include "ppapi/c/ppb_var_array_buffer.h" 49 #include "ppapi/c/ppb_var_array_buffer.h"
50 #include "ppapi/c/ppb_var_dictionary.h" 50 #include "ppapi/c/ppb_var_dictionary.h"
51 #include "ppapi/c/ppb_video_decoder.h"
51 #include "ppapi/c/ppb_websocket.h" 52 #include "ppapi/c/ppb_websocket.h"
52 #include "ppapi/c/ppp_messaging.h" 53 #include "ppapi/c/ppp_messaging.h"
53 #include "ppapi/c/private/ppb_content_decryptor_private.h" 54 #include "ppapi/c/private/ppb_content_decryptor_private.h"
54 #include "ppapi/c/private/ppb_display_color_profile_private.h" 55 #include "ppapi/c/private/ppb_display_color_profile_private.h"
55 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 56 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
56 #include "ppapi/c/private/ppb_file_io_private.h" 57 #include "ppapi/c/private/ppb_file_io_private.h"
57 #include "ppapi/c/private/ppb_file_ref_private.h" 58 #include "ppapi/c/private/ppb_file_ref_private.h"
58 #include "ppapi/c/private/ppb_flash.h" 59 #include "ppapi/c/private/ppb_flash.h"
59 #include "ppapi/c/private/ppb_flash_clipboard.h" 60 #include "ppapi/c/private/ppb_flash_clipboard.h"
60 #include "ppapi/c/private/ppb_flash_device_id.h" 61 #include "ppapi/c/private/ppb_flash_device_id.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; 130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0;
130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2;
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 return iface->HasKey(*dict, *key); 1757 return iface->HasKey(*dict, *key);
1756 } 1758 }
1757 1759
1758 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) { 1760 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) {
1759 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface; 1761 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1760 *_struct_result = iface->GetKeys(*dict); 1762 *_struct_result = iface->GetKeys(*dict);
1761 } 1763 }
1762 1764
1763 /* End wrapper methods for PPB_VarDictionary_1_0 */ 1765 /* End wrapper methods for PPB_VarDictionary_1_0 */
1764 1766
1767 /* Begin wrapper methods for PPB_VideoDecoder_0_1 */
1768
1769 static PP_Resource Pnacl_M36_PPB_VideoDecoder_Create(PP_Instance instance) {
1770 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1771 return iface->Create(instance);
1772 }
1773
1774 static PP_Bool Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) {
1775 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1776 return iface->IsVideoDecoder(resource);
1777 }
1778
1779 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) {
1780 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1781 return iface->Initialize(video_decoder, graphics3d_context, profile, allow_sof tware_fallback, *callback);
1782 }
1783
1784 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) {
1785 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1786 return iface->Decode(video_decoder, decode_id, size, buffer, *callback);
1787 }
1788
1789 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) {
1790 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1791 return iface->GetPicture(video_decoder, picture, *callback);
1792 }
1793
1794 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder, const struct PP_VideoPicture* picture) {
1795 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1796 iface->RecyclePicture(video_decoder, picture);
1797 }
1798
1799 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
1800 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1801 return iface->Flush(video_decoder, *callback);
1802 }
1803
1804 static int32_t Pnacl_M36_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struc t PP_CompletionCallback* callback) {
1805 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_ 0_1.real_iface;
1806 return iface->Reset(video_decoder, *callback);
1807 }
1808
1809 /* End wrapper methods for PPB_VideoDecoder_0_1 */
1810
1765 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ 1811 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */
1766 1812
1767 /* Not generating wrapper methods for PPB_View_1_0 */ 1813 /* Not generating wrapper methods for PPB_View_1_0 */
1768 1814
1769 /* Not generating wrapper methods for PPB_View_1_1 */ 1815 /* Not generating wrapper methods for PPB_View_1_1 */
1770 1816
1771 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1817 /* Begin wrapper methods for PPB_WebSocket_1_0 */
1772 1818
1773 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1819 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) {
1774 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 1820 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
(...skipping 2838 matching lines...) Expand 10 before | Expand all | Expand 10 after
4613 4659
4614 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { 4660 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = {
4615 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, 4661 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create,
4616 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get, 4662 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get,
4617 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set, 4663 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set,
4618 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete, 4664 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete,
4619 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey, 4665 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey,
4620 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys 4666 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys
4621 }; 4667 };
4622 4668
4669 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1 = {
4670 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_VideoDecoder _Create,
4671 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_VideoDec oder_IsVideoDecoder,
4672 .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,
4673 .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,
4674 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture * picture, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Ge tPicture,
4675 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_Video Picture* picture))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture,
4676 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M36_PPB_VideoDecoder_Flush,
4677 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac k callback))&Pnacl_M36_PPB_VideoDecoder_Reset
4678 };
4679
4623 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ 4680 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */
4624 4681
4625 /* Not generating wrapper interface for PPB_View_1_0 */ 4682 /* Not generating wrapper interface for PPB_View_1_0 */
4626 4683
4627 /* Not generating wrapper interface for PPB_View_1_1 */ 4684 /* Not generating wrapper interface for PPB_View_1_1 */
4628 4685
4629 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 4686 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = {
4630 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate, 4687 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate,
4631 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket, 4688 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket,
4632 .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, 4689 .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,
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
5560 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 5617 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0,
5561 .real_iface = NULL 5618 .real_iface = NULL
5562 }; 5619 };
5563 5620
5564 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = { 5621 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = {
5565 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0, 5622 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0,
5566 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, 5623 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0,
5567 .real_iface = NULL 5624 .real_iface = NULL
5568 }; 5625 };
5569 5626
5627 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1 = {
5628 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_1,
5629 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1,
5630 .real_iface = NULL
5631 };
5632
5570 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 5633 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = {
5571 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 5634 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0,
5572 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 5635 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0,
5573 .real_iface = NULL 5636 .real_iface = NULL
5574 }; 5637 };
5575 5638
5576 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { 5639 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = {
5577 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, 5640 .iface_macro = PPP_MESSAGING_INTERFACE_1_0,
5578 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, 5641 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0,
5579 .real_iface = NULL 5642 .real_iface = NULL
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
5964 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, 6027 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0,
5965 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 6028 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
5966 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 6029 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
5967 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 6030 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
5968 &Pnacl_WrapperInfo_PPB_Var_1_0, 6031 &Pnacl_WrapperInfo_PPB_Var_1_0,
5969 &Pnacl_WrapperInfo_PPB_Var_1_1, 6032 &Pnacl_WrapperInfo_PPB_Var_1_1,
5970 &Pnacl_WrapperInfo_PPB_Var_1_2, 6033 &Pnacl_WrapperInfo_PPB_Var_1_2,
5971 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 6034 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
5972 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 6035 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
5973 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 6036 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
6037 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1,
5974 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 6038 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
5975 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1, 6039 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1,
5976 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 6040 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3,
5977 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 6041 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4,
5978 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 6042 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1,
5979 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 6043 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5,
5980 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6044 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
5981 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6045 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
5982 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6046 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
5983 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6047 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
6099 6163
6100 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6164 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6101 if (wrapper->real_iface == NULL) { 6165 if (wrapper->real_iface == NULL) {
6102 const void *iface = (*__real_PPPGetInterface)(name); 6166 const void *iface = (*__real_PPPGetInterface)(name);
6103 if (NULL == iface) return NULL; 6167 if (NULL == iface) return NULL;
6104 wrapper->real_iface = iface; 6168 wrapper->real_iface = iface;
6105 } 6169 }
6106 6170
6107 return wrapper->wrapped_iface; 6171 return wrapper->wrapped_iface;
6108 } 6172 }
OLDNEW
« no previous file with comments | « ppapi/cpp/video_decoder.cc ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698