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

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: Fixed minor bug Created 5 years, 8 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 2d3c9cb02f04e89a0937ba1002fc18db38d83944..81f4ef4f18d944dac1119b37573a0821ba996c5f 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -188,6 +188,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),
@@ -197,7 +198,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