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

Unified Diff: chrome/browser/profiles/off_the_record_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/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 837dfe6f78cedcd7dd5f001ab357beeaf117b99b..2031228ac60bd1f39d1ad6a42a1320d00de87ae5 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -163,13 +163,6 @@ void OffTheRecordProfileIOData::Handle::LazyInitialize() const {
io_data_->safe_browsing_enabled()->MoveToThread(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
#endif
- // TODO(kundaji): Remove data_reduction_proxy_enabled pref for incognito.
- // Bug http://crbug/412873.
- io_data_->data_reduction_proxy_enabled()->Init(
- data_reduction_proxy::prefs::kDataReductionProxyEnabled,
- profile_->GetPrefs());
- io_data_->data_reduction_proxy_enabled()->MoveToThread(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
io_data_->InitializeOnUIThread(profile_);
}
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.h » ('j') | chrome/browser/profiles/profile_impl_io_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698