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

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

Issue 10702117: Chrome Performance Monitor: Metric API Functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed it up. 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/metric_details.h
diff --git a/chrome/browser/performance_monitor/metric_details.h b/chrome/browser/performance_monitor/metric_details.h
index 3d11b83a83be470336d657e812fc4040366708a2..a415d1cae105115279930e1d40e7902e64644c35 100644
--- a/chrome/browser/performance_monitor/metric_details.h
+++ b/chrome/browser/performance_monitor/metric_details.h
@@ -10,6 +10,13 @@
namespace performance_monitor {
+enum MetricType {
+ METRIC_SAMPLE,
+ METRIC_NUMBER_OF_METRICS
+};
+
+const char* MetricTypeToString(MetricType event_type);
+
struct MetricDetails {
MetricDetails();
MetricDetails(const std::string& metric_name,

Powered by Google App Engine
This is Rietveld 408576698