Index: net/http/transport_security_state.h |
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h |
index ccbc53a087dce599fef077399374ca21efe2506f..38d497ba4ebd54f68295aaa586c217c4b548670c 100644 |
--- a/net/http/transport_security_state.h |
+++ b/net/http/transport_security_state.h |
@@ -201,6 +201,9 @@ class NET_EXPORT TransportSecurityState |
// If |sni_enabled| is true, searches the static pins defined for |
// SNI-using hosts as well as the rest of the pins. |
// |
+ // If |allow_dynamic| is true, then dynamic state is returned if present, |
+ // otherwise only static state is used. |
+ // |
// If |host| matches both an exact entry and is a subdomain of another |
// entry, the exact match determines the return value. |
// |
@@ -208,6 +211,7 @@ class NET_EXPORT TransportSecurityState |
// entries that have expired. |
bool GetDomainState(const std::string& host, |
bool sni_enabled, |
+ bool allow_dynamic, |
DomainState* result); |
// Processes an HSTS header value from the host, adding entries to |