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 asm.js to WebAssembly V8 backend. | 12 // Enables asm.js to WebAssembly V8 backend. |
13 // http://asmjs.org/spec/latest/ | 13 // http://asmjs.org/spec/latest/ |
14 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", | 14 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", |
15 base::FEATURE_ENABLED_BY_DEFAULT}; | 15 base::FEATURE_DISABLED_BY_DEFAULT}; |
16 | 16 |
17 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. | 17 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. |
18 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli | 18 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli |
19 const base::Feature kBrotliEncoding{"brotli-encoding", | 19 const base::Feature kBrotliEncoding{"brotli-encoding", |
20 base::FEATURE_ENABLED_BY_DEFAULT}; | 20 base::FEATURE_ENABLED_BY_DEFAULT}; |
21 | 21 |
22 // Enables browser side navigation (aka PlzNavigate). http://crbug.com/368813 | 22 // Enables browser side navigation (aka PlzNavigate). http://crbug.com/368813 |
23 const base::Feature kBrowserSideNavigation{"browser-side-navigation", | 23 const base::Feature kBrowserSideNavigation{"browser-side-navigation", |
24 base::FEATURE_DISABLED_BY_DEFAULT}; | 24 base::FEATURE_DISABLED_BY_DEFAULT}; |
25 | 25 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 #endif // !defined(OS_ANDROID) | 279 #endif // !defined(OS_ANDROID) |
280 | 280 |
281 #if defined(OS_WIN) | 281 #if defined(OS_WIN) |
282 // Emergency "off switch" for new Windows sandbox security mitigation, | 282 // Emergency "off switch" for new Windows sandbox security mitigation, |
283 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 283 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
284 const base::Feature kWinSboxDisableExtensionPoints{ | 284 const base::Feature kWinSboxDisableExtensionPoints{ |
285 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 285 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
286 #endif | 286 #endif |
287 | 287 |
288 } // namespace features | 288 } // namespace features |
OLD | NEW |