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

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

Issue 2519103005: Part 3.2: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: Splitting the tests 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/CSPSource.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.h b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
index b599e78f58e1635270fe7c19384e60bb2b1be1af..1d9387d3be82d075d194dcd7c33a9565a2ec68c1 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
@@ -57,6 +57,8 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> {
GetIntersectCSPSourcesSchemes);
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, GetSourceVector);
FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, OperativeDirectiveGivenType);
+ FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, SubsumesWithSelfSameOrigins);
+ FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, SubsumesWithSelfDifferentOrigins);
bool schemeMatches(const String&) const;
bool hostMatches(const String&) const;

Powered by Google App Engine
This is Rietveld 408576698