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

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

Issue 2044233002: Remove download resumption feature flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 10 matching lines...) Expand all
21 21
22 // Enable GPU Rasterization by default. This can still be overridden by 22 // Enable GPU Rasterization by default. This can still be overridden by
23 // --force-gpu-rasterization or --disable-gpu-rasterization. 23 // --force-gpu-rasterization or --disable-gpu-rasterization.
24 const base::Feature kDefaultEnableGpuRasterization{ 24 const base::Feature kDefaultEnableGpuRasterization{
25 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT}; 25 "DefaultEnableGpuRasterization", base::FEATURE_DISABLED_BY_DEFAULT};
26 26
27 // Do not call SharedBuffer::unlock() (https://crbug.com/603791). 27 // Do not call SharedBuffer::unlock() (https://crbug.com/603791).
28 const base::Feature kDoNotUnlockSharedBuffer{"DoNotUnlockSharedBuffer", 28 const base::Feature kDoNotUnlockSharedBuffer{"DoNotUnlockSharedBuffer",
29 base::FEATURE_DISABLED_BY_DEFAULT}; 29 base::FEATURE_DISABLED_BY_DEFAULT};
30 30
31 // Downloads resumption will be controllable via a flag until it's enabled
32 // permanently. See https://crbug.com/7648
33 const base::Feature kDownloadResumption{"DownloadResumption",
34 base::FEATURE_ENABLED_BY_DEFAULT};
35
36 // Speculatively pre-evaluate Javascript which will likely use document.write to 31 // Speculatively pre-evaluate Javascript which will likely use document.write to
37 // load an external script. The feature extracts the written markup and sends it 32 // load an external script. The feature extracts the written markup and sends it
38 // to the preload scanner. 33 // to the preload scanner.
39 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", 34 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
40 base::FEATURE_DISABLED_BY_DEFAULT}; 35 base::FEATURE_DISABLED_BY_DEFAULT};
41 36
42 // Enables a blink::FontCache optimization that reuses a font to serve different 37 // Enables a blink::FontCache optimization that reuses a font to serve different
43 // size of font. 38 // size of font.
44 const base::Feature kFontCacheScaling{"FontCacheScaling", 39 const base::Feature kFontCacheScaling{"FontCacheScaling",
45 base::FEATURE_DISABLED_BY_DEFAULT}; 40 base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // we will not use replica editor and do a round trip to renderer to synchronize 124 // we will not use replica editor and do a round trip to renderer to synchronize
130 // with Blink data. 125 // with Blink data.
131 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 126 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
132 127
133 // FeatureList definition for the Seccomp field trial. 128 // FeatureList definition for the Seccomp field trial.
134 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 129 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
135 base::FEATURE_DISABLED_BY_DEFAULT}; 130 base::FEATURE_DISABLED_BY_DEFAULT};
136 #endif 131 #endif
137 132
138 } // namespace features 133 } // 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