| Index: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
|
| diff --git a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
|
| index a14a36df4e31c660e846bc7029f694160fdaa460..17c8898d3afd2dd2f1fa5a3b975124718afa5c05 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
|
| +++ b/third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h
|
| @@ -76,6 +76,7 @@ public:
|
| ASSERT_NOT_REACHED();
|
| }
|
| void close(int code, const String& reason) override;
|
| + void changeBinaryType(BinaryType) override;
|
| void fail(const String& reason, MessageLevel, const String&, unsigned) override;
|
| void disconnect() override; // Will suppress didClose().
|
|
|
| @@ -99,6 +100,7 @@ public:
|
| void sendBinaryAsCharVector(PassOwnPtr<Vector<char>>);
|
| void sendBlob(PassRefPtr<BlobDataHandle>);
|
| void close(int code, const String& reason);
|
| + void changeBinaryType(BinaryType);
|
| void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
|
| void disconnect();
|
|
|
| @@ -107,7 +109,8 @@ public:
|
| // WebSocketChannelClient functions.
|
| void didConnect(const String& subprotocol, const String& extensions) override;
|
| void didReceiveTextMessage(const String& payload) override;
|
| - void didReceiveBinaryMessage(PassOwnPtr<Vector<char>>) override;
|
| + void didReceiveArrayBuffer(PassOwnPtr<Vector<char>>) override;
|
| + void didReceiveBlob(PassRefPtr<blink::BlobDataHandle>) override;
|
| void didConsumeBufferedAmount(uint64_t) override;
|
| void didStartClosingHandshake() override;
|
| void didClose(ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) override;
|
| @@ -134,6 +137,7 @@ public:
|
| void send(const DOMArrayBuffer&, unsigned byteOffset, unsigned byteLength);
|
| void send(PassRefPtr<BlobDataHandle>);
|
| void close(int code, const String& reason);
|
| + void changeBinaryType(BinaryType);
|
| void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
|
| void disconnect();
|
|
|
|
|