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

Unified Diff: chrome/browser/net/transport_security_persister.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 | « no previous file | chrome/browser/net/transport_security_persister.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/transport_security_persister.h
===================================================================
--- chrome/browser/net/transport_security_persister.h (revision 202305)
+++ chrome/browser/net/transport_security_persister.h (working copy)
@@ -85,11 +85,6 @@
// serialized state on disk.
virtual bool SerializeData(std::string* data) OVERRIDE;
- // Parses an array of JSON-encoded TransportSecurityState::DomainState
- // entries. For use in loading entries defined on the command line
- // (switches::kHstsHosts).
- bool DeserializeFromCommandLine(const std::string& serialized);
-
// Clears any existing non-static entries, and then re-populates
// |transport_security_state_|.
//
@@ -101,14 +96,11 @@
class Loader;
// Populates |state| from the JSON string |serialized|. Returns true if
- // all entries were parsed and deserialized correctly. If |forced| is
- // true, updates |state|'s map of "forced" DomainState entries; normally,
- // leave this false.
+ // all entries were parsed and deserialized correctly.
//
// Sets |*dirty| to true if the new state differs from the persisted
// state; false otherwise.
static bool Deserialize(const std::string& serialized,
- bool forced,
bool* dirty,
net::TransportSecurityState* state);
« no previous file with comments | « no previous file | chrome/browser/net/transport_security_persister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698