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

Unified Diff: Source/core/frame/csp/CSPSourceList.h

Issue 549163003: CSP: Change 'self' to ask the policy object whether a URL matches. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: httpfamily Created 6 years, 3 months 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 | « Source/core/frame/csp/CSPSource.cpp ('k') | Source/core/frame/csp/CSPSourceList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/csp/CSPSourceList.h
diff --git a/Source/core/frame/csp/CSPSourceList.h b/Source/core/frame/csp/CSPSourceList.h
index 982677dab352541cf6b918daf672339684ef4364..3f29a52214c228cbccf05b7522dff1ee6a8df944 100644
--- a/Source/core/frame/csp/CSPSourceList.h
+++ b/Source/core/frame/csp/CSPSourceList.h
@@ -51,6 +51,7 @@ private:
ContentSecurityPolicy* m_policy;
Vector<CSPSource> m_list;
String m_directiveName;
+ bool m_allowSelf;
bool m_allowStar;
bool m_allowInline;
bool m_allowEval;
« no previous file with comments | « Source/core/frame/csp/CSPSource.cpp ('k') | Source/core/frame/csp/CSPSourceList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698