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

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

Issue 8997012: Make incognito windows not inherit HSTS state from the main profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: g try Created 8 years, 12 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/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f853438a477139e7a06b2daefe83ded09791ff93..673bdc2445f5f8f0d3ded2269a398b789f54df2d 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -34,7 +34,6 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
-#include "chrome/browser/transport_security_persister.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
@@ -443,13 +442,6 @@ void ProfileIOData::LazyInitialize() const {
profile_params_->proxy_config_service.release(),
command_line));
- transport_security_state_.reset(new net::TransportSecurityState(
- command_line.GetSwitchValueASCII(switches::kHstsHosts)));
wtc 2012/01/04 23:51:28 It may be a good idea to explain here or in the he
- transport_security_persister_.reset(
- new TransportSecurityPersister(transport_security_state_.get(),
- profile_params_->path,
- profile_params_->is_incognito));
-
// NOTE(willchan): Keep these protocol handlers in sync with
// ProfileIOData::IsHandledProtocol().
job_factory_.reset(new net::URLRequestJobFactory);

Powered by Google App Engine
This is Rietveld 408576698