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

Side by Side Diff: chrome/browser/component_updater/ppapi_utils.cc

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rough patch. Starting testing. 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/test/ppapi/ppapi_browsertest.cc » ('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) 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 #include "chrome/browser/component_updater/ppapi_utils.h" 4 #include "chrome/browser/component_updater/ppapi_utils.h"
5 5
6 #include <cstring> 6 #include <cstring>
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ppapi/c/dev/ppb_alarms_dev.h" 9 #include "ppapi/c/dev/ppb_alarms_dev.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 24 matching lines...) Expand all
35 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 35 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
36 #include "ppapi/c/dev/ppb_view_dev.h" 36 #include "ppapi/c/dev/ppb_view_dev.h"
37 #include "ppapi/c/dev/ppb_widget_dev.h" 37 #include "ppapi/c/dev/ppb_widget_dev.h"
38 #include "ppapi/c/dev/ppb_zoom_dev.h" 38 #include "ppapi/c/dev/ppb_zoom_dev.h"
39 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 39 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h"
40 #include "ppapi/c/ppb_audio.h" 40 #include "ppapi/c/ppb_audio.h"
41 #include "ppapi/c/ppb_audio_config.h" 41 #include "ppapi/c/ppb_audio_config.h"
42 #include "ppapi/c/ppb_console.h" 42 #include "ppapi/c/ppb_console.h"
43 #include "ppapi/c/ppb_core.h" 43 #include "ppapi/c/ppb_core.h"
44 #include "ppapi/c/ppb_file_io.h" 44 #include "ppapi/c/ppb_file_io.h"
45 #include "ppapi/c/ppb_file_mapping.h"
45 #include "ppapi/c/ppb_file_ref.h" 46 #include "ppapi/c/ppb_file_ref.h"
46 #include "ppapi/c/ppb_file_system.h" 47 #include "ppapi/c/ppb_file_system.h"
47 #include "ppapi/c/ppb_fullscreen.h" 48 #include "ppapi/c/ppb_fullscreen.h"
48 #include "ppapi/c/ppb_gamepad.h" 49 #include "ppapi/c/ppb_gamepad.h"
49 #include "ppapi/c/ppb_graphics_2d.h" 50 #include "ppapi/c/ppb_graphics_2d.h"
50 #include "ppapi/c/ppb_graphics_3d.h" 51 #include "ppapi/c/ppb_graphics_3d.h"
51 #include "ppapi/c/ppb_host_resolver.h" 52 #include "ppapi/c/ppb_host_resolver.h"
52 #include "ppapi/c/ppb_image_data.h" 53 #include "ppapi/c/ppb_image_data.h"
53 #include "ppapi/c/ppb_input_event.h" 54 #include "ppapi/c/ppb_input_event.h"
54 #include "ppapi/c/ppb_instance.h" 55 #include "ppapi/c/ppb_instance.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #define UNPROXIED_IFACE(iface_str, iface_struct) \ 117 #define UNPROXIED_IFACE(iface_str, iface_struct) \
117 if (strcmp(name, iface_str) == 0) \ 118 if (strcmp(name, iface_str) == 0) \
118 return true; 119 return true;
119 #define PROXIED_IFACE(iface_str, iface_struct) \ 120 #define PROXIED_IFACE(iface_str, iface_struct) \
120 UNPROXIED_IFACE(iface_str, iface_struct) 121 UNPROXIED_IFACE(iface_str, iface_struct)
121 122
122 #include "ppapi/thunk/interfaces_ppb_private.h" 123 #include "ppapi/thunk/interfaces_ppb_private.h"
123 #include "ppapi/thunk/interfaces_ppb_private_flash.h" 124 #include "ppapi/thunk/interfaces_ppb_private_flash.h"
124 #include "ppapi/thunk/interfaces_ppb_private_no_permissions.h" 125 #include "ppapi/thunk/interfaces_ppb_private_no_permissions.h"
125 #include "ppapi/thunk/interfaces_ppb_public_dev.h" 126 #include "ppapi/thunk/interfaces_ppb_public_dev.h"
127 #include "ppapi/thunk/interfaces_ppb_public_dev_channel.h"
126 #include "ppapi/thunk/interfaces_ppb_public_stable.h" 128 #include "ppapi/thunk/interfaces_ppb_public_stable.h"
127 129
128 #undef UNPROXIED_IFACE 130 #undef UNPROXIED_IFACE
129 #undef PROXIED_IFACE 131 #undef PROXIED_IFACE
130 132
131 #define LEGACY_IFACE(iface_str, dummy) \ 133 #define LEGACY_IFACE(iface_str, dummy) \
132 if (strcmp(name, iface_str) == 0) \ 134 if (strcmp(name, iface_str) == 0) \
133 return true; 135 return true;
134 136
135 #include "ppapi/thunk/interfaces_legacy.h" 137 #include "ppapi/thunk/interfaces_legacy.h"
136 138
137 #undef LEGACY_IFACE 139 #undef LEGACY_IFACE
138 return false; 140 return false;
139 } 141 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/ppapi/ppapi_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698