| 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 c6522a884b7aeb5e11d1b53ba43faa4e6627740a..32baaa9e0e2f57c04b9befc828c4a3854ec39834 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -38,13 +38,8 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| -#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h"
|
| -#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
|
| -#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h"
|
| -#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h"
|
| -#include "components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h"
|
| #include "components/domain_reliability/monitor.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/cookie_store_factory.h"
|
| @@ -174,16 +169,16 @@ void ProfileImplIOData::Handle::Init(
|
|
|
| io_data_->set_data_reduction_proxy_io_data(
|
| CreateDataReductionProxyChromeIOData(
|
| - net_log, profile_, profile_->GetPrefs(),
|
| + net_log, profile_->GetPrefs(),
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
|
| - BrowserThread::GetMessageLoopProxyForThread(
|
| - BrowserThread::UI)).Pass());
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI))
|
| + .Pass());
|
|
|
| DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)->
|
| - InitDataReductionProxySettings(io_data_->data_reduction_proxy_io_data(),
|
| - profile_->GetPrefs(),
|
| - g_browser_process->local_state(),
|
| - profile_->GetRequestContext());
|
| + InitDataReductionProxySettings(
|
| + io_data_->data_reduction_proxy_io_data(), profile_->GetPrefs(),
|
| + profile_->GetRequestContext(),
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI));
|
| }
|
|
|
| content::ResourceContext*
|
| @@ -459,8 +454,6 @@ void ProfileImplIOData::InitializeInternal(
|
|
|
| main_context->set_net_log(io_thread->net_log());
|
|
|
| - data_reduction_proxy_io_data()->Init();
|
| -
|
| network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate(
|
| chrome_network_delegate.Pass(), true).Pass();
|
|
|
|
|