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

Unified Diff: net/http/transport_security_state.cc

Issue 1574423003: Revert of Add a whitelist for QUIC hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « net/http/transport_security_state.h ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state.cc
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
index 8eb29434f8631bdf60c4a99aa2bc91d29fed0429..e77c8c5e2138a4688a03a9d76047d9235e88dbc4 100644
--- a/net/http/transport_security_state.cc
+++ b/net/http/transport_security_state.cc
@@ -1100,25 +1100,6 @@
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::GetStaticExpectCTState(
const std::string& host,
ExpectCTState* expect_ct_state) const {
« no previous file with comments | « net/http/transport_security_state.h ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698