summaryrefslogtreecommitdiffstats
path: root/net/base/transport_security_state.cc
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-27 19:38:03 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-27 19:38:03 +0000
commit243887b36ec8b3ac78c72b3327efee75886f4997 (patch)
treef70729d096fd7b1917c0f0c0ff0fec55c4fa91b8 /net/base/transport_security_state.cc
parent9d0f20307e9d9aac09a3eb2f87cecc92c67e9476 (diff)
downloadchromium_src-243887b36ec8b3ac78c72b3327efee75886f4997.zip
chromium_src-243887b36ec8b3ac78c72b3327efee75886f4997.tar.gz
chromium_src-243887b36ec8b3ac78c72b3327efee75886f4997.tar.bz2
Simple change to simplify TransportSecurityState.
Remove two no-op (i.e. always true) boolean functions, each of which was only used once. Having a DomainState at all is equivalent to having a DomainState and ShouldCertificateErrorsBeFatal / ShouldMixedScriptingBeBlocked. The reason to simplify TransportSecurityState is that agl and I want to re-factor this class because it is getting too confusing. Doing some straightforward clean-up now will help accelerate the real re-factoring. Review URL: http://codereview.chromium.org/9019034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/transport_security_state.cc')
-rw-r--r--net/base/transport_security_state.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc
index dc72239..23ecd98 100644
--- a/net/base/transport_security_state.cc
+++ b/net/base/transport_security_state.cc
@@ -1389,19 +1389,9 @@ bool TransportSecurityState::DomainState::IsChainOfPublicKeysPermitted(
return false;
}
-bool TransportSecurityState::DomainState::ShouldCertificateErrorsBeFatal()
- const {
- return true;
-}
-
bool TransportSecurityState::DomainState::ShouldRedirectHTTPToHTTPS()
const {
return mode == MODE_STRICT;
}
-bool TransportSecurityState::DomainState::ShouldMixedScriptingBeBlocked()
- const {
- return true;
-}
-
} // namespace