| 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 // Enables the credential management API: | 17 // Enables the credential management API: |
| 18 // https://w3c.github.io/webappsec-credential-management/ | 18 // https://w3c.github.io/webappsec-credential-management/ |
| 19 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI", | 19 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI", |
| 20 base::FEATURE_ENABLED_BY_DEFAULT}; | 20 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 21 | 21 |
| 22 // Downloads resumption will be controllable via a flag until it's enabled | 22 // Downloads resumption will be controllable via a flag until it's enabled |
| 23 // permanently. See https://crbug.com/7648 | 23 // permanently. See https://crbug.com/7648 |
| 24 const base::Feature kDownloadResumption{"DownloadResumption", | 24 const base::Feature kDownloadResumption{"DownloadResumption", |
| 25 base::FEATURE_DISABLED_BY_DEFAULT}; | 25 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 26 | 26 |
| 27 // The Experimental Framework for controlling access to API experiments. | 27 // The Experimental Framework for controlling access to API experiments. |
| 28 const base::Feature kExperimentalFramework{"ExperimentalFramework", | 28 const base::Feature kExperimentalFramework{"ExperimentalFramework", |
| 29 base::FEATURE_ENABLED_BY_DEFAULT}; | 29 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 30 | 30 |
| 31 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). | 31 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). |
| 32 // See https://crbug.com/558829 | 32 // See https://crbug.com/558829 |
| 33 const base::Feature kNonValidatingReloadOnRefreshContent{ | 33 const base::Feature kNonValidatingReloadOnRefreshContent{ |
| 34 "NonValidatingReloadOnRefreshContent", | 34 "NonValidatingReloadOnRefreshContent", |
| 35 base::FEATURE_DISABLED_BY_DEFAULT}; | 35 base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // we will not use replica editor and do a round trip to renderer to synchronize | 78 // we will not use replica editor and do a round trip to renderer to synchronize |
| 79 // with Blink data. | 79 // with Blink data. |
| 80 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 80 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 81 | 81 |
| 82 // FeatureList definition for the Seccomp field trial. | 82 // FeatureList definition for the Seccomp field trial. |
| 83 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 83 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 84 base::FEATURE_DISABLED_BY_DEFAULT}; | 84 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 85 #endif | 85 #endif |
| 86 | 86 |
| 87 } // namespace features | 87 } // namespace features |
| OLD | NEW |