summaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 23:49:07 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 23:49:07 +0000
commit131b70b153427c7ceec28c698ace1301492f5859 (patch)
treed997510f389115aed8b84166e26f369750cabd8d /net/http
parent506c9b9851f9ce66b3cef6738b30447947e59058 (diff)
downloadchromium_src-131b70b153427c7ceec28c698ace1301492f5859.zip
chromium_src-131b70b153427c7ceec28c698ace1301492f5859.tar.gz
chromium_src-131b70b153427c7ceec28c698ace1301492f5859.tar.bz2
We don't need DomainState::Equals.
It never gets called in the current implementation, and the concept of DomainState is changing to better support HPKP and TACK. BUG=171025 TBR=cbentzel,agl Review URL: https://chromiumcodereview.appspot.com/16236007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r--net/http/transport_security_state.cc7
-rw-r--r--net/http/transport_security_state.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
index b8a6b16..66a21c0 100644
--- a/net/http/transport_security_state.cc
+++ b/net/http/transport_security_state.cc
@@ -830,13 +830,6 @@ bool TransportSecurityState::DomainState::ShouldSSLErrorsBeFatal() const {
return true;
}
-bool TransportSecurityState::DomainState::Equals(
- const DomainState& other) const {
- // TODO(palmer): Implement this
- (void) other;
- return true;
-}
-
bool TransportSecurityState::DomainState::HasPublicKeyPins() const {
return static_spki_hashes.size() > 0 ||
bad_static_spki_hashes.size() > 0 ||
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
index 4bf1df7..e92788d 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -93,8 +93,6 @@ class NET_EXPORT TransportSecurityState
// hard-fail behavior (e.g. if HSTS is set for the domain)
bool ShouldSSLErrorsBeFatal() const;
- bool Equals(const DomainState& other) const;
-
UpgradeMode upgrade_mode;
// The absolute time (UTC) when this DomainState was first created.