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

Unified Diff: Source/modules/websockets/WebSocketChannel.h

Issue 23992003: blob hacking webcore style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: Source/modules/websockets/WebSocketChannel.h
diff --git a/Source/modules/websockets/WebSocketChannel.h b/Source/modules/websockets/WebSocketChannel.h
index 90b67a0bd0f97c0873eafa692ffbfe978e82416f..ca036ecae3e85da6e2308e729fb06f3908f111f4 100644
--- a/Source/modules/websockets/WebSocketChannel.h
+++ b/Source/modules/websockets/WebSocketChannel.h
@@ -39,7 +39,7 @@
namespace WebCore {
-class Blob;
+class BlobDataHandle;
class KURL;
class ScriptExecutionContext;
class WebSocketChannelClient;
@@ -80,7 +80,7 @@ public:
virtual String extensions() = 0; // Will be available after didConnect() callback is invoked.
virtual SendResult send(const String& message) = 0;
virtual SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) = 0;
- virtual SendResult send(const Blob&) = 0;
+ virtual SendResult send(PassRefPtr<BlobDataHandle>) = 0;
virtual unsigned long bufferedAmount() const = 0;
virtual void close(int code, const String& reason) = 0;

Powered by Google App Engine
This is Rietveld 408576698