| Index: third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
|
| index c63eade189dd1d3a5ca00524640094c5aebdf3fa..5587c4696bd9c2429cee852e88622242e66190d1 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.h
|
| @@ -34,12 +34,11 @@ namespace blink {
|
|
|
| class ConsoleMessage;
|
| class ConsoleMessageStorage;
|
| -class V8RuntimeAgent;
|
| +class V8InspectorSession;
|
|
|
| class CORE_EXPORT InspectorConsoleAgent : public InspectorBaseAgent<InspectorConsoleAgent, protocol::Frontend::Console>, public protocol::Backend::Console {
|
| WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent);
|
| public:
|
| - InspectorConsoleAgent(V8RuntimeAgent*);
|
| ~InspectorConsoleAgent() override;
|
|
|
| void enable(ErrorString*) override;
|
| @@ -52,13 +51,14 @@ public:
|
| virtual void consoleMessagesCleared();
|
|
|
| protected:
|
| + explicit InspectorConsoleAgent(V8InspectorSession*);
|
| void sendConsoleMessageToFrontend(ConsoleMessage*, bool generatePreview);
|
| virtual ConsoleMessageStorage* messageStorage() = 0;
|
|
|
| virtual void enableStackCapturingIfNeeded() = 0;
|
| virtual void disableStackCapturingIfNeeded() = 0;
|
|
|
| - V8RuntimeAgent* m_runtimeAgent;
|
| + V8InspectorSession* m_v8Session;
|
| bool m_enabled;
|
| };
|
|
|
|
|