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

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

Issue 10860017: Refactor Metrics (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nitfix + latest master for cq Created 8 years, 4 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/metric_details.h
diff --git a/chrome/browser/performance_monitor/metric_details.h b/chrome/browser/performance_monitor/metric_details.h
index 0aa9fb36963c2dcf8f458b98e3e04813211bcae5..4f3b1639f37998909dcb944cf9ac3ba6fd214b62 100644
--- a/chrome/browser/performance_monitor/metric_details.h
+++ b/chrome/browser/performance_monitor/metric_details.h
@@ -7,19 +7,9 @@
#include <string>
-namespace performance_monitor {
+#include "chrome/browser/performance_monitor/metric.h"
-// Keep this enum synced with kMetricDetailsList in the cc file.
-enum MetricType {
- METRIC_CPU_USAGE,
- METRIC_PRIVATE_MEMORY_USAGE,
- METRIC_SHARED_MEMORY_USAGE,
- METRIC_STARTUP_TIME,
- METRIC_TEST_STARTUP_TIME,
- METRIC_SESSION_RESTORE_TIME,
- METRIC_PAGE_LOAD_TIME,
- METRIC_NUMBER_OF_METRICS
-};
+namespace performance_monitor {
struct MetricDetails {
const char* const name;

Powered by Google App Engine
This is Rietveld 408576698