summaryrefslogtreecommitdiffstats
path: root/content/common/websocket.h
diff options
context:
space:
mode:
authorricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 17:16:22 +0000
committerricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 17:16:22 +0000
commite83ab824ad17110f59dda710fc4fc72420cfa9ef (patch)
tree1c67dcb80a6f92a61c9e832f75873627ab983c2c /content/common/websocket.h
parent6bf581148a5a7bf8f104a422ec53fb83534719aa (diff)
downloadchromium_src-e83ab824ad17110f59dda710fc4fc72420cfa9ef.zip
chromium_src-e83ab824ad17110f59dda710fc4fc72420cfa9ef.tar.gz
chromium_src-e83ab824ad17110f59dda710fc4fc72420cfa9ef.tar.bz2
Add IPC for new WebSocket impl.
Add a new set of IPCs for the new WebSocket implementation in chrome/net. BUG=241811 Review URL: https://chromiumcodereview.appspot.com/12730003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/websocket.h')
-rw-r--r--content/common/websocket.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/content/common/websocket.h b/content/common/websocket.h
new file mode 100644
index 0000000..3bc8a99
--- /dev/null
+++ b/content/common/websocket.h
@@ -0,0 +1,19 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_WEBSOCKET_H_
+#define CONTENT_COMMON_WEBSOCKET_H_
+
+namespace content {
+
+// WebSocket data message types sent between the browser and renderer processes.
+enum WebSocketMessageType {
+ WEB_SOCKET_MESSAGE_TYPE_CONTINUATION = 0x0,
+ WEB_SOCKET_MESSAGE_TYPE_TEXT = 0x1,
+ WEB_SOCKET_MESSAGE_TYPE_BINARY = 0x2
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_WEBSOCKET_H_