Index: chrome/renderer/content_settings_observer.cc |
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc |
index 34608a6daaf4291f00cce463d3034ab5405ff613..1f540add83c2e5d17c7176d24357a4df3425a48f 100644 |
--- a/chrome/renderer/content_settings_observer.cc |
+++ b/chrome/renderer/content_settings_observer.cc |
@@ -406,6 +406,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) { |
@@ -429,6 +431,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)); |
} |