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

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

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years 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 | « net/base/mock_host_resolver.cc ('k') | net/base/network_change_notifier.h » ('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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Not enough room left on the disk. 78 // Not enough room left on the disk.
79 NET_ERROR(FILE_NO_SPACE, -18) 79 NET_ERROR(FILE_NO_SPACE, -18)
80 80
81 // The file has a virus. 81 // The file has a virus.
82 NET_ERROR(FILE_VIRUS_INFECTED, -19) 82 NET_ERROR(FILE_VIRUS_INFECTED, -19)
83 83
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.
88 NET_ERROR(NETWORK_CHANGED, -21)
89
87 // A connection was closed (corresponding to a TCP FIN). 90 // A connection was closed (corresponding to a TCP FIN).
88 NET_ERROR(CONNECTION_CLOSED, -100) 91 NET_ERROR(CONNECTION_CLOSED, -100)
89 92
90 // A connection was reset (corresponding to a TCP RST). 93 // A connection was reset (corresponding to a TCP RST).
91 NET_ERROR(CONNECTION_RESET, -101) 94 NET_ERROR(CONNECTION_RESET, -101)
92 95
93 // A connection attempt was refused. 96 // A connection attempt was refused.
94 NET_ERROR(CONNECTION_REFUSED, -102) 97 NET_ERROR(CONNECTION_REFUSED, -102)
95 98
96 // A connection timed out as a result of not receiving an ACK for data sent. 99 // A connection timed out as a result of not receiving an ACK for data sent.
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 NET_ERROR(DNS_TIMED_OUT, -803) 652 NET_ERROR(DNS_TIMED_OUT, -803)
650 653
651 // The entry was not found in cache, for cache-only lookups. 654 // The entry was not found in cache, for cache-only lookups.
652 NET_ERROR(DNS_CACHE_MISS, -804) 655 NET_ERROR(DNS_CACHE_MISS, -804)
653 656
654 // Suffix search list rules prevent resolution of the given host name. 657 // Suffix search list rules prevent resolution of the given host name.
655 NET_ERROR(DNS_SEARCH_EMPTY, -805) 658 NET_ERROR(DNS_SEARCH_EMPTY, -805)
656 659
657 // Failed to sort addresses according to RFC3484. 660 // Failed to sort addresses according to RFC3484.
658 NET_ERROR(DNS_SORT_ERROR, -806) 661 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « net/base/mock_host_resolver.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698