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

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

Issue 184343002: Extract MediaListDirective and SourceListDirective from ContentSecurityPolicy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback Created 6 years, 10 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/CSPSourceList.h ('k') | Source/core/frame/csp/MediaListDirective.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/csp/CSPSourceList.cpp
diff --git a/Source/core/frame/csp/CSPSourceList.cpp b/Source/core/frame/csp/CSPSourceList.cpp
index 623186519549ff0b5b46ddebcc6bd4195c7ea0e3..304f6a9bd3df3e04bf036edb912a7c852b23a4bf 100644
--- a/Source/core/frame/csp/CSPSourceList.cpp
+++ b/Source/core/frame/csp/CSPSourceList.cpp
@@ -71,7 +71,7 @@ CSPSourceList::CSPSourceList(ContentSecurityPolicy* policy, const String& direct
{
}
-bool CSPSourceList::matches(const KURL& url)
+bool CSPSourceList::matches(const KURL& url) const
{
if (m_allowStar)
return true;
« no previous file with comments | « Source/core/frame/csp/CSPSourceList.h ('k') | Source/core/frame/csp/MediaListDirective.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698