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

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

Issue 11368108: Convert NetworkState to IDL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed macro name for interface Created 8 years, 1 month 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
« no previous file with comments | « ppapi/c/dev/ppp_network_state_dev.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* Last generated from IDL: Mon Oct 29 12:56:27 2012. */ 6 /* Last generated from IDL: Wed Nov 7 09:50:53 2012. */
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"
11 #include "ppapi/c/dev/ppb_buffer_dev.h" 11 #include "ppapi/c/dev/ppb_buffer_dev.h"
12 #include "ppapi/c/dev/ppb_console_dev.h" 12 #include "ppapi/c/dev/ppb_console_dev.h"
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" 14 #include "ppapi/c/dev/ppb_device_ref_dev.h"
15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
16 #include "ppapi/c/dev/ppb_find_dev.h" 16 #include "ppapi/c/dev/ppb_find_dev.h"
17 #include "ppapi/c/dev/ppb_font_dev.h" 17 #include "ppapi/c/dev/ppb_font_dev.h"
18 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" 18 #include "ppapi/c/dev/ppb_graphics_2d_dev.h"
19 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 19 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
20 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 20 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
21 #include "ppapi/c/dev/ppb_memory_dev.h" 21 #include "ppapi/c/dev/ppb_memory_dev.h"
22 #include "ppapi/c/dev/ppb_message_loop_dev.h" 22 #include "ppapi/c/dev/ppb_message_loop_dev.h"
23 #include "ppapi/c/dev/ppb_printing_dev.h" 23 #include "ppapi/c/dev/ppb_printing_dev.h"
24 #include "ppapi/c/dev/ppb_resource_array_dev.h" 24 #include "ppapi/c/dev/ppb_resource_array_dev.h"
25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 25 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
26 #include "ppapi/c/dev/ppb_testing_dev.h" 26 #include "ppapi/c/dev/ppb_testing_dev.h"
27 #include "ppapi/c/dev/ppb_text_input_dev.h" 27 #include "ppapi/c/dev/ppb_text_input_dev.h"
28 #include "ppapi/c/dev/ppb_url_util_dev.h" 28 #include "ppapi/c/dev/ppb_url_util_dev.h"
29 #include "ppapi/c/dev/ppb_video_capture_dev.h" 29 #include "ppapi/c/dev/ppb_video_capture_dev.h"
30 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 30 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
31 #include "ppapi/c/dev/ppb_view_dev.h" 31 #include "ppapi/c/dev/ppb_view_dev.h"
32 #include "ppapi/c/dev/ppb_widget_dev.h" 32 #include "ppapi/c/dev/ppb_widget_dev.h"
33 #include "ppapi/c/dev/ppb_zoom_dev.h" 33 #include "ppapi/c/dev/ppb_zoom_dev.h"
34 #include "ppapi/c/dev/ppp_network_state_dev.h"
34 #include "ppapi/c/dev/ppp_printing_dev.h" 35 #include "ppapi/c/dev/ppp_printing_dev.h"
35 #include "ppapi/c/dev/ppp_text_input_dev.h" 36 #include "ppapi/c/dev/ppp_text_input_dev.h"
36 #include "ppapi/c/dev/ppp_video_capture_dev.h" 37 #include "ppapi/c/dev/ppp_video_capture_dev.h"
37 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 38 #include "ppapi/c/dev/ppp_video_decoder_dev.h"
38 #include "ppapi/c/dev/ppp_widget_dev.h" 39 #include "ppapi/c/dev/ppp_widget_dev.h"
39 #include "ppapi/c/dev/ppp_zoom_dev.h" 40 #include "ppapi/c/dev/ppp_zoom_dev.h"
40 #include "ppapi/c/ppb_audio.h" 41 #include "ppapi/c/ppb_audio.h"
41 #include "ppapi/c/ppb_audio_config.h" 42 #include "ppapi/c/ppb_audio_config.h"
42 #include "ppapi/c/ppb_core.h" 43 #include "ppapi/c/ppb_core.h"
43 #include "ppapi/c/ppb_file_io.h" 44 #include "ppapi/c/ppb_file_io.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1;
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Widget_Dev_0_2;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_ 0_6;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */ 1934 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */
1933 1935
1934 /* Not generating wrapper methods for PPB_View_Dev_0_1 */ 1936 /* Not generating wrapper methods for PPB_View_Dev_0_1 */
1935 1937
1936 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */ 1938 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */
1937 1939
1938 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */ 1940 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */
1939 1941
1940 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */ 1942 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */
1941 1943
1944 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */
1945
1942 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */ 1946 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */
1943 1947
1944 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 1948 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */
1945 1949
1946 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 1950 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */
1947 1951
1948 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */ 1952 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_9 */
1949 1953
1950 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */ 1954 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_10 */
1951 1955
(...skipping 2007 matching lines...) Expand 10 before | Expand all | Expand 10 after
3959 }; 3963 };
3960 3964
3961 /* Not generating wrapper interface for PPB_View_Dev_0_1 */ 3965 /* Not generating wrapper interface for PPB_View_Dev_0_1 */
3962 3966
3963 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */ 3967 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */
3964 3968
3965 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */ 3969 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */
3966 3970
3967 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */ 3971 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */
3968 3972
3973 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */
3974
3969 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */ 3975 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */
3970 3976
3971 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 3977 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */
3972 3978
3973 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 3979 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */
3974 3980
3975 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */ 3981 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_9 */
3976 3982
3977 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */ 3983 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_10 */
3978 3984
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
4814 .wrapped_iface = NULL /* Still need slot for real_iface */, 4820 .wrapped_iface = NULL /* Still need slot for real_iface */,
4815 .real_iface = NULL 4821 .real_iface = NULL
4816 }; 4822 };
4817 4823
4818 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2 = { 4824 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2 = {
4819 .iface_macro = PPB_ZOOM_DEV_INTERFACE_0_2, 4825 .iface_macro = PPB_ZOOM_DEV_INTERFACE_0_2,
4820 .wrapped_iface = NULL /* Still need slot for real_iface */, 4826 .wrapped_iface = NULL /* Still need slot for real_iface */,
4821 .real_iface = NULL 4827 .real_iface = NULL
4822 }; 4828 };
4823 4829
4830 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1 = {
4831 .iface_macro = PPP_NETWORK_STATE_DEV_INTERFACE_0_1,
4832 .wrapped_iface = NULL /* Still need slot for real_iface */,
4833 .real_iface = NULL
4834 };
4835
4824 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6 = { 4836 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6 = {
4825 .iface_macro = PPP_PRINTING_DEV_INTERFACE_0_6, 4837 .iface_macro = PPP_PRINTING_DEV_INTERFACE_0_6,
4826 .wrapped_iface = NULL /* Still need slot for real_iface */, 4838 .wrapped_iface = NULL /* Still need slot for real_iface */,
4827 .real_iface = NULL 4839 .real_iface = NULL
4828 }; 4840 };
4829 4841
4830 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1 = { 4842 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1 = {
4831 .iface_macro = PPP_TEXTINPUT_DEV_INTERFACE_0_1, 4843 .iface_macro = PPP_TEXTINPUT_DEV_INTERFACE_0_1,
4832 .wrapped_iface = NULL /* Still need slot for real_iface */, 4844 .wrapped_iface = NULL /* Still need slot for real_iface */,
4833 .real_iface = NULL 4845 .real_iface = NULL
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
5224 NULL 5236 NULL
5225 }; 5237 };
5226 5238
5227 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 5239 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = {
5228 &Pnacl_WrapperInfo_PPP_Graphics3D_1_0, 5240 &Pnacl_WrapperInfo_PPP_Graphics3D_1_0,
5229 &Pnacl_WrapperInfo_PPP_InputEvent_0_1, 5241 &Pnacl_WrapperInfo_PPP_InputEvent_0_1,
5230 &Pnacl_WrapperInfo_PPP_Instance_1_0, 5242 &Pnacl_WrapperInfo_PPP_Instance_1_0,
5231 &Pnacl_WrapperInfo_PPP_Instance_1_1, 5243 &Pnacl_WrapperInfo_PPP_Instance_1_1,
5232 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5244 &Pnacl_WrapperInfo_PPP_Messaging_1_0,
5233 &Pnacl_WrapperInfo_PPP_MouseLock_1_0, 5245 &Pnacl_WrapperInfo_PPP_MouseLock_1_0,
5246 &Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1,
5234 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6, 5247 &Pnacl_WrapperInfo_PPP_Printing_Dev_0_6,
5235 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1, 5248 &Pnacl_WrapperInfo_PPP_TextInput_Dev_0_1,
5236 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1, 5249 &Pnacl_WrapperInfo_PPP_VideoCapture_Dev_0_1,
5237 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9, 5250 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_9,
5238 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10, 5251 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_10,
5239 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11, 5252 &Pnacl_WrapperInfo_PPP_VideoDecoder_Dev_0_11,
5240 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2, 5253 &Pnacl_WrapperInfo_PPP_Widget_Dev_0_2,
5241 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3, 5254 &Pnacl_WrapperInfo_PPP_Zoom_Dev_0_3,
5242 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_6, 5255 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_6,
5243 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0, 5256 &Pnacl_WrapperInfo_PPP_Flash_BrowserOperations_1_0,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
5318 } 5331 }
5319 5332
5320 if (wrapper->wrapped_iface) { 5333 if (wrapper->wrapped_iface) {
5321 return wrapper->wrapped_iface; 5334 return wrapper->wrapped_iface;
5322 } else { 5335 } else {
5323 return wrapper->real_iface; 5336 return wrapper->real_iface;
5324 } 5337 }
5325 } 5338 }
5326 5339
5327 #endif 5340 #endif
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_network_state_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698