X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fwebsockets%2FWebSocket.h;h=8186e8f20c023a2b157f7577ffc28053106fe9f4;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=c93077927616cb231b76a48f4d7fa0b426184b45;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/websockets/WebSocket.h b/src/third_party/WebKit/Source/modules/websockets/WebSocket.h index c930779..8186e8f 100644 --- a/src/third_party/WebKit/Source/modules/websockets/WebSocket.h +++ b/src/third_party/WebKit/Source/modules/websockets/WebSocket.h @@ -136,6 +136,8 @@ private: // Does nothing otherwise. void dispatch(PassRefPtr /* 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