OLD | NEW |
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 Loading... |
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 Loading... |
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) |
OLD | NEW |