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

Unified Diff: third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.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/WebSocketChannelClient.h
diff --git a/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h b/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
index 3777408a94bf73a68e31f78deee5b19948059344..b477722563ae67a366b59958d4581e3043b801e5 100644
--- a/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
+++ b/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
@@ -40,12 +40,15 @@
namespace blink {
+class BlobDataHandle;
+
class MODULES_EXPORT WebSocketChannelClient : public GarbageCollectedMixin {
public:
virtual ~WebSocketChannelClient() { }
virtual void didConnect(const String& subprotocol, const String& extensions) { }
virtual void didReceiveTextMessage(const String&) { }
- virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char>>) { }
+ virtual void didReceiveArrayBuffer(PassOwnPtr<Vector<char>>) { }
+ virtual void didReceiveBlob(PassRefPtr<BlobDataHandle>) { }
virtual void didError() { }
virtual void didConsumeBufferedAmount(uint64_t consumed) { }
virtual void didStartClosingHandshake() { }

Powered by Google App Engine
This is Rietveld 408576698