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

Unified Diff: components/metrics/metrics_log_uploader.h

Issue 2774503002: Track network stack error codes from UMA and UKM (Closed)
Patch Set: Diffbase Created 3 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_log_uploader.h
diff --git a/components/metrics/metrics_log_uploader.h b/components/metrics/metrics_log_uploader.h
index 55e6d5aaa451c883b60bbc82e97906ebcfce8b0f..59d90a74d4cba89e708f02987b42f22b8f4c3047 100644
--- a/components/metrics/metrics_log_uploader.h
+++ b/components/metrics/metrics_log_uploader.h
@@ -17,6 +17,8 @@ namespace metrics {
// of MetricsService.
class MetricsLogUploader {
public:
+ typedef base::Callback<void(int, int)> UploadCallback;
Alexei Svitkine (slow) 2017/03/23 15:23:42 Nit: Document the parameters please.
Steven Holte 2017/03/23 20:38:07 Done.
+
// Possible service types. This should correspond to a type from
// DataUseUserData.
enum MetricServiceType {

Powered by Google App Engine
This is Rietveld 408576698