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

Unified Diff: components/metrics/metrics_service_client.h

Issue 1033493002: Histogram for UMA log upload connection type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Histogram type changed, refactoring network_metrics_provider_ + nits Created 5 years, 9 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: components/metrics/metrics_service_client.h
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h
index 1b481f998830ad4fdf746adfde3213e8e0107ccd..35b97b3d70858a5d3e89d47461ceb590a2761b75 100644
--- a/components/metrics/metrics_service_client.h
+++ b/components/metrics/metrics_service_client.h
@@ -50,8 +50,9 @@ class MetricsServiceClient {
// Returns the version of the application as a string.
virtual std::string GetVersionString() = 0;
- // Called by the metrics service when a log has been uploaded.
- virtual void OnLogUploadComplete() = 0;
+ // Called by the metrics service when a log has been uploaded, passing whether
+ // upload was successful.
+ virtual void OnLogUploadComplete(bool upload_succeeded) = 0;
// Starts gathering metrics, calling |done_callback| when initial metrics
// gathering is complete.

Powered by Google App Engine
This is Rietveld 408576698