summaryrefslogtreecommitdiffstats
path: root/net/server/web_socket.h
diff options
context:
space:
mode:
authorloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-26 16:14:49 +0000
committerloislo@chromium.org <loislo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-26 16:14:49 +0000
commitc51ab1223baa573bd74182b6679e89e4e205fa11 (patch)
treee8de30be404926893a5e36d035f5ee792fa50a1a /net/server/web_socket.h
parenta89e09411e25b190474b01305fb6e562cd2361ba (diff)
downloadchromium_src-c51ab1223baa573bd74182b6679e89e4e205fa11.zip
chromium_src-c51ab1223baa573bd74182b6679e89e4e205fa11.tar.gz
chromium_src-c51ab1223baa573bd74182b6679e89e4e205fa11.tar.bz2
DevTools: web socket does not expect frames other than text.
BUG=97974 TEST=none Review URL: http://codereview.chromium.org/8043023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/server/web_socket.h')
-rw-r--r--net/server/web_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server/web_socket.h b/net/server/web_socket.h
index baed07c..66ad789 100644
--- a/net/server/web_socket.h
+++ b/net/server/web_socket.h
@@ -21,6 +21,7 @@ class WebSocket {
enum ParseResult {
FRAME_OK,
FRAME_INCOMPLETE,
+ FRAME_CLOSE,
FRAME_ERROR
};