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

Unified Diff: net/http/transport_security_state.h

Issue 1580583002: Add a whitelist for QUIC hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments 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/http_stream_factory_impl.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state.h
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
index afdf6c38b73a642faa0824f8989b07a9b4dfb38d..a4c52e7ecfeabbd4b285aca4c01db397c0d1dbac 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -282,6 +282,12 @@ class NET_EXPORT TransportSecurityState
STSState* sts_result,
PKPState* pkp_result) const;
+ // Returns true iff there is static (built-in) state for |host| that
+ // references the Google pins.
+ // TODO(rch): Remove this temporary gross layering violation once QUIC 32 is
+ // deployed.
+ bool IsGooglePinnedHost(const std::string& host) const;
+
// Returns true and updates |*expect_ct_result| iff there is a static
// (built-in) state for |host| with expect_ct=true.
bool GetStaticExpectCTState(const std::string& host,
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698