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

Side by Side Diff: net/websockets/websocket_mux.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/websockets/websocket_inflater_test.cc ('k') | net/websockets/websocket_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_WEBSOCKETS_WEBSOCKET_MUX_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_MUX_H_
7
8 namespace net {
9
10 // Reason codes used by the mux extension.
11 enum WebSocketMuxError {
12 // Codes starting with 2000 apply to the physical connection. They are used
13 // for dropping the control channel.
14 kWebSocketMuxErrorPhysicalConnectionFailed = 2000,
15 kWebSocketMuxErrorInvalidEncapsulatingMessage = 2001,
16 kWebSocketMuxErrorChannelIdTruncated = 2002,
17 kWebSocketMuxErrorEncapsulatedFrameIsTruncated = 2003,
18 kWebSocketMuxErrorUnknownMuxOpcode = 2004,
19 kWebSocketMuxErrorInvalidMuxControlBlock = 2005,
20 kWebSocketMuxErrorChannelAlreadyExists = 2006,
21 kWebSocketMuxErrorNewChannelSlotViolation = 2007,
22 kWebSocketMuxErrorNewChannelSlotOverflow = 2008,
23 kWebSocketMuxErrorBadRequest = 2009,
24 kWebSocketMuxErrorUnknownRequestEncoding = 2010,
25 kWebSocketMuxErrorBadResponse = 2011,
26 kWebSocketMuxErrorUnknownResponseEncoding = 2012,
27
28 // Codes starting with 3000 apply to the logical connection.
29 kWebSocketMuxErrorLogicalChannelFailed = 3000,
30 kWebSocketMuxErrorSendQuotaViolation = 3005,
31 kWebSocketMuxErrorSendQuotaOverflow = 3006,
32 kWebSocketMuxErrorIdleTimeout = 3007,
33 kWebSocketMuxErrorDropChannelAck = 3008,
34 kWebSocketMuxErrorBadFragmentation = 3009,
35 };
36
37 } // namespace net
38
39 #endif // NET_WEBSOCKETS_WEBSOCKET_MUX_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_inflater_test.cc ('k') | net/websockets/websocket_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698