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

Unified Diff: content/browser/ssl/ssl_policy.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/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_policy.h
diff --git a/content/browser/ssl/ssl_policy.h b/content/browser/ssl/ssl_policy.h
index 8df01a16e96b43dd213fc0c5ae76be34bbd0dbc9..cca216cf6af233c7add8be1c669d6a05c328a0c4 100644
--- a/content/browser/ssl/ssl_policy.h
+++ b/content/browser/ssl/ssl_policy.h
@@ -34,9 +34,16 @@ class SSLPolicy {
// An error occurred with the certificate in an SSL connection.
void OnCertError(SSLCertErrorHandler* handler);
+ // Updates the policy backend to reflect that |security_origin| has
+ // run content loaded over a nonsecure (HTTP) connection.
void DidRunInsecureContent(NavigationEntryImpl* entry,
const GURL& security_origin);
+ // Updates the policy backend to reflect that |security_origin| has
+ // run content loaded over HTTPS with certificate errors.
+ void DidRunContentWithCertificateErrors(NavigationEntryImpl* entry,
+ const GURL& security_origin);
+
// We have started a resource request for |url| with the given |cert_id| and
// |cert_status|.
void OnRequestStarted(const GURL& url,
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698