Index: Source/core/inspector/InspectorInstrumentation.idl |
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl |
index c199707729a01e830ab8f88f5daa980a63b2fe1a..1da686f281ba9516d22df1219e4327b10da7157d 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.idl |
+++ b/Source/core/inspector/InspectorInstrumentation.idl |
@@ -432,24 +432,21 @@ interface InspectorInstrumentation { |
interface InspectorConsoleInstrumentation { |
+#include "core/inspector/ConsoleMessage.h" |
+#include "core/inspector/InspectorAgent.h" |
#include "core/inspector/ScriptArguments.h" |
#include "core/inspector/ScriptCallStack.h" |
#include "core/inspector/ScriptProfile.h" |
- [Console, Debugger] // FIXME: Drop this once we no longer generate stacks outside of Inspector. |
- void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); |
- |
[Console, Debugger] |
- void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |
- |
- [Console] |
- void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lineNumber, unsigned columnNumber = 0, ScriptState* state = 0, unsigned long requestIdentifier = 0); |
+ void addMessageToConsole(Page*, PassOwnPtr<ConsoleMessage>, InspectorAgent::CheckFrontendBehavior); |
// FIXME: Convert to ScriptArguments to match non-worker context. |
- // Use the same implementation as above as a similar method dispatched on Page. |
+ [Console, Debugger] |
void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); |
// Use the same implementation as above as a similar method dispatched on Page. |
+ [Console] |
void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long requestIdentifier = 0); |
[Console] |