Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
index 44b9ccb34b88009d2916a782b23ad496944014ba..970353b8750518980ba92ee005fd349908704ad4 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h |
@@ -46,10 +46,12 @@ class CORE_EXPORT CSPDirectiveList |
} |
bool allowJavaScriptURLs(Element*, |
+ const String& source, |
const String& contextURL, |
const WTF::OrdinalNumber& contextLine, |
SecurityViolationReportingPolicy) const; |
bool allowInlineEventHandlers(Element*, |
+ const String& source, |
const String& contextURL, |
const WTF::OrdinalNumber& contextLine, |
SecurityViolationReportingPolicy) const; |
@@ -226,7 +228,8 @@ class CORE_EXPORT CSPDirectiveList |
const KURL& blockedURL, |
const String& contextURL, |
const WTF::OrdinalNumber& contextLine, |
- Element*) const; |
+ Element*, |
+ const String& source) const; |
void reportViolationWithState( |
const String& directiveText, |
const ContentSecurityPolicy::DirectiveType&, |
@@ -262,6 +265,7 @@ class CORE_EXPORT CSPDirectiveList |
bool checkInlineAndReportViolation(SourceListDirective*, |
const String& consoleMessage, |
Element*, |
+ const String& source, |
const String& contextURL, |
const WTF::OrdinalNumber& contextLine, |
bool isScript, |