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 3de34623fe76b234227ea782ed00b2663ae41ad7..84c38af44fcf4e3d39552a4c4a431a4b717b857b 100644 |
--- a/content/browser/ssl/ssl_policy_backend.h |
+++ b/content/browser/ssl/ssl_policy_backend.h |
@@ -21,12 +21,19 @@ class CONTENT_EXPORT SSLPolicyBackend { |
public: |
explicit SSLPolicyBackend(NavigationControllerImpl* controller); |
- // Records that a host has run insecure content. |
+ // Records that a host has run mixed content loaded over HTTP. |
void HostRanInsecureContent(const std::string& host, int pid); |
- // Returns whether the specified host ran insecure content. |
+ // Returns whether the specified host ran insecure content loaded over HTTP. |
bool DidHostRunInsecureContent(const std::string& host, int pid) const; |
+ // Records that a host has run subresources loaded with certificate errors. |
+ void HostRanContentWithCertErrors(const std::string& host, int pid); |
+ |
+ // Returns whether the specified host ran subresources loaded with certificate |
+ // errors. |
+ bool DidHostRunContentWithCertErrors(const std::string& host, int pid) const; |
+ |
// Revokes all allow exceptions by the user for |host|. |
void RevokeUserAllowExceptions(const std::string& host); |