| Index: components/metrics/metrics_service.h
|
| diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
|
| index 3f19a5b34908cc7400440e78062200edc524edd7..523112048268d0bb956eacf1135101fee2af220e 100644
|
| --- a/components/metrics/metrics_service.h
|
| +++ b/components/metrics/metrics_service.h
|
| @@ -206,9 +206,9 @@ class MetricsService : public base::HistogramFlattener {
|
| // Pushes a log that has been generated by an external component.
|
| 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.
|
| - UpdateUsagePrefCallbackType GetDataUseForwardingCallback();
|
| + // Updates data usage prefs according to what the PrefService expects.
|
| + void UpdateMetricsUsagePrefs(
|
| + const std::string& service_name, int message_size, bool is_cellular);
|
|
|
| // Merge any data from metrics providers into the global StatisticsRecorder.
|
| void MergeHistogramDeltas();
|
|
|