| Index: third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| index b8887d2f0ead0b7ebe9b4250babc7e5e7827d0ce..3be68c3ccd94a95474aa74ee4f4a895f724983e0 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| +++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| @@ -39,6 +39,7 @@
|
| #include "core/loader/FrameLoaderTypes.h"
|
| #include "core/loader/NavigationPolicy.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "platform/network/ContentSecurityPolicyParsers.h"
|
| #include "platform/network/ResourceLoadPriority.h"
|
| #include "platform/weborigin/Referrer.h"
|
| #include "public/platform/WebEffectiveConnectionType.h"
|
| @@ -220,6 +221,12 @@ public:
|
|
|
| virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { }
|
|
|
| + // Called when a new Content Security Policy is added to the frame's
|
| + // document. This can be triggered by handling of HTTP headers, handling
|
| + // of <meta> element, or by inheriting CSP from the parent (in case of
|
| + // about:blank).
|
| + virtual void didAddContentSecurityPolicy(const String& headerValue, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource) { }
|
| +
|
| virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
|
|
|
| virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
|
|
|