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

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

Issue 893003002: Data Reduction Proxy class ownership updates and Settings cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 5af118651a2aaa4c21d25a03237586d558a741d4..92cc1dafa158a6775ff4d070aee2fa59f4eed593 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -179,11 +179,12 @@ void ProfileImplIOData::Handle::Init(
BrowserThread::GetMessageLoopProxyForThread(
BrowserThread::UI)).Pass());
+ io_data_->data_reduction_proxy_io_data()->InitURLRequestContext(
bengr 2015/02/03 21:51:58 I'd strongly prefer not adding to the interface be
jeremyim 2015/02/04 01:31:21 Per comment on Initialize: GetRequestContext() req
+ profile_->GetRequestContext());
DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)->
InitDataReductionProxySettings(io_data_->data_reduction_proxy_io_data(),
profile_->GetPrefs(),
- g_browser_process->local_state(),
- profile_->GetRequestContext());
+ g_browser_process->local_state());
}
content::ResourceContext*

Powered by Google App Engine
This is Rietveld 408576698