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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_service.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_service.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
index 61137219b9edc523253a5e6ff4b7b0e6687f251b..8b9cd7f5bf0dc9143a6407d4eef93b2926ecc7e0 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
@@ -5,7 +5,7 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h"
#include "base/sequenced_task_runner.h"
-#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h"
+#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h"
#include "net/base/load_flags.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_request_status.h"
@@ -13,7 +13,7 @@
namespace data_reduction_proxy {
DataReductionProxyService::DataReductionProxyService(
- scoped_ptr<DataReductionProxyStatisticsPrefs> statistics_prefs,
+ scoped_ptr<DataReductionProxyCompressionStats> statistics_prefs,
DataReductionProxySettings* settings,
net::URLRequestContextGetter* request_context_getter)
: url_request_context_getter_(request_context_getter),
@@ -36,7 +36,7 @@ void DataReductionProxyService::EnableCompressionStatisticsLogging(
scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
const base::TimeDelta& commit_delay) {
DCHECK(!statistics_prefs_);
- statistics_prefs_.reset(new DataReductionProxyStatisticsPrefs(
+ statistics_prefs_.reset(new DataReductionProxyCompressionStats(
prefs, ui_task_runner, commit_delay));
}

Powered by Google App Engine
This is Rietveld 408576698