Index: chrome/renderer/content_settings_observer.cc |
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc |
index 3a696956517d71405d91a2af216ebeda22e939fe..0d63cee2ffd2068f10e2737a41c2693cfe10857c 100644 |
--- a/chrome/renderer/content_settings_observer.cc |
+++ b/chrome/renderer/content_settings_observer.cc |
@@ -390,6 +390,8 @@ bool ContentSettingsObserver::allowRunningInsecureContent( |
bool allowed_per_settings, |
const blink::WebSecurityOrigin& origin, |
const blink::WebURL& resource_url) { |
+ // Note: this implementation is a mirror of |
+ // Browser::ShouldAllowRunningInsecureContent. |
FilteredReportInsecureContentRan(GURL(resource_url)); |
if (!allow_running_insecure_content_ && !allowed_per_settings) { |
@@ -413,6 +415,8 @@ bool ContentSettingsObserver::allowAutoplay(bool default_value) { |
void ContentSettingsObserver::passiveInsecureContentFound( |
const blink::WebURL& resource_url) { |
+ // Note: this implementation is a mirror of |
+ // Browser::PassiveInsecureContentFound. |
ReportInsecureContent(SslInsecureContentType::DISPLAY); |
FilteredReportInsecureContentDisplayed(GURL(resource_url)); |
} |