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

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

Issue 2401573003: CSP: Fix 'strict-dynamic' with multiple policies. (Closed)
Patch Set: Created 4 years, 2 months 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 2edfad207785f848e5a478aba4a0fed33b538789..a3dc7d9304ee72881f9607e94eeb4b4d8eed89f8 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -208,6 +208,7 @@ class CORE_EXPORT ContentSecurityPolicy
// represents an unnonced resource load.
bool allowScriptFromSource(const KURL&,
const String& nonce,
+ ParserDisposition,
RedirectStatus = RedirectStatus::NoRedirect,
ReportingStatus = SendReport) const;
bool allowStyleFromSource(const KURL&,
@@ -257,6 +258,7 @@ class CORE_EXPORT ContentSecurityPolicy
const KURL&,
const String& nonce,
const IntegrityMetadataSet&,
+ ParserDisposition,
RedirectStatus = RedirectStatus::NoRedirect,
ReportingStatus = SendReport) const;

Powered by Google App Engine
This is Rietveld 408576698