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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.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: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
index 295b4fa5403639f8e3635b43a679a1e46a820adf..3ef1809c8c8d284ceb419e953af63ee858511fb0 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
@@ -16,11 +16,11 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/pref_names.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_io_data.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_service.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_params.h"
#include "net/url_request/url_request_context_getter.h"
@@ -91,9 +91,9 @@ void DataReductionProxyChromeSettings::InitDataReductionProxySettings(
base::TimeDelta commit_delay = base::TimeDelta::FromMinutes(60);
#endif
- scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
+ scoped_ptr<data_reduction_proxy::DataReductionProxyCompressionStats>
statistics_prefs = make_scoped_ptr(
- new data_reduction_proxy::DataReductionProxyStatisticsPrefs(
+ new data_reduction_proxy::DataReductionProxyCompressionStats(
profile_prefs, ui_task_runner, commit_delay));
scoped_ptr<data_reduction_proxy::DataReductionProxyService>
service = make_scoped_ptr(

Powered by Google App Engine
This is Rietveld 408576698