| 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 fb22c3c34299d8f1b98dd4b5709c3378ce1f9664..769e5ee163aefbbfb570a0613b16be98c9b284fd 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -35,6 +35,7 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.h"
|
| +#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h"
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h"
|
| @@ -54,6 +55,7 @@
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_server_properties_manager.h"
|
| #include "net/ssl/channel_id_service.h"
|
| +#include "net/url_request/url_request_intercepting_job_factory.h"
|
| #include "net/url_request/url_request_job_factory_impl.h"
|
| #include "storage/browser/quota/special_storage_policy.h"
|
|
|
| @@ -573,6 +575,12 @@ void ProfileImplIOData::InitializeInternal(
|
| profile_params->protocol_handler_interceptor.Pass(),
|
| network_delegate(),
|
| ftp_factory_.get());
|
| +
|
| + main_job_factory_.reset(new net::URLRequestInterceptingJobFactory(
|
| + main_job_factory_.Pass(), make_scoped_ptr(
|
| + new data_reduction_proxy::DataReductionProxyInterceptor(
|
| + data_reduction_proxy_params(),
|
| + data_reduction_proxy_usage_stats()))));
|
| main_context->set_job_factory(main_job_factory_.get());
|
|
|
| #if defined(ENABLE_EXTENSIONS)
|
|
|