OLD | NEW |
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 #define UNPROXIED_IFACE(iface_str, iface_struct) \ | 115 #define UNPROXIED_IFACE(iface_str, iface_struct) \ |
116 if (strcmp(name, iface_str) == 0) \ | 116 if (strcmp(name, iface_str) == 0) \ |
117 return true; | 117 return true; |
118 #define PROXIED_IFACE(iface_str, iface_struct) \ | 118 #define PROXIED_IFACE(iface_str, iface_struct) \ |
119 UNPROXIED_IFACE(iface_str, iface_struct) | 119 UNPROXIED_IFACE(iface_str, iface_struct) |
120 | 120 |
121 #include "ppapi/thunk/interfaces_ppb_private.h" | 121 #include "ppapi/thunk/interfaces_ppb_private.h" |
122 #include "ppapi/thunk/interfaces_ppb_private_flash.h" | 122 #include "ppapi/thunk/interfaces_ppb_private_flash.h" |
123 #include "ppapi/thunk/interfaces_ppb_private_no_permissions.h" | 123 #include "ppapi/thunk/interfaces_ppb_private_no_permissions.h" |
124 #include "ppapi/thunk/interfaces_ppb_public_dev.h" | 124 #include "ppapi/thunk/interfaces_ppb_public_dev.h" |
125 #include "ppapi/thunk/interfaces_ppb_public_dev_channel.h" | |
126 #include "ppapi/thunk/interfaces_ppb_public_stable.h" | 125 #include "ppapi/thunk/interfaces_ppb_public_stable.h" |
127 | 126 |
128 #undef UNPROXIED_IFACE | 127 #undef UNPROXIED_IFACE |
129 #undef PROXIED_IFACE | 128 #undef PROXIED_IFACE |
130 | 129 |
131 #define LEGACY_IFACE(iface_str, dummy) \ | 130 #define LEGACY_IFACE(iface_str, dummy) \ |
132 if (strcmp(name, iface_str) == 0) \ | 131 if (strcmp(name, iface_str) == 0) \ |
133 return true; | 132 return true; |
134 | 133 |
135 #include "ppapi/thunk/interfaces_legacy.h" | 134 #include "ppapi/thunk/interfaces_legacy.h" |
136 | 135 |
137 #undef LEGACY_IFACE | 136 #undef LEGACY_IFACE |
138 return false; | 137 return false; |
139 } | 138 } |
OLD | NEW |