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

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

Issue 2536713002: Part 3.3: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: Rebasing on master (that includes part3.2 changes) Created 4 years 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 56c7070a8ee3bf549617a31886b24202047a7fb7..fb105657160a316640a5cf8fe6d8b7daaa4c1747 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
@@ -45,6 +45,8 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
bool allowHashedAttributes() const;
bool isHashOrNoncePresent() const;
uint8_t hashAlgorithmsUsed() const;
+ bool allowAllInline();
+
// The algorothm is described more extensively here:
// https://w3c.github.io/webappsec-csp/embedded/#subsume-source-list
bool subsumes(HeapVector<Member<SourceListDirective>>);

Powered by Google App Engine
This is Rietveld 408576698