summaryrefslogtreecommitdiffstats
path: root/content/common/websocket.h
diff options
context:
space:
mode:
authortsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 21:58:33 +0000
committertsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 21:58:33 +0000
commit69c355d4f8883f4504fb7752f658918d528f55df (patch)
tree9b136a5380111a4a382af602fcd2f77624217bd3 /content/common/websocket.h
parent1f5f349865a574ddf9396d7be168b979b9f73592 (diff)
downloadchromium_src-69c355d4f8883f4504fb7752f658918d528f55df.zip
chromium_src-69c355d4f8883f4504fb7752f658918d528f55df.tar.gz
chromium_src-69c355d4f8883f4504fb7752f658918d528f55df.tar.bz2
Use validating IPC enum macros in websocket messages
This is part of a long-running background task to remove the remaining uses of the unchecked IPC_ENUM_TRAITS() macro. BUG=246708 Review URL: https://codereview.chromium.org/157023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/websocket.h')
-rw-r--r--content/common/websocket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/websocket.h b/content/common/websocket.h
index 98d75fa..f6f8ddb 100644
--- a/content/common/websocket.h
+++ b/content/common/websocket.h
@@ -18,7 +18,8 @@ namespace content {
enum WebSocketMessageType {
WEB_SOCKET_MESSAGE_TYPE_CONTINUATION = 0x0,
WEB_SOCKET_MESSAGE_TYPE_TEXT = 0x1,
- WEB_SOCKET_MESSAGE_TYPE_BINARY = 0x2
+ WEB_SOCKET_MESSAGE_TYPE_BINARY = 0x2,
+ WEB_SOCKET_MESSAGE_TYPE_LAST = WEB_SOCKET_MESSAGE_TYPE_BINARY
};
// Opening handshake request information which will be shown in the inspector.