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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.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_test_utils.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
index 8ec2958e3b260b77b179dafbf50ccf5b4803f91b..9951760b71b5cbe33ae28c0d81d23041d0da3996 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
@@ -6,12 +6,12 @@
#include "base/message_loop/message_loop.h"
#include "base/prefs/testing_pref_service.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_test_utils.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.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_event_store.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
@@ -20,7 +20,7 @@
namespace data_reduction_proxy {
MockDataReductionProxyService::MockDataReductionProxyService(
- scoped_ptr<DataReductionProxyStatisticsPrefs> statistics_prefs,
+ scoped_ptr<DataReductionProxyCompressionStats> statistics_prefs,
DataReductionProxySettings* settings,
net::URLRequestContextGetter* request_context)
: DataReductionProxyService(
@@ -146,8 +146,8 @@ DataReductionProxyTestContext::CreateDataReductionProxyService() {
scoped_ptr<DataReductionProxyService>
DataReductionProxyTestContext::CreateDataReductionProxyServiceInternal() {
- scoped_ptr<DataReductionProxyStatisticsPrefs> statistics_prefs =
- make_scoped_ptr(new DataReductionProxyStatisticsPrefs(
+ scoped_ptr<DataReductionProxyCompressionStats> statistics_prefs =
+ make_scoped_ptr(new DataReductionProxyCompressionStats(
&simple_pref_service_, task_runner_, base::TimeDelta()));
if (test_context_flags_ & DataReductionProxyTestContext::USE_MOCK_SERVICE) {

Powered by Google App Engine
This is Rietveld 408576698