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

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

Issue 711763002: bindings: Transition from ArrayBuffer to DOMArrayBuffer, part 2 (2nd round) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixes Win x64 build. Created 6 years, 1 month 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 8dbec98ffa93bdb41b0d7cfe174d20521a0c8b91..db20bf522bf2c9b797e74daeedaccb79949c4189 100644
--- a/Source/modules/websockets/WebSocketChannel.h
+++ b/Source/modules/websockets/WebSocketChannel.h
@@ -35,13 +35,13 @@
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
-#include "wtf/text/WTFString.h"
namespace blink {
class BlobDataHandle;
-class KURL;
+class DOMArrayBuffer;
class ExecutionContext;
+class KURL;
class WebSocketChannelClient;
// FIXME: WebSocketChannel needs to be RefCountedGarbageCollected to support manual ref/deref
@@ -74,7 +74,7 @@ public:
virtual bool connect(const KURL&, const String& protocol) = 0;
virtual void send(const String& message) = 0;
- virtual void send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength) = 0;
+ virtual void send(const DOMArrayBuffer&, unsigned byteOffset, unsigned byteLength) = 0;
virtual void send(PassRefPtr<BlobDataHandle>) = 0;
// For WorkerWebSocketChannel.
« no previous file with comments | « Source/modules/websockets/DocumentWebSocketChannelTest.cpp ('k') | Source/modules/websockets/WorkerWebSocketChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698