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

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: cleanup 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..5a0fd0b4c62b9958284528e90f4f73f744ef4ee1 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 (build-in) state for |host| which
agl 2016/01/11 22:53:37 s/build/built/ s/which/that/
Ryan Hamilton 2016/01/11 22:59:18 Done.
+ // references the Google pins.
+ 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