| Index: components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h
|
| index b308742aa3426fa6ece7a7f5a93dbb9322c2f86b..d729dac188da8930fd7a0210a7622eeeec6d9f4f 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.h
|
| @@ -6,13 +6,12 @@
|
| #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_METRICS_H_
|
|
|
| #include "base/time/time.h"
|
| +#include "components/data_reduction_proxy/browser/data_reduction_proxy_delayed_pref_service.h"
|
|
|
| namespace net {
|
| class URLRequest;
|
| }
|
|
|
| -class PrefService;
|
| -
|
| namespace data_reduction_proxy {
|
|
|
| enum DataReductionProxyRequestType {
|
| @@ -46,7 +45,8 @@ void UpdateContentLengthPrefsForDataReductionProxy(
|
| int original_content_length,
|
| bool with_data_reduction_proxy_enabled,
|
| DataReductionProxyRequestType request_type,
|
| - base::Time now, PrefService* prefs);
|
| + base::Time now,
|
| + DataReductionProxyDelayedPrefService* prefs);
|
|
|
| // Records daily data savings statistics to prefs and reports data savings UMA.
|
| void UpdateContentLengthPrefs(
|
| @@ -54,7 +54,7 @@ void UpdateContentLengthPrefs(
|
| int original_content_length,
|
| bool with_data_reduction_proxy_enabled,
|
| DataReductionProxyRequestType request_type,
|
| - PrefService* prefs);
|
| + DataReductionProxyDelayedPrefService* prefs);
|
|
|
| } // namespace data_reduction_proxy
|
|
|
|
|