| Index: Source/core/frame/ContentSecurityPolicy.h
|
| diff --git a/Source/core/frame/ContentSecurityPolicy.h b/Source/core/frame/ContentSecurityPolicy.h
|
| index e5cda96ed024846aa73d2db0630fed3111013450..dc07cf80f0bb1c2c04976cf9bc51b08567f85f07 100644
|
| --- a/Source/core/frame/ContentSecurityPolicy.h
|
| +++ b/Source/core/frame/ContentSecurityPolicy.h
|
| @@ -58,6 +58,28 @@ typedef Vector<OwnPtr<CSPDirectiveList> > CSPDirectiveListVector;
|
| class ContentSecurityPolicy {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| + // CSP 1.0 Directives
|
| + static const char ConnectSrc[];
|
| + static const char DefaultSrc[];
|
| + static const char FontSrc[];
|
| + static const char FrameSrc[];
|
| + static const char ImgSrc[];
|
| + static const char MediaSrc[];
|
| + static const char ObjectSrc[];
|
| + static const char ReportURI[];
|
| + static const char Sandbox[];
|
| + static const char ScriptSrc[];
|
| + static const char StyleSrc[];
|
| +
|
| + // CSP 1.1 Directives
|
| + static const char BaseURI[];
|
| + static const char ChildSrc[];
|
| + static const char FormAction[];
|
| + static const char FrameAncestors[];
|
| + static const char PluginTypes[];
|
| + static const char ReflectedXSS[];
|
| + static const char Referrer[];
|
| +
|
| static PassOwnPtr<ContentSecurityPolicy> create(ExecutionContextClient* client)
|
| {
|
| return adoptPtr(new ContentSecurityPolicy(client));
|
|
|