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 1c49b319401cd8cfc93508229b8a679235edf610..590497aecc7711bc3a57e1a820642fb3874828bb 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -153,6 +153,7 @@ void ProfileImplIOData::Handle::Init( |
scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
domain_reliability_monitor, |
const base::Callback<void(bool)>& data_reduction_proxy_unavailable, |
+ const base::Callback<void(net::ProxyConfig*)>& proxy_config_getter, |
scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
data_reduction_proxy_params) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
@@ -188,6 +189,7 @@ void ProfileImplIOData::Handle::Init( |
#if defined(SPDY_PROXY_AUTH_ORIGIN) |
io_data_->data_reduction_proxy_unavailable_callback_ = |
data_reduction_proxy_unavailable; |
+ io_data_->proxy_config_getter_ = proxy_config_getter; |
io_data_->data_reduction_proxy_params_ = |
data_reduction_proxy_params.Pass(); |
#endif // defined(SPDY_PROXY_AUTH_ORIGIN) |
@@ -435,6 +437,7 @@ void ProfileImplIOData::InitializeInternal( |
data_reduction_proxy_auth_request_handler_.get()); |
network_delegate()->set_on_resolve_proxy_handler( |
base::Bind(data_reduction_proxy::OnResolveProxyHandler)); |
+ network_delegate()->set_proxy_config_getter(proxy_config_getter_); |
#endif // defined(SPDY_PROXY_AUTH_ORIGIN) |
network_delegate()->set_predictor(predictor_.get()); |