| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| index f04aef7a5bb75236237584f060f3447b64a27b5b..1730a96a49e420e8677a72bdebe8898ec5095de1 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -32,7 +32,6 @@
|
| #include "extensions/features/features.h"
|
| #include "net/http/http_cache.h"
|
| #include "net/http/http_network_session.h"
|
| -#include "net/http/http_server_properties_impl.h"
|
| #include "net/ssl/channel_id_service.h"
|
| #include "net/ssl/default_channel_id_store.h"
|
| #include "net/url_request/url_request_context_storage.h"
|
| @@ -199,33 +198,6 @@ void OffTheRecordProfileIOData::InitializeInternal(
|
| net::URLRequestContextStorage* main_context_storage =
|
| main_request_context_storage();
|
|
|
| - // For incognito, we use the default non-persistent HttpServerPropertiesImpl.
|
| - main_context_storage->set_http_server_properties(
|
| - base::MakeUnique<net::HttpServerPropertiesImpl>());
|
| -
|
| - // For incognito, we use a non-persistent channel ID store.
|
| - main_context_storage->set_channel_id_service(
|
| - base::MakeUnique<net::ChannelIDService>(
|
| - new net::DefaultChannelIDStore(nullptr)));
|
| -
|
| - using content::CookieStoreConfig;
|
| - main_context_storage->set_cookie_store(CreateCookieStore(CookieStoreConfig(
|
| - base::FilePath(), CookieStoreConfig::EPHEMERAL_SESSION_COOKIES, NULL,
|
| - profile_params->cookie_monster_delegate.get())));
|
| -
|
| - main_context->cookie_store()->SetChannelIDServiceID(
|
| - main_context->channel_id_service()->GetUniqueID());
|
| -
|
| - main_context_storage->set_http_network_session(
|
| - CreateHttpNetworkSession(*profile_params));
|
| - main_context_storage->set_http_transaction_factory(
|
| - CreateMainHttpFactory(main_context_storage->http_network_session(),
|
| - net::HttpCache::DefaultBackend::InMemory(0)));
|
| -
|
| - std::unique_ptr<net::URLRequestJobFactoryImpl> main_job_factory(
|
| - new net::URLRequestJobFactoryImpl());
|
| -
|
| - InstallProtocolHandlers(main_job_factory.get(), protocol_handlers);
|
| main_context_storage->set_job_factory(SetUpJobFactoryDefaults(
|
| std::move(main_job_factory), std::move(request_interceptors),
|
| std::move(profile_params->protocol_handler_interceptor),
|
|
|