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