| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Speculatively launches Service Workers on mouse/touch events. | 115 // Speculatively launches Service Workers on mouse/touch events. |
| 116 const base::Feature kSpeculativeLaunchServiceWorker{ | 116 const base::Feature kSpeculativeLaunchServiceWorker{ |
| 117 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; | 117 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 118 | 118 |
| 119 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 119 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 120 // which permits servers to allow the use of stale resources while revalidation | 120 // which permits servers to allow the use of stale resources while revalidation |
| 121 // proceeds in the background. See http://crbug.com/348877 | 121 // proceeds in the background. See http://crbug.com/348877 |
| 122 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 122 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 123 base::FEATURE_DISABLED_BY_DEFAULT}; | 123 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 124 | 124 |
| 125 // Crashes the Renderer if the Browser doesn't ack the swap within a threshold. |
| 126 const base::Feature kSwapAckWatchdog{"SwapAckWatchdog", |
| 127 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 128 |
| 125 // Enables token binding | 129 // Enables token binding |
| 126 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 130 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
| 127 const base::Feature kTokenBinding{"token-binding", | 131 const base::Feature kTokenBinding{"token-binding", |
| 128 base::FEATURE_DISABLED_BY_DEFAULT}; | 132 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 129 | 133 |
| 130 // Weak MemoryCache (https://crbug.com/603462). | 134 // Weak MemoryCache (https://crbug.com/603462). |
| 131 const base::Feature kWeakMemoryCache{"WeakMemoryCache", | 135 const base::Feature kWeakMemoryCache{"WeakMemoryCache", |
| 132 base::FEATURE_DISABLED_BY_DEFAULT}; | 136 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 133 | 137 |
| 134 // If WebGL Image Chromium is allowed, this feature controls whether it is | 138 // If WebGL Image Chromium is allowed, this feature controls whether it is |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 #endif | 175 #endif |
| 172 | 176 |
| 173 #if defined(OS_WIN) | 177 #if defined(OS_WIN) |
| 174 // Emergency "off switch" for new Windows sandbox security mitigation, | 178 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 175 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 179 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 176 const base::Feature kWinSboxDisableExtensionPoints{ | 180 const base::Feature kWinSboxDisableExtensionPoints{ |
| 177 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 181 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 178 #endif | 182 #endif |
| 179 | 183 |
| 180 } // namespace features | 184 } // namespace features |
| OLD | NEW |