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

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

Issue 1923273002: CSP: Allow hashed inline event handlers only with 'unsafe-hashed-attributes' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 97adb21d5683aa30ea76bbd761026c8f74b3bf6b..d00ee36ddb4db5e16331543fcc25b1021d41dee7 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
@@ -29,6 +29,7 @@ public:
bool allowDynamic() const;
bool allowNonce(const String& nonce) const;
bool allowHash(const CSPHashValue&) const;
+ bool allowHashedAttributes() const;
bool isHashOrNoncePresent() const;
uint8_t hashAlgorithmsUsed() const;

Powered by Google App Engine
This is Rietveld 408576698