Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: content/common/websocket.h

Issue 157023003: Use validating IPC enum macros in websocket messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/common/websocket_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/websocket.h
diff --git a/content/common/websocket.h b/content/common/websocket.h
index 98d75faf08e2d024da21005cf4d44afa1323c979..f6f8ddbeb904a8668e877e3306ce670ae04f101f 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.
« no previous file with comments | « no previous file | content/common/websocket_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698