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

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: 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
Index: content/browser/ssl/ssl_manager.cc
diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
index 4526ab3d13e622ed6a6437f776e42ec9eb153273..0fcb98872aefbd213e32c5f04f106054475a17ba 100644
--- a/content/browser/ssl/ssl_manager.cc
+++ b/content/browser/ssl/ssl_manager.cc
@@ -140,6 +140,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::DidLoadFromMemoryCache(
const LoadFromMemoryCacheDetails& details) {
// Simulate loading this resource through the usual path.

Powered by Google App Engine
This is Rietveld 408576698