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

Side by Side Diff: net/base/net_error_list.h

Issue 10894004: Remove WebSocketServerSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove LIMIT_VIOLATION as well. Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/net.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum. 6 // inside a macro to generate enum.
7 7
8 // This file contains the list of network errors. 8 // This file contains the list of network errors.
9 9
10 // 10 //
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // valid, or the CSP won't allow arbitrary data to be signed. 239 // valid, or the CSP won't allow arbitrary data to be signed.
240 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141) 240 NET_ERROR(SSL_CLIENT_AUTH_SIGNATURE_FAILED, -141)
241 241
242 // The message was too large for the transport. (for example a UDP message 242 // The message was too large for the transport. (for example a UDP message
243 // which exceeds size threshold). 243 // which exceeds size threshold).
244 NET_ERROR(MSG_TOO_BIG, -142) 244 NET_ERROR(MSG_TOO_BIG, -142)
245 245
246 // A SPDY session already exists, and should be used instead of this connection. 246 // A SPDY session already exists, and should be used instead of this connection.
247 NET_ERROR(SPDY_SESSION_ALREADY_EXISTS, -143) 247 NET_ERROR(SPDY_SESSION_ALREADY_EXISTS, -143)
248 248
249 // Violation of limits (e.g. imposed to prevent DoS). 249 // Error -144 was removed (LIMIT_VIOLATION).
250 NET_ERROR(LIMIT_VIOLATION, -144)
251 250
252 // WebSocket protocol error occurred. 251 // Error -145 was removed (WS_PROTOCOL_ERROR).
253 NET_ERROR(WS_PROTOCOL_ERROR, -145)
254 252
255 // Connection was aborted for switching to another ptotocol. 253 // Connection was aborted for switching to another ptotocol.
256 // WebSocket abort SocketStream connection when alternate protocol is found. 254 // WebSocket abort SocketStream connection when alternate protocol is found.
257 NET_ERROR(PROTOCOL_SWITCHED, -146) 255 NET_ERROR(PROTOCOL_SWITCHED, -146)
258 256
259 // Returned when attempting to bind an address that is already in use. 257 // Returned when attempting to bind an address that is already in use.
260 NET_ERROR(ADDRESS_IN_USE, -147) 258 NET_ERROR(ADDRESS_IN_USE, -147)
261 259
262 // An operation failed because the SSL handshake has not completed. 260 // An operation failed because the SSL handshake has not completed.
263 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) 261 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148)
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 NET_ERROR(DNS_TIMED_OUT, -803) 649 NET_ERROR(DNS_TIMED_OUT, -803)
652 650
653 // The entry was not found in cache, for cache-only lookups. 651 // The entry was not found in cache, for cache-only lookups.
654 NET_ERROR(DNS_CACHE_MISS, -804) 652 NET_ERROR(DNS_CACHE_MISS, -804)
655 653
656 // Suffix search list rules prevent resolution of the given host name. 654 // Suffix search list rules prevent resolution of the given host name.
657 NET_ERROR(DNS_SEARCH_EMPTY, -805) 655 NET_ERROR(DNS_SEARCH_EMPTY, -805)
658 656
659 // Failed to sort addresses according to RFC3484. 657 // Failed to sort addresses according to RFC3484.
660 NET_ERROR(DNS_SORT_ERROR, -806) 658 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698