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

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 Created 4 years, 1 month 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..1b910b47ad3df13c5ebb7dd5590d27ff1eb7d73c 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
@@ -53,6 +53,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectCSPSources);
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest,
GetIntersectCSPSourcesSchemes);
+ FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, AllowAllInline);
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, GetSourceVector);
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, OperativeDirectiveGivenType);
@@ -97,6 +98,7 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective {
HeapVector<Member<CSPSource>> other);
HashMap<String, CSPSource*> getIntersectSchemesOnly(
HeapVector<Member<CSPSource>> other);
+ bool allowAllInline();
Member<ContentSecurityPolicy> m_policy;
HeapVector<Member<CSPSource>> m_list;

Powered by Google App Engine
This is Rietveld 408576698