Index: content/browser/ssl/ssl_policy_backend.h |
diff --git a/content/browser/ssl/ssl_policy_backend.h b/content/browser/ssl/ssl_policy_backend.h |
index 15ebe310a0e3c87e5abc8dd44ce49498a192bd3b..ed50c24de29e92b5493fbcd452e47a264c8cf646 100644 |
--- a/content/browser/ssl/ssl_policy_backend.h |
+++ b/content/browser/ssl/ssl_policy_backend.h |
@@ -27,6 +27,13 @@ class SSLPolicyBackend { |
// Returns whether the specified host ran insecure content. |
bool DidHostRunInsecureContent(const std::string& host, int pid) const; |
+ // Revokes all allow exceptions by the user for |host|. |
+ void RevokeUserAllowExceptions(const std::string& host); |
+ |
+ // Returns true if and only if a user exception has previously been made for |
+ // |host|. |
+ bool HasAllowException(const std::string& host); |
+ |
// Records that |cert| is permitted to be used for |host| in the future, for |
// a specific error type. |
void AllowCertForHost(const net::X509Certificate& cert, |