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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc

Issue 949533004: Rename DataReductionProxyStatisticsPrefs to DataReductionProxyCompressionStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/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.

Powered by Google App Engine
This is Rietveld 408576698