summaryrefslogtreecommitdiff
path: root/chromium/content/common/websocket.h
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/content/common/websocket.h
downloadqtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz
Initial import.
Diffstat (limited to 'chromium/content/common/websocket.h')
-rw-r--r--chromium/content/common/websocket.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/content/common/websocket.h b/chromium/content/common/websocket.h
new file mode 100644
index 00000000000..3bc8a99532c
--- /dev/null
+++ b/chromium/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_