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

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

Issue 2519103005: Part 3.2: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: Adding more tests 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/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index a8f8033d1b6fb05fd33dcbbe62904f64fcba8825..f2f3671052a24586e1052a4e3f4dcf2942c11815 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -352,6 +352,8 @@ class CORE_EXPORT ContentSecurityPolicy
bool shouldSendCSPHeader(Resource::Type) const;
+ CSPSource* getSelfSource() const { return m_selfSource; }
+
static bool shouldBypassMainWorld(const ExecutionContext*);
static bool isDirectiveName(const String&);

Powered by Google App Engine
This is Rietveld 408576698