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

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

Issue 14666002: Adding ERR_SOCKET_IS_CONNECTED. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to origin/master 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/net_errors_posix.cc » ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // The client chose to block the request. 84 // The client chose to block the request.
85 NET_ERROR(BLOCKED_BY_CLIENT, -20) 85 NET_ERROR(BLOCKED_BY_CLIENT, -20)
86 86
87 // The network changed. 87 // The network changed.
88 NET_ERROR(NETWORK_CHANGED, -21) 88 NET_ERROR(NETWORK_CHANGED, -21)
89 89
90 // The request was blocked by the URL blacklist configured by the domain 90 // The request was blocked by the URL blacklist configured by the domain
91 // administrator. 91 // administrator.
92 NET_ERROR(BLOCKED_BY_ADMINISTRATOR, -22) 92 NET_ERROR(BLOCKED_BY_ADMINISTRATOR, -22)
93 93
94 // The socket is already connected.
95 NET_ERROR(SOCKET_IS_CONNECTED, -23)
96
94 // A connection was closed (corresponding to a TCP FIN). 97 // A connection was closed (corresponding to a TCP FIN).
95 NET_ERROR(CONNECTION_CLOSED, -100) 98 NET_ERROR(CONNECTION_CLOSED, -100)
96 99
97 // A connection was reset (corresponding to a TCP RST). 100 // A connection was reset (corresponding to a TCP RST).
98 NET_ERROR(CONNECTION_RESET, -101) 101 NET_ERROR(CONNECTION_RESET, -101)
99 102
100 // A connection attempt was refused. 103 // A connection attempt was refused.
101 NET_ERROR(CONNECTION_REFUSED, -102) 104 NET_ERROR(CONNECTION_REFUSED, -102)
102 105
103 // A connection timed out as a result of not receiving an ACK for data sent. 106 // A connection timed out as a result of not receiving an ACK for data sent.
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 NET_ERROR(DNS_TIMED_OUT, -803) 664 NET_ERROR(DNS_TIMED_OUT, -803)
662 665
663 // The entry was not found in cache, for cache-only lookups. 666 // The entry was not found in cache, for cache-only lookups.
664 NET_ERROR(DNS_CACHE_MISS, -804) 667 NET_ERROR(DNS_CACHE_MISS, -804)
665 668
666 // Suffix search list rules prevent resolution of the given host name. 669 // Suffix search list rules prevent resolution of the given host name.
667 NET_ERROR(DNS_SEARCH_EMPTY, -805) 670 NET_ERROR(DNS_SEARCH_EMPTY, -805)
668 671
669 // Failed to sort addresses according to RFC3484. 672 // Failed to sort addresses according to RFC3484.
670 NET_ERROR(DNS_SORT_ERROR, -806) 673 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/base/net_errors_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698