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

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

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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/DOMWebSocket.h
diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h
index c8b8f3b09d420abb56b2f7ad1146d645b388ee7a..7b483a0db699c07f3477242e6e07e9c6ad83fc3c 100644
--- a/Source/modules/websockets/DOMWebSocket.h
+++ b/Source/modules/websockets/DOMWebSocket.h
@@ -40,12 +40,13 @@
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "wtf/Deque.h"
-#include "wtf/Forward.h"
tyoshino (SeeGerritForStatus) 2014/10/16 06:39:15 Not only ArrayBuffer and ArrayBufferView but forwa
Yuki 2014/10/16 14:21:51 Done. Reverted this line.
#include "wtf/text/AtomicStringHash.h"
namespace blink {
class Blob;
+class DOMArrayBuffer;
+class DOMArrayBufferView;
class ExceptionState;
class DOMWebSocket : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<DOMWebSocket>, public EventTargetWithInlineData, public ActiveDOMObject, public WebSocketChannelClient {
@@ -72,8 +73,8 @@ public:
void connect(const String& url, const Vector<String>& protocols, ExceptionState&);
void send(const String& message, ExceptionState&);
- void send(ArrayBuffer*, ExceptionState&);
- void send(ArrayBufferView*, ExceptionState&);
+ void send(DOMArrayBuffer*, ExceptionState&);
+ void send(DOMArrayBufferView*, ExceptionState&);
void send(Blob*, ExceptionState&);
// To distinguish close method call with the code parameter from one

Powered by Google App Engine
This is Rietveld 408576698