Index: net/http/transport_security_state.cc |
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc |
index e838cbee9eddcf44c7ba241c51f4894d00059fb5..68e3d367f48c85e876e255f698a433dc4aa20091 100644 |
--- a/net/http/transport_security_state.cc |
+++ b/net/http/transport_security_state.cc |
@@ -1625,25 +1625,6 @@ bool TransportSecurityState::GetStaticDomainState(const std::string& host, |
return true; |
} |
-bool TransportSecurityState::IsGooglePinnedHost(const std::string& host) const { |
- DCHECK(CalledOnValidThread()); |
- |
- if (!IsBuildTimely()) |
- return false; |
- |
- PreloadResult result; |
- if (!DecodeHSTSPreload(host, &result)) |
- return false; |
- |
- if (!result.has_pins) |
- return false; |
- |
- if (result.pinset_id >= arraysize(kPinsets)) |
- return false; |
- |
- return kPinsets[result.pinset_id].accepted_pins == kGoogleAcceptableCerts; |
-} |
- |
bool TransportSecurityState::GetDynamicSTSState(const std::string& host, |
STSState* result) { |
DCHECK(CalledOnValidThread()); |