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

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

Issue 2442513004: Part 1.1: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: Getting rid of similarity 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b049bf6c87966def6e30c4eb3fb72696f106021d..62e306dfca1780c76e2efd2126213bbe3415ef95 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h
@@ -32,6 +32,11 @@ class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> {
ResourceRequest::RedirectStatus =
ResourceRequest::RedirectStatus::NoRedirect) const;
+ // Check whether this CSPSource is subsuming of a given CSPSource for a
jochen (gone - plz use gerrit) 2016/11/04 09:15:43 not sure whether subsuming *of* is correct english
Mike West 2016/11/04 09:48:10 I'd say "this CSPSource _subsumes_ a given CSPSour
+ // subsumption algorithm described here:
+ // https://w3c.github.io/webappsec-csp/embedded/#subsume-policy
+ bool isSubsumingOf(CSPSource*);
+
DECLARE_TRACE();
private:
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698