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

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

Issue 2156933003: cc: Add SwapAck watchdog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to 8 seconds Created 4 years, 4 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
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698