OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "chrome/common/chrome_features.h" | 5 #include "chrome/common/chrome_features.h" |
6 | 6 |
7 namespace features { | 7 namespace features { |
8 | 8 |
9 // All features in alphabetical order. | 9 // All features in alphabetical order. |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT | 27 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT |
28 }; | 28 }; |
29 | 29 |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
31 // Runtime flag that indicates whether this leak detector should be enabled in | 31 // Runtime flag that indicates whether this leak detector should be enabled in |
32 // the current instance of Chrome. | 32 // the current instance of Chrome. |
33 const base::Feature kRuntimeMemoryLeakDetector{ | 33 const base::Feature kRuntimeMemoryLeakDetector{ |
34 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; | 34 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; |
35 #endif // defined(OS_CHROMEOS) | 35 #endif // defined(OS_CHROMEOS) |
36 | 36 |
| 37 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 38 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 39 |
37 // A new user experience for transitioning into fullscreen and mouse pointer | 40 // A new user experience for transitioning into fullscreen and mouse pointer |
38 // lock states. The name is a misnomer (for historical reasons); affects both | 41 // lock states. The name is a misnomer (for historical reasons); affects both |
39 // Views and Android builds. | 42 // Views and Android builds. |
40 const base::Feature kSimplifiedFullscreenUI{ | 43 const base::Feature kSimplifiedFullscreenUI{ |
41 "ViewsSimplifiedFullscreenUI", | 44 "ViewsSimplifiedFullscreenUI", |
42 #if defined(USE_AURA) | 45 #if defined(USE_AURA) |
43 // Windows, Linux, Chrome OS. | 46 // Windows, Linux, Chrome OS. |
44 base::FEATURE_ENABLED_BY_DEFAULT, | 47 base::FEATURE_ENABLED_BY_DEFAULT, |
45 #else | 48 #else |
46 // Mac, Android. | 49 // Mac, Android. |
47 base::FEATURE_DISABLED_BY_DEFAULT, | 50 base::FEATURE_DISABLED_BY_DEFAULT, |
48 #endif | 51 #endif |
49 }; | 52 }; |
50 | 53 |
51 #if defined(SYZYASAN) | 54 #if defined(SYZYASAN) |
52 // Enable the deferred free mechanism in the syzyasan module, which helps the | 55 // Enable the deferred free mechanism in the syzyasan module, which helps the |
53 // performance by deferring some work on the critical path to a background | 56 // performance by deferring some work on the critical path to a background |
54 // thread. | 57 // thread. |
55 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 58 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
56 base::FEATURE_DISABLED_BY_DEFAULT}; | 59 base::FEATURE_DISABLED_BY_DEFAULT}; |
57 #endif | 60 #endif |
58 | 61 |
59 } // namespace features | 62 } // namespace features |
OLD | NEW |