From e83ab824ad17110f59dda710fc4fc72420cfa9ef Mon Sep 17 00:00:00 2001 From: "ricea@chromium.org" Date: Tue, 11 Jun 2013 17:16:22 +0000 Subject: 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 --- content/common/websocket.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 content/common/websocket.h (limited to 'content/common/websocket.h') 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_ -- cgit v1.1