OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 contains the list of network errors. | 5 // This file contains the list of network errors. |
6 | 6 |
7 // | 7 // |
8 // Ranges: | 8 // Ranges: |
9 // 0- 99 System related errors | 9 // 0- 99 System related errors |
10 // 100-199 Connection related errors | 10 // 100-199 Connection related errors |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // The operation failed because of unimplemented functionality. | 52 // The operation failed because of unimplemented functionality. |
53 NET_ERROR(NOT_IMPLEMENTED, -11) | 53 NET_ERROR(NOT_IMPLEMENTED, -11) |
54 | 54 |
55 // There were not enough resources to complete the operation. | 55 // There were not enough resources to complete the operation. |
56 NET_ERROR(INSUFFICIENT_RESOURCES, -12) | 56 NET_ERROR(INSUFFICIENT_RESOURCES, -12) |
57 | 57 |
58 // Memory allocation failed. | 58 // Memory allocation failed. |
59 NET_ERROR(OUT_OF_MEMORY, -13) | 59 NET_ERROR(OUT_OF_MEMORY, -13) |
60 | 60 |
| 61 // The file upload failed because the file's modification time was different |
| 62 // from the expectation. |
| 63 NET_ERROR(UPLOAD_FILE_CHANGED, -14) |
| 64 |
61 // A connection was closed (corresponding to a TCP FIN). | 65 // A connection was closed (corresponding to a TCP FIN). |
62 NET_ERROR(CONNECTION_CLOSED, -100) | 66 NET_ERROR(CONNECTION_CLOSED, -100) |
63 | 67 |
64 // A connection was reset (corresponding to a TCP RST). | 68 // A connection was reset (corresponding to a TCP RST). |
65 NET_ERROR(CONNECTION_RESET, -101) | 69 NET_ERROR(CONNECTION_RESET, -101) |
66 | 70 |
67 // A connection attempt was refused. | 71 // A connection attempt was refused. |
68 NET_ERROR(CONNECTION_REFUSED, -102) | 72 NET_ERROR(CONNECTION_REFUSED, -102) |
69 | 73 |
70 // A connection timed out as a result of not receiving an ACK for data sent. | 74 // A connection timed out as a result of not receiving an ACK for data sent. |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // The server responded to a <keygen> with a generated client cert that we | 358 // The server responded to a <keygen> with a generated client cert that we |
355 // don't have the matching private key for. | 359 // don't have the matching private key for. |
356 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 360 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
357 | 361 |
358 // An error adding to the OS certificate database (e.g. OS X Keychain). | 362 // An error adding to the OS certificate database (e.g. OS X Keychain). |
359 NET_ERROR(ERR_ADD_USER_CERT_FAILED, -503) | 363 NET_ERROR(ERR_ADD_USER_CERT_FAILED, -503) |
360 | 364 |
361 // | 365 // |
362 // The FTP PASV command failed. | 366 // The FTP PASV command failed. |
363 NET_ERROR(FTP_PASV_COMMAND_FAILED, -600) | 367 NET_ERROR(FTP_PASV_COMMAND_FAILED, -600) |
OLD | NEW |