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

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

Issue 2452903004: Part 2.2: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: After rebasing on part2.1 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 63e9cae422f94b43bb086747f19a0d9d10633831..8d9b0d8802c66c34796a2c73def60b56ee736971 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
@@ -38,6 +38,8 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> {
// Retrieve the most restrictive information from the two CSPSources if
// isSimilar is true for the two. Otherwise, return nullptr.
CSPSource* intersect(CSPSource*);
+ static bool firstSubsumesSecond(HeapVector<Member<CSPSource>>,
Mike West 2016/11/10 15:04:54 Why not just `std::vector<CSPSource*>`? Also, ple
+ HeapVector<Member<CSPSource>>);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698