| 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. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // which permits servers to allow the use of stale resources while revalidation | 63 // which permits servers to allow the use of stale resources while revalidation |
| 64 // proceeds in the background. See http://crbug.com/348877 | 64 // proceeds in the background. See http://crbug.com/348877 |
| 65 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 65 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 66 base::FEATURE_DISABLED_BY_DEFAULT}; | 66 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 67 | 67 |
| 68 // Enables token binding | 68 // Enables token binding |
| 69 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). | 69 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). |
| 70 const base::Feature kTokenBinding{"token-binding", | 70 const base::Feature kTokenBinding{"token-binding", |
| 71 base::FEATURE_DISABLED_BY_DEFAULT}; | 71 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 72 | 72 |
| 73 // Control whether the priority of a renderer is set when the process is | |
| 74 // launched. This is in response to a bug seen on Windows. See | |
| 75 // https://crbug.com/560446 | |
| 76 const base::Feature kUpdateRendererPriorityOnStartup{ | |
| 77 "UpdateRendererPriorityOnStartup", base::FEATURE_ENABLED_BY_DEFAULT}; | |
| 78 | |
| 79 // An experimental User Agent Intervention on WebFonts loading. | 73 // An experimental User Agent Intervention on WebFonts loading. |
| 80 const base::Feature kWebFontsIntervention{"WebFontsIntervention", | 74 const base::Feature kWebFontsIntervention{"WebFontsIntervention", |
| 81 base::FEATURE_DISABLED_BY_DEFAULT}; | 75 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 82 | 76 |
| 83 // Controls whether the WebUSB API is enabled: | 77 // Controls whether the WebUSB API is enabled: |
| 84 // https://wicg.github.io/webusb | 78 // https://wicg.github.io/webusb |
| 85 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 79 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 86 | 80 |
| 87 #if defined(OS_ANDROID) | 81 #if defined(OS_ANDROID) |
| 88 // Use IME's own thread instead of using main UI thread. It also means that | 82 // Use IME's own thread instead of using main UI thread. It also means that |
| 89 // we will not use replica editor and do a round trip to renderer to synchronize | 83 // we will not use replica editor and do a round trip to renderer to synchronize |
| 90 // with Blink data. | 84 // with Blink data. |
| 91 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 85 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 92 | 86 |
| 93 // FeatureList definition for the Seccomp field trial. | 87 // FeatureList definition for the Seccomp field trial. |
| 94 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 88 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 95 base::FEATURE_DISABLED_BY_DEFAULT}; | 89 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 96 #endif | 90 #endif |
| 97 | 91 |
| 98 } // namespace features | 92 } // namespace features |
| OLD | NEW |