| 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 15ad9432ceae4010281a79bbfb74ef4a2dc46ba5..ccf4f55ccd31a0d53380b0a4f31368ca30a02ab4 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);
|
|
|
| + // 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.
|
| + void HandleRecordTime(const base::ListValue* args);
|
| +
|
| // Callback for the "metricsHandler:logEventTime" message.
|
| void HandleLogEventTime(const base::ListValue* args);
|
|
|
|
|