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

Unified Diff: chrome/browser/ui/webui/performance_monitor/web_ui_handler.h

Issue 10702117: Chrome Performance Monitor: Metric API Functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Docs and other review fixes. 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/ui/webui/performance_monitor/web_ui_handler.h
diff --git a/chrome/browser/ui/webui/performance_monitor/web_ui_handler.h b/chrome/browser/ui/webui/performance_monitor/web_ui_handler.h
index 7a9dc78f0e88f3bb9bc039ad9050796952238ca3..5c52d23051aa8f1b9a4ecd6d1c5dc55bda044843 100644
--- a/chrome/browser/ui/webui/performance_monitor/web_ui_handler.h
+++ b/chrome/browser/ui/webui/performance_monitor/web_ui_handler.h
@@ -36,14 +36,26 @@ class WebUIHandler : public content::WebUIMessageHandler,
const base::ListValue* results);
// Callback for the "getActiveIntervals" message.
+ // |args| contains a start and an end time.
void HandleGetActiveIntervals(const base::ListValue* args);
// Callback for the "getAllEventTypes" message.
+ // |args| is unused.
void HandleGetAllEventTypes(const base::ListValue* args);
// Callback for the "getEvents" message.
+ // |args| contains an EventType id to collect and a start and end time.
void HandleGetEvents(const base::ListValue* args);
+ // Callback for the "getAllMetricTypes" message.
+ // |args| is unused.
+ void HandleGetAllMetricTypes(const base::ListValue* args);
+
+ // Callback for the "getMetric" message.
+ // |args| contains a MetricType id to collect, a start and end time, and a
+ // time resolution which defines the spacing of metric samples returned.
+ void HandleGetMetric(const base::ListValue* args);
+
DISALLOW_COPY_AND_ASSIGN(WebUIHandler);
};

Powered by Google App Engine
This is Rietveld 408576698