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

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

Issue 2401573003: CSP: Fix 'strict-dynamic' with multiple policies. (Closed)
Patch Set: Tests compile. 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/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index 2ee209ef6e86b6840dcfc367242d7ee117c2d69d..8c70a10fe33d26d09bbccad14ff762ac8b9e05a9 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -50,6 +50,7 @@ class CORE_EXPORT CSPDirectiveList
ContentSecurityPolicy::ReportingStatus) const;
bool allowInlineScript(const String& contextURL,
const String& nonce,
+ ParserDisposition,
const WTF::OrdinalNumber& contextLine,
ContentSecurityPolicy::ReportingStatus,
const String& scriptContent) const;
@@ -69,6 +70,7 @@ class CORE_EXPORT CSPDirectiveList
bool allowScriptFromSource(const KURL&,
const String& nonce,
+ ParserDisposition,
ResourceRequest::RedirectStatus,
ContentSecurityPolicy::ReportingStatus) const;
bool allowStyleFromSource(const KURL&,

Powered by Google App Engine
This is Rietveld 408576698