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

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

Issue 2376233005: [NotForReview] An idea for experimenting purge & suspend (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 }; 69 };
70 70
71 // Enables the memory coordinator. 71 // Enables the memory coordinator.
72 // WARNING: 72 // WARNING:
73 // The memory coordinator is not ready for use and enabling this may cause 73 // The memory coordinator is not ready for use and enabling this may cause
74 // unexpected memory regression at this point. Please do not enable this. 74 // unexpected memory regression at this point. Please do not enable this.
75 const base::Feature kMemoryCoordinator { 75 const base::Feature kMemoryCoordinator {
76 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 76 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
77 }; 77 };
78 78
79 // Enables purge and suspend experiment.
80 // TODO(tasak): Add description and tracking bug number.
81 const base::Feature kPurgeAndSuspend {
82 "PurgeAndSuspend", base::FEATURE_DISABLED_BY_DEFAULT
83 };
84
79 // Enable the material design playback UI for media elements. This is always 85 // Enable the material design playback UI for media elements. This is always
80 // on for OS_ANDROID, but may be enabled by experiment for other platforms. 86 // on for OS_ANDROID, but may be enabled by experiment for other platforms.
81 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", 87 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi",
82 base::FEATURE_ENABLED_BY_DEFAULT}; 88 base::FEATURE_ENABLED_BY_DEFAULT};
83 89
84 // Non-validating reload for desktop. 90 // Non-validating reload for desktop.
85 // See https://crbug.com/591245 91 // See https://crbug.com/591245
86 const base::Feature kNonValidatingReloadOnNormalReload{ 92 const base::Feature kNonValidatingReloadOnNormalReload{
87 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; 93 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT};
88 94
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 #endif 210 #endif
205 211
206 #if defined(OS_WIN) 212 #if defined(OS_WIN)
207 // Emergency "off switch" for new Windows sandbox security mitigation, 213 // Emergency "off switch" for new Windows sandbox security mitigation,
208 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 214 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
209 const base::Feature kWinSboxDisableExtensionPoints{ 215 const base::Feature kWinSboxDisableExtensionPoints{
210 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 216 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
211 #endif 217 #endif
212 218
213 } // namespace features 219 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698