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

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

Issue 1641533006: CSP: Add an experimental 'unsafe-dynamic' source expression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Experiment. Created 4 years, 11 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/SourceListDirective.h
diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
index 9d68f06b9415decd175ae6b145592b20808f49cd..e38e68e7796f298e020ea82c95595a2e0bad7058 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
@@ -25,6 +25,7 @@ public:
bool allows(const KURL&, blink::ContentSecurityPolicy::RedirectStatus) const;
bool allowInline() const;
bool allowEval() const;
+ bool allowDynamic() const;
bool allowNonce(const String& nonce) const;
bool allowHash(const CSPHashValue&) const;
bool isHashOrNoncePresent() const;

Powered by Google App Engine
This is Rietveld 408576698