| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 7726fcf5524bddfd32c81c0fd5b953f5d32749a3..af202de536bf33cf1b5ba3d006ed4b747de56b4e 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -101,6 +101,7 @@
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h"
|
| +#include "components/data_reduction_proxy/browser/data_reduction_proxy_delegate.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h"
|
| #endif // defined(SPDY_PROXY_AUTH_ORIGIN)
|
|
|
| @@ -663,6 +664,9 @@ void IOThread::InitAsync() {
|
| DataReductionProxyChromeSettings::GetBuildAndPatchNumber(),
|
| globals_->data_reduction_proxy_params.get(),
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));
|
| + globals_->data_reduction_proxy_delegate.reset(
|
| + new data_reduction_proxy::DataReductionProxyDelegate(
|
| + globals_->data_reduction_proxy_auth_request_handler.get()));
|
| // This is the same as in ProfileImplIOData except that we do not collect
|
| // usage stats.
|
| network_delegate->set_data_reduction_proxy_params(
|
| @@ -1058,6 +1062,7 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
|
| ¶ms->origin_to_force_quic_on);
|
| params->enable_user_alternate_protocol_ports =
|
| globals.enable_user_alternate_protocol_ports;
|
| + params->proxy_delegate = globals.data_reduction_proxy_delegate.get();
|
| }
|
|
|
| base::TimeTicks IOThread::creation_time() const {
|
|
|