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

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
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..ea74db3562c340c6313b1232f282a398153b9615 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -282,6 +282,10 @@ 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.
Ryan Sleevi 2016/01/11 23:54:27 This is something I really have tried hard to keep
Ryan Hamilton 2016/01/12 00:22:46 Should transport_security_state_static and friends
Ryan Sleevi 2016/01/12 00:29:39 TSS is fine - it's a vendor-neutral whitelist. Inf
+ 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,

Powered by Google App Engine
This is Rietveld 408576698