Index: chrome/renderer/content_settings_observer.cc |
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc |
index de57921904d0b983a2cd5c1b5d662b108af3cb61..710def11e46ca93521122a7e63be18332fd5f317 100644 |
--- a/chrome/renderer/content_settings_observer.cc |
+++ b/chrome/renderer/content_settings_observer.cc |
@@ -389,6 +389,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) { |
@@ -412,6 +414,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)); |
} |