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

Unified Diff: chrome/browser/performance_monitor/constants.h

Issue 10656052: Performance monitor stats gathering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@cpm_main
Patch Set: Nits Created 8 years, 5 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/browser/performance_monitor/constants.h
diff --git a/chrome/browser/performance_monitor/constants.h b/chrome/browser/performance_monitor/constants.h
index c8382eb02da72336c4335957a3d41648f3592e8a..054657b6dd1109490442821b7c95968463fb8d6d 100644
--- a/chrome/browser/performance_monitor/constants.h
+++ b/chrome/browser/performance_monitor/constants.h
@@ -14,11 +14,15 @@ extern const char kMetricNotFoundError[];
// its activity.
extern const char kProcessChromeAggregate[];
-// When you add a metric type, make sure to edit Database::InitMetricDetails
-// and add an entry to the MericType enum.
-// TODO(mwrosen): When you make real metrics, delete the sample metric.
-extern const char kSampleMetricDescription[];
-extern const char kSampleMetricName[];
+// Metrics keys for statistics gathering.
+// When you add a metric type, make sure to edit CPMDatabase::InitMetricDetails.
+extern const char kMetricCPUUsage[];
+extern const char kMetricCPUUsageDescription[];
+extern const char kMetricPrivateMemoryUsage[];
+extern const char kMetricPrivateMemoryUsageDescription[];
+extern const char kMetricSharedMemoryUsage[];
+extern const char kMetricSharedMemoryUsageDescription[];
+
extern const char kStateChromeVersion[];
} // namespace performance_monitor

Powered by Google App Engine
This is Rietveld 408576698