New features for CPM UI pt II
Localized strings for HTML constants; automatically select events and metrics so
that something is seen immediately on startup; warn the user if the gathering
switch is not enabled; add the flag to the about:flags.
BUG=130212
Review URL: https://chromiumcodereview.appspot.com/11053010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163736 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 9580d7fe..1002c30 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -982,6 +982,13 @@
kOsAll,
SINGLE_VALUE_TYPE(switches::kCrashOnGpuHang)
},
+ {
+ "performance-monitor-gathering",
+ IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME,
+ IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kPerformanceMonitorGathering)
+ },
};
const Experiment* experiments = kExperiments;