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

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

Issue 981633002: Created new URLRequestContext for secure proxy check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved Secure Proxy check to separate class. Addressed comments. 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
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 d64039e917f40b2aa221595083b4c581f0e6d2d4..736b1474b6fd1157115c368d19ac2b4412ee4c90 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -190,6 +190,7 @@ void ProfileImplIOData::Handle::Init(
io_data_->set_data_reduction_proxy_io_data(
CreateDataReductionProxyChromeIOData(
+ profile_->GetRequestContext(),
g_browser_process->io_thread()->net_log(), profile_->GetPrefs(),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
@@ -199,7 +200,6 @@ void ProfileImplIOData::Handle::Init(
DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)->
InitDataReductionProxySettings(
io_data_->data_reduction_proxy_io_data(), profile_->GetPrefs(),
- profile_->GetRequestContext(),
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI));
}

Powered by Google App Engine
This is Rietveld 408576698