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

Unified Diff: chrome/browser/ui/webui/metrics_handler.h

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: change element.$.someId to element.$$(#someId) Created 3 years, 7 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/metrics_handler.h
diff --git a/chrome/browser/ui/webui/metrics_handler.h b/chrome/browser/ui/webui/metrics_handler.h
index ccf4f55ccd31a0d53380b0a4f31368ca30a02ab4..79f94f715cecec8e50cc7ec4e735b5798cd1ae59 100644
--- a/chrome/browser/ui/webui/metrics_handler.h
+++ b/chrome/browser/ui/webui/metrics_handler.h
@@ -44,6 +44,11 @@ class MetricsHandler : public content::WebUIMessageHandler {
// depending on the maximum value.
void HandleRecordInHistogram(const base::ListValue* args);
+ // Callback for the "metricsHandler:recordBooleanHistogram" message. This
+ // records into a boolean histogram. |args| contains the histogram name, and
+ // the value to record.
+ void HandleRecordBooleanHistogram(const base::ListValue* args);
+
// Record a millisecond time value in a histogram, similar to
// UMA_HISTOGRAM_TIMES. Handles times between 1ms and 10sec. |args|
// contains the histogram name and a value in milliseconds.
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | chrome/browser/ui/webui/metrics_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698