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

Unified Diff: components/metrics/metrics_service.h

Issue 2517363002: Decouple Metrics Initialization from IO Thread Initialization (Closed)
Patch Set: Add One Level of Indirection Created 4 years, 1 month 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.h
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
index 3f19a5b34908cc7400440e78062200edc524edd7..0503cf37dc608250651ec0a77fec2bd167b99fce 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -207,7 +207,8 @@ class MetricsService : public base::HistogramFlattener {
void PushExternalLog(const std::string& log);
// Returns a callback to data use pref updating function which can be called
- // from any thread, but this function should be called on UI thread.
+ // from any thread, but this function should be called on UI thread. Can be a
+ // null callback.
UpdateUsagePrefCallbackType GetDataUseForwardingCallback();
// Merge any data from metrics providers into the global StatisticsRecorder.

Powered by Google App Engine
This is Rietveld 408576698