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

Unified Diff: content/public/browser/ssl_host_state_delegate.h

Issue 2226523002: Add separate plumbing for subresources with certificate errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 months 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b06b40858fedc0f7edc64bf805967f8f558e4dcc..69a4a60667f859f3860d2c0d102c5d642242d4a4 100644
--- a/content/public/browser/ssl_host_state_delegate.h
+++ b/content/public/browser/ssl_host_state_delegate.h
@@ -48,13 +48,23 @@ class SSLHostStateDelegate {
net::CertStatus error,
bool* expired_previous_decision) = 0;
- // Records that a host has run insecure content.
+ // Records that a host has run insecure (HTTP) content.
virtual void HostRanInsecureContent(const std::string& host, int pid) = 0;
- // Returns whether the specified host ran insecure content.
+ // Returns whether the specified host ran insecure (HTTP) content.
virtual bool DidHostRunInsecureContent(const std::string& host,
int pid) const = 0;
+ // Records that a host has run content loaded over HTTPS with certificate
+ // errors.
+ virtual void HostRanContentWithCertificateErrors(const std::string& host,
+ int pid) = 0;
+
+ // Returns whether the specified host ran content loaded over HTTPS with
+ // certificate errors.
+ virtual bool DidHostRunContentWithCertificateErrors(const std::string& host,
+ int pid) const = 0;
+
// Revokes all SSL certificate error allow exceptions made by the user for
// |host|.
virtual void RevokeUserAllowExceptions(const std::string& host) = 0;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698