Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / websockets / WebSocket.h
index c930779..8186e8f 100644 (file)
@@ -136,6 +136,8 @@ private:
         // Does nothing otherwise.
         void dispatch(PassRefPtr<Event> /* event */);
 
+        bool isEmpty() const;
+
         void suspend();
         void resume();
         void stop();
@@ -180,6 +182,8 @@ private:
     // send() method after the state changed to CLOSING or CLOSED.
     void updateBufferedAmountAfterClose(unsigned long);
 
+    void releaseChannel();
+
     enum BinaryType {
         BinaryTypeBlob,
         BinaryTypeArrayBuffer