Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: content/public/common/content_features.cc

Issue 2321313002: Move components/memory_coordinator -> content/ (Closed)
Patch Set: rebase etc Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const base::Feature kGamepadExtensions{"GamepadExtensions", 56 const base::Feature kGamepadExtensions{"GamepadExtensions",
57 base::FEATURE_DISABLED_BY_DEFAULT}; 57 base::FEATURE_DISABLED_BY_DEFAULT};
58 58
59 // FeatureList definition for trials to enable the download button on 59 // FeatureList definition for trials to enable the download button on
60 // MediaDocument. 60 // MediaDocument.
61 const base::Feature kMediaDocumentDownloadButton{ 61 const base::Feature kMediaDocumentDownloadButton{
62 "MediaDocumentDownloadButton", 62 "MediaDocumentDownloadButton",
63 base::FEATURE_DISABLED_BY_DEFAULT 63 base::FEATURE_DISABLED_BY_DEFAULT
64 }; 64 };
65 65
66 // Enables the memory coordinator.
67 // WARNING:
68 // The memory coordinator is not ready for use and enabling this may cause
69 // unexpected memory regression at this point. Please do not enable this.
70 const base::Feature kMemoryCoordinator {
71 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
72 };
73
66 // Enable the material design playback UI for media elements. This is always 74 // Enable the material design playback UI for media elements. This is always
67 // on for OS_ANDROID, but may be enabled by experiment for other platforms. 75 // on for OS_ANDROID, but may be enabled by experiment for other platforms.
68 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", 76 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi",
69 base::FEATURE_ENABLED_BY_DEFAULT}; 77 base::FEATURE_ENABLED_BY_DEFAULT};
70 78
71 // Non-validating reload for desktop. 79 // Non-validating reload for desktop.
72 // See https://crbug.com/591245 80 // See https://crbug.com/591245
73 const base::Feature kNonValidatingReloadOnNormalReload{ 81 const base::Feature kNonValidatingReloadOnNormalReload{
74 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; 82 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT};
75 83
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 #endif 199 #endif
192 200
193 #if defined(OS_WIN) 201 #if defined(OS_WIN)
194 // Emergency "off switch" for new Windows sandbox security mitigation, 202 // Emergency "off switch" for new Windows sandbox security mitigation,
195 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
196 const base::Feature kWinSboxDisableExtensionPoints{ 204 const base::Feature kWinSboxDisableExtensionPoints{
197 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
198 #endif 206 #endif
199 207
200 } // namespace features 208 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698