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

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: rebase Created 5 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fd551e188d3938cdb150e082f85307e269912ae4..caa221f5cea0b6f5099a2981b27b782fbabdd8ba 100644
--- a/android_webview/browser/aw_browser_context.cc
+++ b/android_webview/browser/aw_browser_context.cc
@@ -19,11 +19,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"
@@ -166,7 +166,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());
@@ -373,7 +374,7 @@ void AwBrowserContext::CreateDataReductionProxyStatisticsIfNecessary() {
data_reduction_proxy_service =
GetDataReductionProxySettings()->data_reduction_proxy_service();
DCHECK(data_reduction_proxy_service);
- if (data_reduction_proxy_service->statistics_prefs())
+ if (data_reduction_proxy_service->compression_stats())
return;
// We don't care about commit_delay for now. It is just a dummy value.
base::TimeDelta commit_delay = base::TimeDelta::FromMinutes(60);
« no previous file with comments | « no previous file | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698