projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
modules
/
websockets
/
WebSocket.h
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
(file)
--- 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> /* event */);
// Does nothing otherwise.
void dispatch(PassRefPtr<Event> /* event */);
+ bool isEmpty() const;
+
void suspend();
void resume();
void stop();
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);
// send() method after the state changed to CLOSING or CLOSED.
void updateBufferedAmountAfterClose(unsigned long);
+ void releaseChannel();
+
enum BinaryType {
BinaryTypeBlob,
BinaryTypeArrayBuffer
enum BinaryType {
BinaryTypeBlob,
BinaryTypeArrayBuffer