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

Unified Diff: chrome/common/chrome_features.cc

Issue 1681263003: metrics: Add leak detector controller in Chrome OS metrics system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Addressed asvitkine's comments: remove using statement, move runtime flag to chrome_features" Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index b571587be63827821488e5123875a7a0127a5a6a..0739647808f0945ddfcc5bd0dc975cfdfa8a0d37 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -22,4 +22,12 @@ const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
"LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
+
+#if defined(OS_CHROMEOS)
+// Runtime flag that indicates whether this leak detector should be enabled in
+// the current instance of Chrome.
+const base::Feature kEnableRuntimeMemoryLeakDetector {
+ "EnableRuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT};
Alexei Svitkine (slow) 2016/02/23 16:56:53 Nit: No "Enable" in the name or variable name, ple
Simon Que 2016/02/23 18:43:23 Done.
+#endif // defined(OS_CHROMEOS)
+
} // namespace features

Powered by Google App Engine
This is Rietveld 408576698