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

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: Missed a rename. 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 fc8d55a2a58f0ece4832ce6a14dfdc8b734a9105..6efae2fa14a61947a66daa2cc9002e6763de2cdc 100644
--- a/chrome/browser/performance_monitor/metric_details.h
+++ b/chrome/browser/performance_monitor/metric_details.h
@@ -9,6 +9,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,
« no previous file with comments | « chrome/browser/performance_monitor/constants.h ('k') | chrome/browser/performance_monitor/metric_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698