Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h

Issue 2480303002: CSP3: Implement 'worker-src'. (Closed)
Patch Set: feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index 2bb64ac2bdee10490151bc50fd90e9fd2532b70b..87ee339795f85923cf494622f90bf4d8ea47296d 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -92,9 +92,9 @@ class CORE_EXPORT ContentSecurityPolicy
static const char FrameAncestors[];
static const char PluginTypes[];
- // Manifest Directives (to be merged into CSP Level 2)
- // https://w3c.github.io/manifest/#content-security-policy
+ // CSP Level 3 Directives
static const char ManifestSrc[];
+ static const char WorkerSrc[];
// Mixed Content Directive
// https://w3c.github.io/webappsec/specs/mixedcontent/#strict-mode
@@ -182,9 +182,9 @@ class CORE_EXPORT ContentSecurityPolicy
bool allowObjectFromSource(const KURL&,
RedirectStatus = RedirectStatus::NoRedirect,
ReportingStatus = SendReport) const;
- bool allowChildFrameFromSource(const KURL&,
- RedirectStatus = RedirectStatus::NoRedirect,
- ReportingStatus = SendReport) const;
+ bool allowFrameFromSource(const KURL&,
+ RedirectStatus = RedirectStatus::NoRedirect,
+ ReportingStatus = SendReport) const;
bool allowImageFromSource(const KURL&,
RedirectStatus = RedirectStatus::NoRedirect,
ReportingStatus = SendReport) const;

Powered by Google App Engine
This is Rietveld 408576698