Chromium Code Reviews| Index: Source/modules/websockets/NewWebSocketChannelImpl.h |
| diff --git a/Source/modules/websockets/NewWebSocketChannelImpl.h b/Source/modules/websockets/NewWebSocketChannelImpl.h |
| index fce2bfa09b6c3300064498f08831e7640918589f..b19627dacf89221def3042530215b165668c2b4f 100644 |
| --- a/Source/modules/websockets/NewWebSocketChannelImpl.h |
| +++ b/Source/modules/websockets/NewWebSocketChannelImpl.h |
| @@ -72,7 +72,7 @@ public: |
| virtual String extensions() OVERRIDE; |
| virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE; |
| virtual WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE; |
| - virtual WebSocketChannel::SendResult send(const Blob&) OVERRIDE; |
| + virtual WebSocketChannel::SendResult send(PassRefPtr<BlobDataHandle>) OVERRIDE; |
| virtual unsigned long bufferedAmount() const OVERRIDE; |
| // Start closing handshake. Use the CloseEventCodeNotSpecified for the code |
| // argument to omit payload. |
| @@ -102,11 +102,11 @@ private: |
| struct Message { |
| explicit Message(const String&); |
| - explicit Message(const Blob&); |
| + explicit Message(PassRefPtr<BlobDataHandle>); |
| explicit Message(PassRefPtr<ArrayBuffer>); |
| MessageType type; |
| CString text; |
| - RefPtr<Blob> blob; |
| + RefPtr<BlobDataHandle> blobData; |
|
kinuko
2013/09/30 11:31:53
nit: We also have a class named BlobData, and call
michaeln
2013/09/30 20:50:24
renamed to blobDataHandle
|
| RefPtr<ArrayBuffer> arrayBuffer; |
| }; |