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

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

Issue 2391423004: Add UMA for PurgeAndSuspend. (Closed)
Patch Set: Add histogram_suffixes 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
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 74 };
75 75
76 // Enables the memory coordinator. 76 // Enables the memory coordinator.
77 // WARNING: 77 // WARNING:
78 // The memory coordinator is not ready for use and enabling this may cause 78 // The memory coordinator is not ready for use and enabling this may cause
79 // unexpected memory regression at this point. Please do not enable this. 79 // unexpected memory regression at this point. Please do not enable this.
80 const base::Feature kMemoryCoordinator { 80 const base::Feature kMemoryCoordinator {
81 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 81 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
82 }; 82 };
83 83
84 // Enables purge and suspend experiment.
85 // TODO(tasak): Add description and tracking bug number.
86 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend",
87 base::FEATURE_DISABLED_BY_DEFAULT};
88
84 // Enable the material design playback UI for media elements. This is always 89 // Enable the material design playback UI for media elements. This is always
85 // on for OS_ANDROID, but may be enabled by experiment for other platforms. 90 // on for OS_ANDROID, but may be enabled by experiment for other platforms.
86 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", 91 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi",
87 base::FEATURE_ENABLED_BY_DEFAULT}; 92 base::FEATURE_ENABLED_BY_DEFAULT};
88 93
89 // Non-validating reload for desktop. 94 // Non-validating reload for desktop.
90 // See https://crbug.com/591245 95 // See https://crbug.com/591245
91 const base::Feature kNonValidatingReloadOnNormalReload{ 96 const base::Feature kNonValidatingReloadOnNormalReload{
92 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; 97 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT};
93 98
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 #endif 224 #endif
220 225
221 #if defined(OS_WIN) 226 #if defined(OS_WIN)
222 // Emergency "off switch" for new Windows sandbox security mitigation, 227 // Emergency "off switch" for new Windows sandbox security mitigation,
223 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 228 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
224 const base::Feature kWinSboxDisableExtensionPoints{ 229 const base::Feature kWinSboxDisableExtensionPoints{
225 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 230 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
226 #endif 231 #endif
227 232
228 } // namespace features 233 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698