Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1616)

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.cc

Issue 2785493003: Disable SDCH by Default (Closed)
Patch Set: Clean up IOS compilation errors and remove from IOS OTR profile. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e02b4528ccb8ddfa4c169739fad7f830f812c477..9a2760ad9f10956d421fa08d308626b6def27633 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -30,11 +30,9 @@
#include "content/public/browser/resource_context.h"
#include "extensions/common/constants.h"
#include "extensions/features/features.h"
-#include "net/base/sdch_manager.h"
#include "net/http/http_cache.h"
#include "net/http/http_network_session.h"
#include "net/http/http_server_properties_impl.h"
-#include "net/sdch/sdch_owner.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"
@@ -256,11 +254,6 @@ void OffTheRecordProfileIOData::InitializeInternal(
std::move(profile_params->protocol_handler_interceptor),
main_context->network_delegate(), main_context->host_resolver()));
- // Setup SDCH for this profile.
- main_context_storage->set_sdch_manager(base::MakeUnique<net::SdchManager>());
- sdch_policy_.reset(
- new net::SdchOwner(main_context->sdch_manager(), main_context));
-
#if BUILDFLAG(ENABLE_EXTENSIONS)
InitializeExtensionsRequestContext(profile_params);
#endif
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.h ('k') | chrome/browser/profiles/profile_impl_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698