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

Unified Diff: content/common/websocket.h

Issue 12730003: Add IPC for new WebSocket impl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 7 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 | « content/common/content_message_generator.h ('k') | 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
new file mode 100644
index 0000000000000000000000000000000000000000..747da079cabb7f146beb724e9381ec6fb31f7e7a
--- /dev/null
+++ b/content/common/websocket.h
@@ -0,0 +1,18 @@
+// Copyright (c) 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 {
+
+enum WebSocketMessageType {
jam 2013/05/31 17:45:41 nit: add a comment describing this enum
Adam Rice 2013/06/07 07:39:49 Done.
+ kWebSocketContinuation = 0x0,
jam 2013/05/31 17:45:41 per http://www.chromium.org/developers/coding-styl
Adam Rice 2013/06/07 07:39:49 Done.
+ kWebSocketText = 0x1,
+ kWebSocketBinary = 0x2
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_WEBSOCKET_H_
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/websocket_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698