Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h

Issue 1666893003: [ABANDONED] WebSocket Blob receive in the browser process: renderer changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@websocket_blob_receive_host_merged
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698