| 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 04a4e743c55215d95a3b5fb434fb18f3c45b455b..e0dc1855b6f860d193ebcc7474eb5698d931b458 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -21,20 +21,22 @@
|
| #include "base/threading/worker_pool.h"
|
| #include "build/build_config.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
|
| #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
|
| #include "chrome/browser/io_thread.h"
|
| #include "chrome/browser/net/chrome_network_delegate.h"
|
| #include "chrome/browser/net/http_server_properties_manager_factory.h"
|
| +#include "chrome/browser/net/nqe/ui_network_quality_estimator_service.h"
|
| +#include "chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.h"
|
| #include "chrome/browser/net/predictor.h"
|
| #include "chrome/browser/net/quota_policy_channel_id_store.h"
|
| #include "chrome/browser/net/sdch_owner_pref_storage.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
|
| #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -196,20 +198,25 @@ void ProfileImplIOData::Handle::Init(
|
| pool->GetSequenceToken(),
|
| base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
|
| std::unique_ptr<data_reduction_proxy::DataStore> store(
|
| new data_reduction_proxy::DataStoreImpl(profile_path));
|
| DataReductionProxyChromeSettingsFactory::GetForBrowserContext(profile_)
|
| ->InitDataReductionProxySettings(
|
| io_data_->data_reduction_proxy_io_data(), profile_->GetPrefs(),
|
| profile_->GetRequestContext(), std::move(store),
|
| BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
|
| db_task_runner);
|
| + chrome_browser_net::UINetworkQualityEstimatorServiceFactory::GetForProfile(
|
| + profile_)
|
| + ->Initialize(
|
| + BrowserThread::GetTaskRunnerForThread(BrowserThread::UI),
|
| + BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
|
| }
|
|
|
| content::ResourceContext*
|
| ProfileImplIOData::Handle::GetResourceContext() const {
|
| DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| LazyInitialize();
|
| return GetResourceContextNoInit();
|
| }
|
|
|
| content::ResourceContext*
|
|
|