Index: chrome/renderer/content_settings_observer.cc |
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc |
index 0c98a21b0dbeee2400d5832d7ae82c6826f87f1d..bda8c967df3de912d6885f9a4e2f82fc024dbb60 100644 |
--- a/chrome/renderer/content_settings_observer.cc |
+++ b/chrome/renderer/content_settings_observer.cc |
@@ -399,6 +399,8 @@ bool ContentSettingsObserver::allowMutationEvents(bool default_value) { |
bool ContentSettingsObserver::allowDisplayingInsecureContent( |
bool allowed_per_settings, |
const blink::WebURL& resource_url) { |
+ // Note: this implementation is a mirror of |
+ // ChromeContentBrowserClient::ShouldAllowDisplayingInsecureContent |
ReportInsecureContent(SslInsecureContentType::DISPLAY); |
FilteredReportInsecureContentDisplayed(GURL(resource_url)); |
@@ -414,6 +416,8 @@ bool ContentSettingsObserver::allowRunningInsecureContent( |
bool allowed_per_settings, |
const blink::WebSecurityOrigin& origin, |
const blink::WebURL& resource_url) { |
+ // Note: this implementation is a mirror of |
+ // ChromeContentBrowserClient::ShouldAllowRunningInsecureContent |
FilteredReportInsecureContentRan(GURL(resource_url)); |
if (!allow_running_insecure_content_ && !allowed_per_settings) { |