Index: content/browser/frame_host/render_frame_proxy_host.h |
diff --git a/content/browser/frame_host/render_frame_proxy_host.h b/content/browser/frame_host/render_frame_proxy_host.h |
index 8b123da3b34fd98665377cb59150f286bd7cc8b1..067aa1a6d4b622e8c2811e0fbbe04c5d01fa609e 100644 |
--- a/content/browser/frame_host/render_frame_proxy_host.h |
+++ b/content/browser/frame_host/render_frame_proxy_host.h |
@@ -18,6 +18,10 @@ |
struct FrameHostMsg_OpenURL_Params; |
struct FrameMsg_PostMessage_Params; |
+namespace url { |
+class Origin; |
+} // namespace url |
+ |
namespace content { |
class CrossProcessFrameConnector; |
@@ -26,6 +30,7 @@ class RenderProcessHost; |
class RenderFrameHostImpl; |
class RenderViewHostImpl; |
class RenderWidgetHostView; |
+struct ContentSecurityPolicyViolation; |
// When a page's frames are rendered by multiple processes, each renderer has a |
// full copy of the frame tree. It has full RenderFrames for the frames it is |
@@ -119,6 +124,9 @@ class RenderFrameProxyHost |
// IPC Message handlers. |
void OnDetach(); |
void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); |
+ void OnForwardContentSecurityPolicyViolation( |
+ const url::Origin& origin_declaring_violated_csp, |
+ const ContentSecurityPolicyViolation& violation); |
void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params); |
void OnDidChangeOpener(int32_t opener_routing_id); |
void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); |