| Index: third_party/WebKit/Source/core/inspector/InspectorSession.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.h b/third_party/WebKit/Source/core/inspector/InspectorSession.h
|
| index 6ffecf6c4379a251986c584fb5def570ba69ba59..861f75859ddcaaa212631c1f1a7c08a1a9d32cfb 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorSession.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorSession.h
|
| @@ -57,8 +57,11 @@ class CORE_EXPORT InspectorSession
|
|
|
| private:
|
| // protocol::FrontendChannel implementation.
|
| - void sendProtocolResponse(int callId, const String& message) override;
|
| - void sendProtocolNotification(const String& message) override;
|
| + void sendProtocolResponse(
|
| + int callId,
|
| + std::unique_ptr<protocol::Serializable> message) override;
|
| + void sendProtocolNotification(
|
| + std::unique_ptr<protocol::Serializable> message) override;
|
|
|
| // v8_inspector::V8Inspector::Channel implementation.
|
| void sendProtocolResponse(int callId,
|
| @@ -66,6 +69,8 @@ class CORE_EXPORT InspectorSession
|
| void sendProtocolNotification(
|
| const v8_inspector::StringView& message) override;
|
|
|
| + void sendProtocolResponse(int callId, const String& message);
|
| +
|
| Client* m_client;
|
| std::unique_ptr<v8_inspector::V8InspectorSession> m_v8Session;
|
| int m_sessionId;
|
| @@ -74,7 +79,8 @@ class CORE_EXPORT InspectorSession
|
| std::unique_ptr<protocol::UberDispatcher> m_inspectorBackendDispatcher;
|
| std::unique_ptr<protocol::DictionaryValue> m_state;
|
| HeapVector<Member<InspectorAgent>> m_agents;
|
| - Vector<String> m_notificationQueue;
|
| + class Notification;
|
| + Vector<std::unique_ptr<Notification>> m_notificationQueue;
|
| String m_lastSentState;
|
| };
|
|
|
|
|