| Index: third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| diff --git a/third_party/inspector_protocol/lib/DispatcherBase_h.template b/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| index 9838637c59340ed91dbcc0aad51b7697cf5373bf..30271b03afe80df17967d3b0c590ac201c986914 100644
|
| --- a/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| +++ b/third_party/inspector_protocol/lib/DispatcherBase_h.template
|
| @@ -125,6 +125,24 @@ private:
|
| protocol::HashMap<String, std::unique_ptr<protocol::DispatcherBase>> m_dispatchers;
|
| };
|
|
|
| +class InternalResponse : public Serializable {
|
| + PROTOCOL_DISALLOW_COPY(InternalResponse);
|
| +public:
|
| + static std::unique_ptr<InternalResponse> createResponse(int callId, std::unique_ptr<Serializable> params);
|
| + static std::unique_ptr<InternalResponse> createNotification(const String& notification, std::unique_ptr<Serializable> params = nullptr);
|
| +
|
| + String serialize() override;
|
| +
|
| + ~InternalResponse() override {}
|
| +
|
| +private:
|
| + InternalResponse(int callId, const String& notification, std::unique_ptr<Serializable> params);
|
| +
|
| + int m_callId;
|
| + String m_notification;
|
| + std::unique_ptr<Serializable> m_params;
|
| +};
|
| +
|
| {% for namespace in config.protocol.namespace %}
|
| } // namespace {{namespace}}
|
| {% endfor %}
|
|
|