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

Side by Side Diff: content/common/websocket_messages.h

Issue 655253006: Remove old WebSocket implementation from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/common/socket_stream_messages.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 // This file defines the IPCs for the browser-side implementation of 7 // This file defines the IPCs for the browser-side implementation of
8 // WebSockets. For the legacy renderer-side implementation, see 8 // WebSockets.
9 // socket_stream_messages.h.
10 // TODO(ricea): Fix this comment when the legacy implementation has been
11 // removed.
12 // 9 //
13 // This IPC interface is based on the WebSocket multiplexing draft spec, 10 // This IPC interface is based on the WebSocket multiplexing draft spec,
14 // http://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09 11 // http://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09
15 12
16 #include <string> 13 #include <string>
17 #include <vector> 14 #include <vector>
18 15
19 #include "base/basictypes.h" 16 #include "base/basictypes.h"
20 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
21 #include "content/common/websocket.h" 18 #include "content/common/websocket.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // closing handshake and the renderer cannot accept any new messages on this 148 // closing handshake and the renderer cannot accept any new messages on this
152 // connection. 149 // connection.
153 IPC_MESSAGE_ROUTED3(WebSocketMsg_DropChannel, 150 IPC_MESSAGE_ROUTED3(WebSocketMsg_DropChannel,
154 bool /* was_clean */, 151 bool /* was_clean */,
155 unsigned short /* code */, 152 unsigned short /* code */,
156 std::string /* reason */) 153 std::string /* reason */)
157 154
158 // Notify the renderer that a closing handshake has been initiated by the 155 // Notify the renderer that a closing handshake has been initiated by the
159 // server, so that it can set the Javascript readyState to CLOSING. 156 // server, so that it can set the Javascript readyState to CLOSING.
160 IPC_MESSAGE_ROUTED0(WebSocketMsg_NotifyClosing) 157 IPC_MESSAGE_ROUTED0(WebSocketMsg_NotifyClosing)
OLDNEW
« no previous file with comments | « content/common/socket_stream_messages.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698