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

Unified Diff: components/metrics/metrics_service_client.h

Issue 299663011: Introduce MetricsServiceClient::StartGatheringMetrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_service_client.h
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h
index d900d7eba4a546f73e710a82e0cf4fc397fa2fd0..dbad4a35b2827a88f22e6066a3f49d4fe12bae48 100644
--- a/components/metrics/metrics_service_client.h
+++ b/components/metrics/metrics_service_client.h
@@ -42,6 +42,10 @@ class MetricsServiceClient {
// Called by the metrics service when a log has been uploaded.
virtual void OnLogUploadComplete() = 0;
+ // Starts gathering metrics, calling |done_callback| when initial metrics
+ // gathering is complete.
+ virtual void StartGatheringMetrics(const base::Closure& done_callback) = 0;
+
// Called prior to a metrics log being closed, allowing the client to collect
// extra histograms that will go in that log. Asynchronous API - the client
// implementation should call |done_callback| when complete.
« no previous file with comments | « chrome/browser/metrics/metrics_service.cc ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698