| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 base::FEATURE_DISABLED_BY_DEFAULT}; | 50 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 51 | 51 |
| 52 // Throttle tasks in Blink background timer queues based on CPU budgets | 52 // Throttle tasks in Blink background timer queues based on CPU budgets |
| 53 // for the background tab. Bug: https://crbug.com/639852. | 53 // for the background tab. Bug: https://crbug.com/639852. |
| 54 const base::Feature kExpensiveBackgroundTimerThrottling{ | 54 const base::Feature kExpensiveBackgroundTimerThrottling{ |
| 55 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; | 55 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 56 | 56 |
| 57 // Enables faster location.reload() to use a reload mode that revalidates only | 57 // Enables faster location.reload() to use a reload mode that revalidates only |
| 58 // main resource forcibly. https://crbug.com/670237. | 58 // main resource forcibly. https://crbug.com/670237. |
| 59 const base::Feature kFasterLocationReload{"FasterLocationReload", | 59 const base::Feature kFasterLocationReload{"FasterLocationReload", |
| 60 base::FEATURE_ENABLED_BY_DEFAULT}; | 60 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 61 | 61 |
| 62 // Enables the Feature Policy framework for granting and removing access to | 62 // Enables the Feature Policy framework for granting and removing access to |
| 63 // other features through HTTP headers. | 63 // other features through HTTP headers. |
| 64 const base::Feature kFeaturePolicy{"FeaturePolicy", | 64 const base::Feature kFeaturePolicy{"FeaturePolicy", |
| 65 base::FEATURE_DISABLED_BY_DEFAULT}; | 65 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 66 | 66 |
| 67 // Enable filtering of same-origin tiny plugins | 67 // Enable filtering of same-origin tiny plugins |
| 68 const base::Feature kFilterSameOriginTinyPlugin{ | 68 const base::Feature kFilterSameOriginTinyPlugin{ |
| 69 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT}; | 69 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 70 | 70 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 #endif // !defined(OS_ANDROID) | 305 #endif // !defined(OS_ANDROID) |
| 306 | 306 |
| 307 #if defined(OS_WIN) | 307 #if defined(OS_WIN) |
| 308 // Emergency "off switch" for new Windows sandbox security mitigation, | 308 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 309 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 309 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 310 const base::Feature kWinSboxDisableExtensionPoints{ | 310 const base::Feature kWinSboxDisableExtensionPoints{ |
| 311 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 311 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 312 #endif | 312 #endif |
| 313 | 313 |
| 314 } // namespace features | 314 } // namespace features |
| OLD | NEW |