Chromium Code Reviews| Index: chrome/browser/io_thread.cc |
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc |
| index 3c632ee8ffd0fbff66c94a8cc2faad4afcc988fe..c9218859b6d30eb8947473c8ad7509f0f3d3cb1e 100644 |
| --- a/chrome/browser/io_thread.cc |
| +++ b/chrome/browser/io_thread.cc |
| @@ -35,6 +35,7 @@ |
| #include "chrome/browser/net/dns_probe_service.h" |
| #include "chrome/browser/net/pref_proxy_config_tracker.h" |
| #include "chrome/browser/net/proxy_service_factory.h" |
| +#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
| #include "chrome/common/chrome_content_client.h" |
| #include "chrome/common/chrome_switches.h" |
| #include "chrome/common/chrome_version_info.h" |
| @@ -651,8 +652,12 @@ void IOThread::InitAsync() { |
| DataReductionProxyParams* proxy_params = |
| new DataReductionProxyParams(drp_flags); |
| globals_->data_reduction_proxy_params.reset(proxy_params); |
| + chrome::VersionInfo version_info; |
|
bengr
2014/07/31 18:22:40
This is an implementation detail, so put it inside
megjablon
2014/07/31 20:48:36
Done.
|
| globals_->data_reduction_proxy_auth_request_handler.reset( |
| - new DataReductionProxyAuthRequestHandler(proxy_params)); |
| + new DataReductionProxyAuthRequestHandler( |
| + proxy_params, |
| + DataReductionProxyChromeSettings::GetBuildAndPatchNumber( |
| + version_info.Version()))); |
| globals_->on_resolve_proxy_handler = |
| ChromeNetworkDelegate::OnResolveProxyHandler( |
| base::Bind(data_reduction_proxy::OnResolveProxyHandler)); |