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

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

Issue 376213002: DevTools: Make FrameConsole methods accept ConsoleMessage objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scriptFailedToParse
Patch Set: Created 6 years, 5 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
Index: Source/core/frame/csp/CSPDirectiveList.h
diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h
index b33b18693ad7d170c17eb98efe9cd20aade0fda0..c98df1ef722eb00e9a8c3c69b81000953fe88505 100644
--- a/Source/core/frame/csp/CSPDirectiveList.h
+++ b/Source/core/frame/csp/CSPDirectiveList.h
@@ -19,6 +19,7 @@
namespace WebCore {
class ContentSecurityPolicy;
+class ScriptCallStack;
class CSPDirectiveList {
WTF_MAKE_FAST_ALLOCATED;
@@ -81,7 +82,7 @@ private:
SourceListDirective* operativeDirective(SourceListDirective*, SourceListDirective* override) const;
void reportViolation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL) const;
void reportViolationWithLocation(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, const String& contextURL, const WTF::OrdinalNumber& contextLine) const;
- void reportViolationWithState(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, ScriptState*) const;
+ void reportViolationWithStack(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, PassRefPtr<ScriptCallStack>) const;
bool checkEval(SourceListDirective*) const;
bool checkInline(SourceListDirective*) const;

Powered by Google App Engine
This is Rietveld 408576698