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

Unified Diff: content/browser/ssl/ssl_manager.cc

Issue 2226363002: Track subresources with cert errors separately from mixed content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments 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.h ('k') | content/browser/ssl/ssl_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_manager.cc
diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
index f50efb23689b14011ffb375f25577844c4376c0c..cb2e54037e25e22c0e7011b63485a50f8b7ee008 100644
--- a/content/browser/ssl/ssl_manager.cc
+++ b/content/browser/ssl/ssl_manager.cc
@@ -166,6 +166,12 @@ void SSLManager::DidRunInsecureContent(const GURL& security_origin) {
UpdateEntry(navigation_entry);
}
+void SSLManager::DidRunContentWithCertErrors(const GURL& security_origin) {
+ NavigationEntryImpl* navigation_entry = controller_->GetLastCommittedEntry();
+ policy()->DidRunContentWithCertErrors(navigation_entry, security_origin);
+ UpdateEntry(navigation_entry);
+}
+
void SSLManager::DidStartResourceResponse(
const ResourceRequestDetails& details) {
// Notify our policy that we started a resource request. Ideally, the
« no previous file with comments | « content/browser/ssl/ssl_manager.h ('k') | content/browser/ssl/ssl_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698