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

Unified Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 23971005: Show the mixed content shield UI even for HSTS hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_view_observer.cc
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc
index c24cf29907b9fae33cd8b7f0132cc35c754d46b8..59dfa8563b251b60e1a9b8573885e3e807e2e1e4 100644
--- a/chrome/renderer/chrome_render_view_observer.cc
+++ b/chrome/renderer/chrome_render_view_observer.cc
@@ -673,8 +673,7 @@ bool ChromeRenderViewObserver::allowDisplayingInsecureContent(
if (allowed_per_settings || allow_displaying_insecure_content_)
return true;
- if (!IsStrictSecurityHost(origin_host))
- Send(new ChromeViewHostMsg_DidBlockDisplayingInsecureContent(routing_id()));
+ Send(new ChromeViewHostMsg_DidBlockDisplayingInsecureContent(routing_id()));
return false;
}
@@ -738,8 +737,7 @@ bool ChromeRenderViewObserver::allowRunningInsecureContent(
SendInsecureContentSignal(INSECURE_CONTENT_RUN_SWF);
if (!allow_running_insecure_content_ && !allowed_per_settings) {
- if (!IsStrictSecurityHost(origin_host))
- content_settings_->DidNotAllowMixedScript();
+ content_settings_->DidNotAllowMixedScript();
return false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698