Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: content/public/common/content_features.cc

Issue 2764683002: Remove stale-while-revalidate from content and chrome (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_features.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 base::FEATURE_DISABLED_BY_DEFAULT}; 195 base::FEATURE_DISABLED_BY_DEFAULT};
196 196
197 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW 197 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW
198 const base::Feature kSlimmingPaintInvalidation{ 198 const base::Feature kSlimmingPaintInvalidation{
199 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; 199 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT};
200 200
201 // Speculatively launches Service Workers on mouse/touch events. 201 // Speculatively launches Service Workers on mouse/touch events.
202 const base::Feature kSpeculativeLaunchServiceWorker{ 202 const base::Feature kSpeculativeLaunchServiceWorker{
203 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; 203 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT};
204 204
205 // Enables implementation of the Cache-Control: stale-while-revalidate directive
206 // which permits servers to allow the use of stale resources while revalidation
207 // proceeds in the background. See http://crbug.com/348877
208 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
209 base::FEATURE_DISABLED_BY_DEFAULT};
210
211 // Throttle Blink timers in out-of-view cross origin frames. 205 // Throttle Blink timers in out-of-view cross origin frames.
212 const base::Feature kTimerThrottlingForHiddenFrames{ 206 const base::Feature kTimerThrottlingForHiddenFrames{
213 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; 207 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT};
214 208
215 // Enables token binding 209 // Enables token binding
216 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 210 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
217 const base::Feature kTokenBinding{"token-binding", 211 const base::Feature kTokenBinding{"token-binding",
218 base::FEATURE_DISABLED_BY_DEFAULT}; 212 base::FEATURE_DISABLED_BY_DEFAULT};
219 213
220 // Enables touchpad and wheel scroll latching. 214 // Enables touchpad and wheel scroll latching.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 #endif // !defined(OS_ANDROID) 294 #endif // !defined(OS_ANDROID)
301 295
302 #if defined(OS_WIN) 296 #if defined(OS_WIN)
303 // Emergency "off switch" for new Windows sandbox security mitigation, 297 // Emergency "off switch" for new Windows sandbox security mitigation,
304 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 298 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
305 const base::Feature kWinSboxDisableExtensionPoints{ 299 const base::Feature kWinSboxDisableExtensionPoints{
306 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 300 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
307 #endif 301 #endif
308 302
309 } // namespace features 303 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698