OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_features.h" | 6 #include "content/public/common/content_features.h" |
7 | 7 |
8 namespace features { | 8 namespace features { |
9 | 9 |
10 // All features in alphabetical order. | 10 // All features in alphabetical order. |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 base::FEATURE_ENABLED_BY_DEFAULT}; | 147 base::FEATURE_ENABLED_BY_DEFAULT}; |
148 | 148 |
149 // Use IME's own thread instead of using main UI thread. It also means that | 149 // Use IME's own thread instead of using main UI thread. It also means that |
150 // we will not use replica editor and do a round trip to renderer to synchronize | 150 // we will not use replica editor and do a round trip to renderer to synchronize |
151 // with Blink data. | 151 // with Blink data. |
152 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
153 | 153 |
154 // FeatureList definition for the Seccomp field trial. | 154 // FeatureList definition for the Seccomp field trial. |
155 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 155 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
156 base::FEATURE_DISABLED_BY_DEFAULT}; | 156 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 157 |
| 158 // The JavaScript API for payments on the web. |
| 159 const base::Feature kWebPayments{"WebPayments", |
| 160 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 161 |
157 #endif | 162 #endif |
158 | 163 |
159 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
160 // Emergency "off switch" for new Windows sandbox security mitigation, | 165 // Emergency "off switch" for new Windows sandbox security mitigation, |
161 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 166 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
162 const base::Feature kWinSboxDisableExtensionPoints{ | 167 const base::Feature kWinSboxDisableExtensionPoints{ |
163 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 168 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
164 #endif | 169 #endif |
165 | 170 |
166 } // namespace features | 171 } // namespace features |
OLD | NEW |