Index: Source/modules/websockets/MainThreadWebSocketChannel.h |
diff --git a/Source/modules/websockets/MainThreadWebSocketChannel.h b/Source/modules/websockets/MainThreadWebSocketChannel.h |
index 7da5c1eac6cc6c298855cd36c7d6563edf1454c8..c085c0c727d54387b8253062d663b60e0e89039a 100644 |
--- a/Source/modules/websockets/MainThreadWebSocketChannel.h |
+++ b/Source/modules/websockets/MainThreadWebSocketChannel.h |
@@ -50,7 +50,7 @@ |
namespace WebCore { |
-class Blob; |
+class BlobDataHandle; |
class Document; |
class FileReaderLoader; |
class SocketStreamHandle; |
@@ -75,7 +75,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. |
@@ -140,11 +140,11 @@ private: |
// Only one of the following items is used, according to the value of frameType. |
CString stringData; |
Vector<char> vectorData; |
- RefPtr<Blob> blobData; |
+ RefPtr<BlobDataHandle> blobData; |
}; |
void enqueueTextFrame(const CString&); |
void enqueueRawFrame(WebSocketFrame::OpCode, const char* data, size_t dataLength); |
- void enqueueBlobFrame(WebSocketFrame::OpCode, const Blob&); |
+ void enqueueBlobFrame(WebSocketFrame::OpCode, PassRefPtr<BlobDataHandle>); |
void failAsError(const String& reason) { fail(reason, ErrorMessageLevel, m_sourceURLAtConnection, m_lineNumberAtConnection); } |
void processOutgoingFrameQueue(); |