| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 // Controls whether the WebUSB API is enabled: | 263 // Controls whether the WebUSB API is enabled: |
| 264 // https://wicg.github.io/webusb | 264 // https://wicg.github.io/webusb |
| 265 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 265 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 | 266 |
| 267 // Make sendBeacon throw for a Blob with a non simple type. | 267 // Make sendBeacon throw for a Blob with a non simple type. |
| 268 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 268 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 269 "SendBeaconThrowForBlobWithNonSimpleType", | 269 "SendBeaconThrowForBlobWithNonSimpleType", |
| 270 base::FEATURE_DISABLED_BY_DEFAULT}; | 270 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 271 | 271 |
| 272 #if defined(OS_ANDROID) | 272 #if defined(OS_ANDROID) |
| 273 // A browsing history manager implementation for Android. |
| 274 const base::Feature kNativeAndroidHistoryManager{ |
| 275 "AndroidHistoryManager", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 276 |
| 273 // FeatureList definition for the Seccomp field trial. | 277 // FeatureList definition for the Seccomp field trial. |
| 274 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 278 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 275 base::FEATURE_DISABLED_BY_DEFAULT}; | 279 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 276 | 280 |
| 277 // Service worker based payment apps as defined by w3c here: | 281 // Service worker based payment apps as defined by w3c here: |
| 278 // https://w3c.github.io/webpayments-payment-apps-api/ | 282 // https://w3c.github.io/webpayments-payment-apps-api/ |
| 279 const base::Feature kServiceWorkerPaymentApps{ | 283 const base::Feature kServiceWorkerPaymentApps{ |
| 280 "ServiceWorkerPaymentApps", | 284 "ServiceWorkerPaymentApps", |
| 281 base::FEATURE_DISABLED_BY_DEFAULT}; | 285 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 282 | 286 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 295 #endif // !defined(OS_ANDROID) | 299 #endif // !defined(OS_ANDROID) |
| 296 | 300 |
| 297 #if defined(OS_WIN) | 301 #if defined(OS_WIN) |
| 298 // Emergency "off switch" for new Windows sandbox security mitigation, | 302 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 299 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 303 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 300 const base::Feature kWinSboxDisableExtensionPoints{ | 304 const base::Feature kWinSboxDisableExtensionPoints{ |
| 301 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 305 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 302 #endif | 306 #endif |
| 303 | 307 |
| 304 } // namespace features | 308 } // namespace features |
| OLD | NEW |