| 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 f47f7157c64e948deb5f42acba0a04289227fb0f..1361e0664327c9e8d2cc8c2157ba147144a9db7f 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -55,6 +55,7 @@
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h"
|
| +#include "components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.h"
|
| #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h"
|
| #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names.h"
|
| #endif // defined(SPDY_PROXY_AUTH_ORIGIN)
|
| @@ -141,7 +142,9 @@ void ProfileImplIOData::Handle::Init(
|
| scoped_ptr<DataReductionProxyChromeConfigurator>
|
| data_reduction_proxy_chrome_configurator,
|
| scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
|
| - data_reduction_proxy_params) {
|
| + data_reduction_proxy_params,
|
| + scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
|
| + data_reduction_proxy_statistics_prefs) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| DCHECK(!io_data_->lazy_params_);
|
| DCHECK(predictor);
|
| @@ -181,6 +184,8 @@ void ProfileImplIOData::Handle::Init(
|
| data_reduction_proxy_chrome_configurator.Pass();
|
| io_data_->data_reduction_proxy_params_ =
|
| data_reduction_proxy_params.Pass();
|
| + io_data_->data_reduction_proxy_statistics_prefs_ =
|
| + data_reduction_proxy_statistics_prefs.Pass();
|
| #endif // defined(SPDY_PROXY_AUTH_ORIGIN)
|
| }
|
|
|
| @@ -450,6 +455,8 @@ void ProfileImplIOData::InitializeInternal(
|
| data_reduction_proxy_usage_stats_.get());
|
| network_delegate()->set_data_reduction_proxy_auth_request_handler(
|
| data_reduction_proxy_auth_request_handler_.get());
|
| + network_delegate()->set_data_reduction_proxy_statistics_prefs(
|
| + data_reduction_proxy_statistics_prefs_.get());
|
| network_delegate()->set_on_resolve_proxy_handler(
|
| base::Bind(data_reduction_proxy::OnResolveProxyHandler));
|
| network_delegate()->set_proxy_config_getter(
|
|
|