| Index: chrome/browser/performance_monitor/constants.h
|
| diff --git a/chrome/browser/performance_monitor/constants.h b/chrome/browser/performance_monitor/constants.h
|
| index a3455b0a4e83dbf08ed3049f5d1706da0110e88f..a536e51359b8f10656c2c7f8de69e4c8d3224ee0 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_
|
|
|