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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Address jam@ comments; many minor code and comment updates. Created 3 years, 11 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
Index: content/browser/frame_host/render_frame_host_delegate.cc
diff --git a/content/browser/frame_host/render_frame_host_delegate.cc b/content/browser/frame_host/render_frame_host_delegate.cc
index 7410d178fa401ceba7e9c696637ae866a738cf68..3f825a05cc1da243ccec20a21c0b651c050bee99 100644
--- a/content/browser/frame_host/render_frame_host_delegate.cc
+++ b/content/browser/frame_host/render_frame_host_delegate.cc
@@ -93,4 +93,12 @@ RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) {
return nullptr;
}
+bool RenderFrameHostDelegate::ShouldAllowRunningInsecureContent(
+ bool allowed_per_settings,
+ const url::Origin& origin,
+ const GURL& resource_url,
+ WebContents* web_contents) {
+ return false;
jam 2017/01/12 01:39:00 nit: why not return allowed_per_settings?
carlosk 2017/01/12 17:44:02 My reasoning was: B) These methods were not requir
jam 2017/01/12 18:24:07 seems fair, we better not have this error in our i
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698