Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 4cc992cd3c2d59f789b43bf7a76da60f68139950..f58ea94d72c0fa6e121826b0ab0ee44ca56a481d 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -2539,7 +2539,8 @@ void RenderFrameHostImpl::NavigateToInterstitialURL(const GURL& data_url) { |
data_url, Referrer(), ui::PAGE_TRANSITION_LINK, |
FrameMsg_Navigate_Type::DIFFERENT_DOCUMENT, false, false, |
base::TimeTicks::Now(), FrameMsg_UILoadMetricsReportType::NO_REPORT, |
- GURL(), GURL(), PREVIEWS_OFF, base::TimeTicks::Now(), "GET", nullptr); |
+ GURL(), GURL(), PREVIEWS_OFF, base::TimeTicks::Now(), "GET", nullptr, |
+ false /* should_bypass_main_world_CSP */); |
if (IsBrowserSideNavigationEnabled()) { |
CommitNavigation(nullptr, nullptr, common_params, RequestNavigationParams(), |
false); |
@@ -2775,6 +2776,12 @@ void RenderFrameHostImpl::FailedNavigation( |
frame_tree_node_->ResetNavigationRequest(true); |
} |
+void RenderFrameHostImpl::ContentSecurityPolicyViolation( |
+ const CSPViolationParams& violation_params) { |
+ Send(new FrameMsg_ContentSecurityPolicyViolation(routing_id_, |
+ violation_params)); |
+} |
+ |
void RenderFrameHostImpl::SetUpMojoIfNeeded() { |
if (interface_registry_.get()) |
return; |