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

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

Issue 2687973002: Move parallelDownloading feature to content/ (Closed)
Patch Set: Created 3 years, 10 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') | no next file » | 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // An experiment to optimize resource loading IPC for small resources. 139 // An experiment to optimize resource loading IPC for small resources.
140 // http://crbug.com/580928 140 // http://crbug.com/580928
141 const base::Feature kOptimizeLoadingIPCForSmallResources{ 141 const base::Feature kOptimizeLoadingIPCForSmallResources{
142 "OptimizeLoadingIPCForSmallResources", 142 "OptimizeLoadingIPCForSmallResources",
143 base::FEATURE_DISABLED_BY_DEFAULT}; 143 base::FEATURE_DISABLED_BY_DEFAULT};
144 144
145 // Origin Trials for controlling access to feature/API experiments. 145 // Origin Trials for controlling access to feature/API experiments.
146 const base::Feature kOriginTrials{"OriginTrials", 146 const base::Feature kOriginTrials{"OriginTrials",
147 base::FEATURE_ENABLED_BY_DEFAULT}; 147 base::FEATURE_ENABLED_BY_DEFAULT};
148 148
149 // Whether a download can be handled by parallel jobs.
150 const base::Feature kParallelDownloading{
151 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT};
152
149 // Whether document level event listeners should default 'passive' to true. 153 // Whether document level event listeners should default 'passive' to true.
150 const base::Feature kPassiveDocumentEventListeners{ 154 const base::Feature kPassiveDocumentEventListeners{
151 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; 155 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
152 156
153 // Whether we should force a touchstart and first touchmove per scroll event 157 // Whether we should force a touchstart and first touchmove per scroll event
154 // listeners to be non-blocking during fling. 158 // listeners to be non-blocking during fling.
155 const base::Feature kPassiveEventListenersDueToFling{ 159 const base::Feature kPassiveEventListenersDueToFling{
156 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; 160 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};
157 161
158 // Pointer events support. 162 // Pointer events support.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698