| Index: include/v8-inspector.h
|
| diff --git a/include/v8-inspector.h b/include/v8-inspector.h
|
| index c367451cbc6780115c86d54c2b3fa7fd30733d83..d0925adba0460c0812245eff99e50401572f73ed 100644
|
| --- a/include/v8-inspector.h
|
| +++ b/include/v8-inspector.h
|
| @@ -248,15 +248,9 @@ class V8_EXPORT V8Inspector {
|
| class V8_EXPORT Channel {
|
| public:
|
| virtual ~Channel() {}
|
| - virtual void sendProtocolResponse(int callId, const StringView& message) {}
|
| - virtual void sendProtocolNotification(const StringView& message) {}
|
| virtual void sendResponse(int callId,
|
| - std::unique_ptr<StringBuffer> message) {
|
| - sendProtocolResponse(callId, message->string());
|
| - }
|
| - virtual void sendNotification(std::unique_ptr<StringBuffer> message) {
|
| - sendProtocolNotification(message->string());
|
| - }
|
| + std::unique_ptr<StringBuffer> message) = 0;
|
| + virtual void sendNotification(std::unique_ptr<StringBuffer> message) = 0;
|
| virtual void flushProtocolNotifications() = 0;
|
| };
|
| virtual std::unique_ptr<V8InspectorSession> connect(
|
|
|