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

Unified Diff: content/common/web_socket.h

Issue 12730003: Add IPC for new WebSocket impl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add "origin" to the arguments for a new channel. 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
Index: content/common/web_socket.h
diff --git a/content/common/web_socket.h b/content/common/web_socket.h
new file mode 100644
index 0000000000000000000000000000000000000000..45bc245d111b6cb67750eba53f1197b32934ceb9
--- /dev/null
+++ b/content/common/web_socket.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
tyoshino (SeeGerritForStatus) 2013/05/17 19:46:27 2013
Adam Rice 2013/05/20 03:56:20 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_WEB_SOCKET_H_
+#define CONTENT_COMMON_WEB_SOCKET_H_
+
+namespace content {
+
+enum WebSocketMessageType {
+ kWebSocketContinuation = 0x0,
+ kWebSocketText = 0x1,
+ kWebSocketBinary = 0x2
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_WEB_SOCKET_H_

Powered by Google App Engine
This is Rietveld 408576698