From 3848a179e08a40ce123bdb52531995e5d99f16b5 Mon Sep 17 00:00:00 2001 From: "rdevlin.cronin@chromium.org" Date: Thu, 2 Aug 2012 21:15:08 +0000 Subject: CPM: revised unclean exit watching, revised renderer crash test Fixed unclean exit watching to work on CrOS Added a cleaner waiting structure to renderer crash to see if it clears up the CrOS ASAN error. BUG=137726, 130212 Review URL: https://chromiumcodereview.appspot.com/10815079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149697 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/performance_monitor/constants.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'chrome/browser/performance_monitor/constants.h') diff --git a/chrome/browser/performance_monitor/constants.h b/chrome/browser/performance_monitor/constants.h index a3455b0..a536e51 100644 --- a/chrome/browser/performance_monitor/constants.h +++ b/chrome/browser/performance_monitor/constants.h @@ -7,26 +7,28 @@ namespace performance_monitor { -// TODO(chebert): i18n on all constants. -extern const char kMetricNotFoundError[]; +// Constants which are used by the PerformanceMonitor and its related classes. +// The constants should be documented alongside the definition of their values +// in the .cc file. -// Any metric that is not associated with a specific activity will use this as -// its activity. +extern const char kMetricNotFoundError[]; extern const char kProcessChromeAggregate[]; +extern const int kGatherIntervalInMinutes; + +// State tokens +extern const char kStateChromeVersion[]; +extern const char kStateProfilePrefix[]; -// Metrics keys for statistics gathering. +// Metric details extern const char kMetricCPUUsageName[]; extern const char kMetricCPUUsageDescription[]; extern const char kMetricCPUUsageUnits[]; extern const double kMetricCPUUsageTickSize; - extern const char kMetricPrivateMemoryUsageName[]; extern const char kMetricPrivateMemoryUsageDescription[]; extern const char kMetricPrivateMemoryUsageUnits[]; extern const double kMetricPrivateMemoryUsageTickSize; -extern const char kStateChromeVersion[]; - } // namespace performance_monitor #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ -- cgit v1.1