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

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

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.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 33ec9bb28df964bba62a84fead0d20b0cb865735..5f3997c89b05aadaa5a062be74b0e14aea13b57a 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -32,7 +32,6 @@ class HostZoomMap;
class IOThread;
class Profile;
class ProtocolHandlerRegistry;
-class TransportSecurityPersister;
namespace fileapi {
class FileSystemContext;
@@ -220,6 +219,9 @@ class ProfileIOData {
return main_request_context_;
}
+ protected:
+ mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
+
private:
class ResourceContext : public content::ResourceContext {
public:
@@ -281,7 +283,6 @@ class ProfileIOData {
mutable scoped_ptr<net::FraudulentCertificateReporter>
fraudulent_certificate_reporter_;
mutable scoped_ptr<net::ProxyService> proxy_service_;
- mutable scoped_ptr<net::TransportSecurityState> transport_security_state_;
mutable scoped_ptr<net::URLRequestJobFactory> job_factory_;
// Pointed to by ResourceContext.
@@ -302,9 +303,6 @@ class ProfileIOData {
mutable ResourceContext resource_context_;
- mutable scoped_ptr<TransportSecurityPersister>
- transport_security_persister_;
-
// These are only valid in between LazyInitialize() and their accessor being
// called.
mutable scoped_refptr<ChromeURLRequestContext> main_request_context_;

Powered by Google App Engine
This is Rietveld 408576698