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. |
11 | 11 |
12 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. | 12 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. |
13 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli | 13 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli |
14 const base::Feature kBrotliEncoding{"brotli-encoding", | 14 const base::Feature kBrotliEncoding{"brotli-encoding", |
15 base::FEATURE_DISABLED_BY_DEFAULT}; | 15 base::FEATURE_DISABLED_BY_DEFAULT}; |
16 | 16 |
17 // Downloads resumption will be controllable via a flag until it's enabled | 17 // Downloads resumption will be controllable via a flag until it's enabled |
18 // permanently. See https://crbug.com/7648 | 18 // permanently. See https://crbug.com/7648 |
19 const base::Feature kDownloadResumption{"DownloadResumption", | 19 const base::Feature kDownloadResumption{"DownloadResumption", |
20 base::FEATURE_ENABLED_BY_DEFAULT}; | 20 base::FEATURE_DISABLED_BY_DEFAULT}; |
21 | 21 |
22 // The Experimental Framework for controlling access to API experiments. | 22 // The Experimental Framework for controlling access to API experiments. |
23 const base::Feature kExperimentalFramework{"ExperimentalFramework", | 23 const base::Feature kExperimentalFramework{"ExperimentalFramework", |
24 base::FEATURE_DISABLED_BY_DEFAULT}; | 24 base::FEATURE_DISABLED_BY_DEFAULT}; |
25 | 25 |
26 // Control whether the priority of a renderer is set when the process is | 26 // Control whether the priority of a renderer is set when the process is |
27 // launched. This is in response to a bug seen on Windows. See | 27 // launched. This is in response to a bug seen on Windows. See |
28 // https://crbug.com/560446 | 28 // https://crbug.com/560446 |
29 const base::Feature kUpdateRendererPriorityOnStartup{ | 29 const base::Feature kUpdateRendererPriorityOnStartup{ |
30 "UpdateRendererPriorityOnStartup", base::FEATURE_ENABLED_BY_DEFAULT}; | 30 "UpdateRendererPriorityOnStartup", base::FEATURE_ENABLED_BY_DEFAULT}; |
31 | 31 |
32 // An experimental User Agent Intervention on WebFonts loading. | 32 // An experimental User Agent Intervention on WebFonts loading. |
33 const base::Feature kWebFontsIntervention{"WebFontsIntervention", | 33 const base::Feature kWebFontsIntervention{"WebFontsIntervention", |
34 base::FEATURE_DISABLED_BY_DEFAULT}; | 34 base::FEATURE_DISABLED_BY_DEFAULT}; |
35 | 35 |
36 #if defined(OS_ANDROID) | 36 #if defined(OS_ANDROID) |
37 // FeatureList definition for the Seccomp field trial. | 37 // FeatureList definition for the Seccomp field trial. |
38 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 38 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
39 base::FEATURE_DISABLED_BY_DEFAULT}; | 39 base::FEATURE_DISABLED_BY_DEFAULT}; |
40 #endif | 40 #endif |
41 | 41 |
42 } // namespace features | 42 } // namespace features |
OLD | NEW |