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

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

Issue 2474903002: Part 3.1: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: OperativeDirective test + other changes based on reviews 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/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 3753491eb454d578de228c3a73f50f197771bed7..214f9243b2c926e7d480a7c7455bdd74ee22758e 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
@@ -49,6 +49,8 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> {
private:
FRIEND_TEST_ALL_PREFIXES(CSPSourceTest, IsSimilar);
FRIEND_TEST_ALL_PREFIXES(SourceListDirectiveTest, GetIntersectCSPSources);
+ FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, GetSourceVector);
+ FRIEND_TEST_ALL_PREFIXES(CSPDirectiveListTest, OperativeDirectiveGivenType);
bool schemeMatches(const String&) const;
bool hostMatches(const String&) const;

Powered by Google App Engine
This is Rietveld 408576698