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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 643443002: Move data_reduction_proxy_enabled pref to profile_impl_io_data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor whitespace change Created 6 years, 2 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/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 9ba6a7df04678202b64201d015530a568f2cc7d9..bb42d9ce77f6911ffdcda2456042ab6fb9adef84 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -864,9 +864,7 @@ bool ProfileIOData::GetMetricsEnabledStateOnIOThread() const {
}
bool ProfileIOData::IsDataReductionProxyEnabled() const {
- return data_reduction_proxy_enabled_.GetValue() ||
- CommandLine::ForCurrentProcess()->HasSwitch(
- data_reduction_proxy::switches::kEnableDataReductionProxy);
+ return false;
}
base::WeakPtr<net::HttpServerProperties>
@@ -1023,8 +1021,6 @@ void ProfileIOData::Init(
network_delegate->set_cookie_settings(profile_params_->cookie_settings.get());
network_delegate->set_enable_do_not_track(&enable_do_not_track_);
network_delegate->set_force_google_safe_search(&force_safesearch_);
- network_delegate->set_data_reduction_proxy_enabled_pref(
- &data_reduction_proxy_enabled_);
network_delegate->set_prerender_tracker(profile_params_->prerender_tracker);
network_delegate_.reset(network_delegate);
@@ -1202,7 +1198,6 @@ void ProfileIOData::ShutdownOnUIThread(
enable_metrics_.Destroy();
#endif
safe_browsing_enabled_.Destroy();
- data_reduction_proxy_enabled_.Destroy();
printing_enabled_.Destroy();
sync_disabled_.Destroy();
signin_allowed_.Destroy();
« chrome/browser/profiles/profile_impl_io_data.cc ('K') | « chrome/browser/profiles/profile_io_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698