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

Unified Diff: net/http/transport_security_state.h

Issue 15711007: Remove "--hsts-hosts" command-line argument (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state.h
===================================================================
--- net/http/transport_security_state.h (revision 202305)
+++ net/http/transport_security_state.h (working copy)
@@ -179,14 +179,6 @@
void AddOrUpdateEnabledHosts(const std::string& hashed_host,
const DomainState& state);
- // Inserts |state| into |forced_hosts_| under the key |hashed_host|.
- // |hashed_host| is already in the internal representation
- // HashHost(CanonicalizeHost(host)).
- // Note: This is only used for serializing/deserializing the
- // TransportSecurityState.
- void AddOrUpdateForcedHosts(const std::string& hashed_host,
- const DomainState& state);
-
// Deletes all dynamic data (e.g. HSTS or HPKP data) created since a given
// time.
//
@@ -310,10 +302,6 @@
// The set of hosts that have enabled TransportSecurity.
DomainStateMap enabled_hosts_;
- // Extra entries, provided by the user at run-time, to treat as if they
- // were static.
- DomainStateMap forced_hosts_;
-
Delegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(TransportSecurityState);
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698