| Index: WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h
|
| ===================================================================
|
| --- WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h (revision 132804)
|
| +++ WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h (working copy)
|
| @@ -67,7 +67,7 @@
|
| virtual String extensions() OVERRIDE;
|
| virtual ThreadableWebSocketChannel::SendResult send(const String& message) OVERRIDE;
|
| virtual ThreadableWebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) OVERRIDE;
|
| - virtual ThreadableWebSocketChannel::SendResult send(const Blob&) OVERRIDE;
|
| + virtual ThreadableWebSocketChannel::SendResult send(const Blob&) OVERRIDE; // TODO: change the API to send(BlobDataHandle*)
|
| virtual unsigned long bufferedAmount() const OVERRIDE;
|
| virtual void close(int code, const String& reason) OVERRIDE;
|
| virtual void fail(const String& reason) OVERRIDE;
|
| @@ -172,7 +172,8 @@
|
| static void mainThreadConnect(ScriptExecutionContext*, Peer*, const KURL&, const String& protocol);
|
| static void mainThreadSend(ScriptExecutionContext*, Peer*, const String& message);
|
| static void mainThreadSendArrayBuffer(ScriptExecutionContext*, Peer*, PassOwnPtr<Vector<char> >);
|
| - static void mainThreadSendBlob(ScriptExecutionContext*, Peer*, const KURL&, const String& type, long long size);
|
| + // TODO: Param s/b PassRefPtr<BlobDataHandle> instead of uuid
|
| + static void mainThreadSendBlob(ScriptExecutionContext*, Peer*, const String& uuid, const String& type, long long size);
|
| static void mainThreadBufferedAmount(ScriptExecutionContext*, Peer*);
|
| static void mainThreadClose(ScriptExecutionContext*, Peer*, int code, const String& reason);
|
| static void mainThreadFail(ScriptExecutionContext*, Peer*, const String& reason);
|
|
|