| 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 ecc64b96794eba6890ce914bebbb8ad09bbb6893..31bd004eb5871ed4e500fe6a169b234a2d3a24bd 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
|
| @@ -45,10 +45,12 @@ class CORE_EXPORT CSPDirectiveList
|
| }
|
|
|
| bool allowJavaScriptURLs(Element*,
|
| + const String& source,
|
| const String& contextURL,
|
| const WTF::OrdinalNumber& contextLine,
|
| ContentSecurityPolicy::ReportingStatus) const;
|
| bool allowInlineEventHandlers(Element*,
|
| + const String& source,
|
| const String& contextURL,
|
| const WTF::OrdinalNumber& contextLine,
|
| ContentSecurityPolicy::ReportingStatus) 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,
|
|
|