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

Unified Diff: net/base/transport_security_state.h

Issue 460135: STS: add chrome.google.com to the built in STS list. (Closed)
Patch Set: Created 11 years 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 | « no previous file | net/base/transport_security_state.cc » ('j') | net/base/transport_security_state.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/transport_security_state.h
diff --git a/net/base/transport_security_state.h b/net/base/transport_security_state.h
index 360eb0be7821b2d6dde8b4584ccbe2d0817bc80d..06f80309d34f7731e238803c8cc96853341135ef 100644
--- a/net/base/transport_security_state.h
+++ b/net/base/transport_security_state.h
@@ -103,6 +103,10 @@ class TransportSecurityState :
static std::string CanonicaliseHost(const std::string& host);
+ // GetBuiltin returns true and fills out *result if the given hostname is
+ // built in as an STS site.
+ bool GetBuiltin(DomainState* result, const std::string& host);
+
DISALLOW_COPY_AND_ASSIGN(TransportSecurityState);
};
« no previous file with comments | « no previous file | net/base/transport_security_state.cc » ('j') | net/base/transport_security_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698