Index: content/public/browser/ssl_host_state_delegate.h |
diff --git a/content/public/browser/ssl_host_state_delegate.h b/content/public/browser/ssl_host_state_delegate.h |
index 859a4e78be5fce2548dc41fa09af757927fbc55d..3a350531fd5420941bd4705c01a28ba37e986a87 100644 |
--- a/content/public/browser/ssl_host_state_delegate.h |
+++ b/content/public/browser/ssl_host_state_delegate.h |
@@ -31,10 +31,14 @@ class SSLHostStateDelegate { |
// Clear all allow/deny preferences. |
virtual void Clear() = 0; |
- // Queries whether |cert| is allowed or denied for |host| and |error|. |
- virtual net::CertPolicy::Judgment QueryPolicy(const std::string& host, |
- net::X509Certificate* cert, |
- net::CertStatus error) = 0; |
+ // Queries whether |cert| is allowed or denied for |host| and |error|. Returns |
+ // true in |expired_previous_decision| if a previous user decision expired |
+ // immediately prior to this query, otherwise false. |
+ virtual net::CertPolicy::Judgment QueryPolicy( |
+ const std::string& host, |
+ net::X509Certificate* cert, |
+ net::CertStatus error, |
+ bool* expired_previous_decision) = 0; |
// Revoke all allow/deny preferences for |host|. |
virtual void RevokeAllowAndDenyPreferences(const std::string& host) = 0; |