Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
index 728188d42ce55a241fbd9b76fa9932dfb6cd7658..c16ceb593b5f40bade33c18e1bef7143d0b6ab4b 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
@@ -8,9 +8,9 @@ |
#include "base/prefs/pref_service.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
+#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h" |
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h" |
#include "net/base/host_port_pair.h" |
@@ -197,7 +197,7 @@ void MaintainContentLengthPrefsWindow(base::ListValue* list, size_t length) { |
class DailyContentLengthUpdate { |
public: |
DailyContentLengthUpdate(const char* pref, |
- DataReductionProxyStatisticsPrefs* pref_service) |
+ DataReductionProxyCompressionStats* pref_service) |
: update_(pref_service->GetList(pref)) { |
} |
@@ -266,7 +266,7 @@ class DailyDataSavingUpdate { |
public: |
DailyDataSavingUpdate(const char* pref_original, |
const char* pref_received, |
- DataReductionProxyStatisticsPrefs* prefs) |
+ DataReductionProxyCompressionStats* prefs) |
: original_(pref_original, prefs), |
received_(pref_received, prefs) { |
} |
@@ -358,7 +358,7 @@ void UpdateContentLengthPrefsForDataReductionProxy( |
bool with_data_reduction_proxy_enabled, |
DataReductionProxyRequestType request_type, |
base::Time now, |
- DataReductionProxyStatisticsPrefs* prefs) { |
+ DataReductionProxyCompressionStats* prefs) { |
// TODO(bengr): Remove this check once the underlying cause of |
// http://crbug.com/287821 is fixed. For now, only continue if the current |
// year is reported as being between 1972 and 2970. |