| Index: Source/core/frame/csp/ContentSecurityPolicy.h
|
| diff --git a/Source/core/frame/csp/ContentSecurityPolicy.h b/Source/core/frame/csp/ContentSecurityPolicy.h
|
| index 001d1bdc45a4508c381924028c4740c0055111fa..5f660c42a1988573631d65289fd374145de92359 100644
|
| --- a/Source/core/frame/csp/ContentSecurityPolicy.h
|
| +++ b/Source/core/frame/csp/ContentSecurityPolicy.h
|
| @@ -86,6 +86,10 @@ public:
|
| static const char ReflectedXSS[];
|
| static const char Referrer[];
|
|
|
| + // Manifest Directives (to be merged into CSP 1.1)
|
| + // https://w3c.github.io/manifest/#content-security-policy
|
| + static const char ManifestSrc[];
|
| +
|
| enum ReportingStatus {
|
| SendReport,
|
| SuppressReport
|
| @@ -129,6 +133,8 @@ public:
|
| bool allowChildContextFromSource(const KURL&, ReportingStatus = SendReport) const;
|
| bool allowWorkerContextFromSource(const KURL&, ReportingStatus = SendReport) const;
|
|
|
| + bool allowManifestFromSource(const KURL&, ReportingStatus = SendReport) const;
|
| +
|
| // The nonce and hash allow functions are guaranteed to not have any side
|
| // effects, including reporting.
|
| // Nonce/Hash functions check all policies relating to use of a script/style
|
|
|