Index: third_party/WebKit/public/web/WebRemoteFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebRemoteFrameClient.h b/third_party/WebKit/public/web/WebRemoteFrameClient.h |
index 6717d83f28879601f8bc8ba2e2712a07ae9dd98c..4203d4256a2d86112744067be8603a63fe4f920a 100644 |
--- a/third_party/WebKit/public/web/WebRemoteFrameClient.h |
+++ b/third_party/WebKit/public/web/WebRemoteFrameClient.h |
@@ -7,6 +7,7 @@ |
#include "public/platform/WebFocusType.h" |
#include "public/platform/WebSecurityOrigin.h" |
+#include "public/web/WebContentSecurityPolicy.h" |
#include "public/web/WebDOMMessageEvent.h" |
#include "public/web/WebFrame.h" |
@@ -58,6 +59,18 @@ public: |
// This frame was focused by another frame. |
virtual void frameFocused() { } |
+ |
+ // Forwards a Content Security Policy violation from a frame proxy to the |
+ // real frame. |
+ virtual void forwardContentSecurityPolicyViolation( |
+ const WebString& directiveText, |
+ const WebString& effectiveDirective, |
+ const WebString& consoleMessage, |
+ const WebURL& blockedURL, |
+ const WebVector<WebString>& reportEndpoints, |
+ const WebString& header, |
+ WebContentSecurityPolicyViolationType, |
+ bool followedRedirect) {} |
}; |
} // namespace blink |