| Index: third_party/WebKit/public/web/WebLocalFrame.h
|
| diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
|
| index 3d93c037f2a8aac9401164b42d73a4e200442ecd..60c213187b0f03849c8306b28de150fac37a7189 100644
|
| --- a/third_party/WebKit/public/web/WebLocalFrame.h
|
| +++ b/third_party/WebKit/public/web/WebLocalFrame.h
|
| @@ -10,6 +10,8 @@
|
| #include "WebFrameLoadType.h"
|
| #include "WebHistoryItem.h"
|
| #include "public/platform/WebCachePolicy.h"
|
| +#include "public/platform/WebVector.h"
|
| +#include "public/web/WebContentSecurityPolicy.h"
|
|
|
| namespace blink {
|
|
|
| @@ -426,6 +428,20 @@ public:
|
| // coordinates.
|
| virtual void saveImageAt(const WebPoint&) = 0;
|
|
|
| + // Security ---------------------------------------------------------------
|
| +
|
| + // Report a Content Security Policy violation.
|
| + virtual void reportContentSecurityPolicyViolation(
|
| + const WebString& directiveText,
|
| + const WebString& effectiveDirective,
|
| + const WebString& consoleMessage,
|
| + const WebURL& blockedURL,
|
| + const WebVector<WebString>& reportEndpoints,
|
| + const WebString& header,
|
| + WebContentSecurityPolicyViolationType,
|
| + bool followedRedirect,
|
| + int contextLine) = 0;
|
| +
|
| protected:
|
| explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
|
|
|
|
|