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

Unified Diff: android_webview/browser/aw_browser_context.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: android_webview/browser/aw_browser_context.cc
diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc
index 30f59cb8097fabe774b3970eddec9c2d4e1799ff..c9a9fbd2acc936ae9c6106c0f1fa8d524e7fb9c8 100644
--- a/android_webview/browser/aw_browser_context.cc
+++ b/android_webview/browser/aw_browser_context.cc
@@ -18,11 +18,11 @@
#include "base/prefs/pref_service.h"
#include "base/prefs/pref_service_factory.h"
#include "components/autofill/core/common/autofill_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_io_data.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.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 "components/user_prefs/user_prefs.h"
#include "components/visitedlink/browser/visitedlink_master.h"
@@ -165,7 +165,8 @@ void AwBrowserContext::PreMainMessageLoopRun() {
new data_reduction_proxy::DataReductionProxySettings());
data_reduction_proxy_service_.reset(
new data_reduction_proxy::DataReductionProxyService(
- scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>(),
+ scoped_ptr<
+ data_reduction_proxy::DataReductionProxyCompressionStats>(),
data_reduction_proxy_settings_.get(), GetAwURLRequestContext()));
data_reduction_proxy_io_data_->SetDataReductionProxyService(
data_reduction_proxy_service_->GetWeakPtr());

Powered by Google App Engine
This is Rietveld 408576698