Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace performance_monitor { | 8 namespace performance_monitor { |
| 9 | 9 |
| 10 // TODO(chebert): i18n | 10 // TODO(chebert): i18n |
| 11 extern const char kMetricNotFoundError[]; | 11 extern const char kMetricNotFoundError[]; |
| 12 | 12 |
| 13 // Any metric that is not associated with a specific activity will use this as | 13 // Any metric that is not associated with a specific activity will use this as |
| 14 // its activity. | 14 // its activity. |
| 15 extern const char kProcessChromeAggregate[]; | 15 extern const char kProcessChromeAggregate[]; |
| 16 | 16 |
| 17 // When you add a metric type, make sure to edit Database::InitMetricDetails | 17 // Metrics keys for statistics gathering. |
| 18 // and add an entry to the MericType enum. | 18 // When you add a metric type, make sure to edit CPMDatabase::InitMetricDetails |
|
Yoyo Zhou
2012/07/20 20:47:30
nit: add a period.
| |
| 19 // TODO(mwrosen): When you make real metrics, delete the sample metric. | 19 extern const char kMetricCPUUsage[]; |
| 20 extern const char kSampleMetricDescription[]; | 20 extern const char kMetricCPUUsageDescription[]; |
| 21 extern const char kSampleMetricName[]; | 21 extern const char kMetricPrivateMemoryUsage[]; |
| 22 extern const char kMetricPrivateMemoryUsageDescription[]; | |
| 23 extern const char kMetricSharedMemoryUsage[]; | |
| 24 extern const char kMetricSharedMemoryUsageDescription[]; | |
| 25 | |
| 22 extern const char kStateChromeVersion[]; | 26 extern const char kStateChromeVersion[]; |
| 23 | 27 |
| 24 } // namespace performance_monitor | 28 } // namespace performance_monitor |
| 25 | 29 |
| 26 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ | 30 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ |
| OLD | NEW |