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

Unified Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.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/DocumentWebSocketChannel.h
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
index a8df49bbf15fcd04aece638890cdf5893fc5e406..bdad718d000834d59ee10f82e16d803ce704853d 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -84,6 +84,7 @@ public:
// Start closing handshake. Use the CloseEventCodeNotSpecified for the code
// argument to omit payload.
void close(int code, const String& reason) override;
+ void changeBinaryType(BinaryType) override;
void fail(const String& reason, MessageLevel, const String&, unsigned lineNumber) override;
void disconnect() override;
@@ -140,6 +141,7 @@ private:
void didFinishOpeningHandshake(WebSocketHandle*, const WebSocketHandshakeResponseInfo&) override;
void didFail(WebSocketHandle*, const WebString& message) override;
void didReceiveData(WebSocketHandle*, bool fin, WebSocketHandle::MessageType, const char* data, size_t /* size */) override;
+ void didReceiveBlob(WebSocketHandle*, const WebString& uuid, uint64_t size) override;
void didClose(WebSocketHandle*, bool wasClean, unsigned short code, const WebString& reason) override;
void didReceiveFlowControl(WebSocketHandle*, int64_t quota) override;
void didStartClosingHandshake(WebSocketHandle*) override;

Powered by Google App Engine
This is Rietveld 408576698