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

Unified Diff: Source/core/inspector/InspectorConsoleAgent.h

Issue 20191003: Route JS Error Info From Blink to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@gclient
Patch Set: Adam's requests Created 7 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/inspector/InspectorConsoleAgent.h
diff --git a/Source/core/inspector/InspectorConsoleAgent.h b/Source/core/inspector/InspectorConsoleAgent.h
index f233ddc595f32af10c85fc9bdc1bc37664ea1bf3..0b0cd95d99695ee25898d341c7c2b162a67f8b7d 100644
--- a/Source/core/inspector/InspectorConsoleAgent.h
+++ b/Source/core/inspector/InspectorConsoleAgent.h
@@ -29,6 +29,7 @@
#include "bindings/v8/ScriptState.h"
#include "bindings/v8/ScriptString.h"
#include "core/inspector/ConsoleAPITypes.h"
+#include "core/inspector/InspectorAgent.h"
#include "core/inspector/InspectorBaseAgent.h"
#include "core/page/ConsoleTypes.h"
#include "wtf/Forward.h"
@@ -75,6 +76,7 @@ public:
void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String& message, ScriptState*, PassRefPtr<ScriptArguments>, unsigned long requestIdentifier = 0);
void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String& message, const String& scriptId, unsigned lineNumber, unsigned columnNumber = 0, ScriptState* = 0, unsigned long requestIdentifier = 0);
+ void addMessageToConsole(PassOwnPtr<ConsoleMessage>, InspectorAgent::CheckFrontendBehavior);
// FIXME: Remove once we no longer generate stacks outside of Inspector.
void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String& message, PassRefPtr<ScriptCallStack>, unsigned long requestIdentifier = 0);

Powered by Google App Engine
This is Rietveld 408576698