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 values. | 6 // inside a macro to generate enum values. |
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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 // The server's response was insecure (e.g. there was a cert error). | 665 // The server's response was insecure (e.g. there was a cert error). |
666 NET_ERROR(INSECURE_RESPONSE, -501) | 666 NET_ERROR(INSECURE_RESPONSE, -501) |
667 | 667 |
668 // The server responded to a <keygen> with a generated client cert that we | 668 // The server responded to a <keygen> with a generated client cert that we |
669 // don't have the matching private key for. | 669 // don't have the matching private key for. |
670 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 670 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
671 | 671 |
672 // An error adding to the OS certificate database (e.g. OS X Keychain). | 672 // An error adding to the OS certificate database (e.g. OS X Keychain). |
673 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 673 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
674 | 674 |
| 675 // An error indicating out-of-band data was received on a socket that does not |
| 676 // support it. |
| 677 NET_ERROR(OOB_DATA, -504) |
| 678 |
675 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** | 679 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** |
676 | 680 |
677 // A generic error for failed FTP control connection command. | 681 // A generic error for failed FTP control connection command. |
678 // If possible, please use or add a more specific error code. | 682 // If possible, please use or add a more specific error code. |
679 NET_ERROR(FTP_FAILED, -601) | 683 NET_ERROR(FTP_FAILED, -601) |
680 | 684 |
681 // The server cannot fulfill the request at this point. This is a temporary | 685 // The server cannot fulfill the request at this point. This is a temporary |
682 // error. | 686 // error. |
683 // FTP response code 421. | 687 // FTP response code 421. |
684 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602) | 688 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602) |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 NET_ERROR(DNS_TIMED_OUT, -803) | 779 NET_ERROR(DNS_TIMED_OUT, -803) |
776 | 780 |
777 // The entry was not found in cache, for cache-only lookups. | 781 // The entry was not found in cache, for cache-only lookups. |
778 NET_ERROR(DNS_CACHE_MISS, -804) | 782 NET_ERROR(DNS_CACHE_MISS, -804) |
779 | 783 |
780 // Suffix search list rules prevent resolution of the given host name. | 784 // Suffix search list rules prevent resolution of the given host name. |
781 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 785 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
782 | 786 |
783 // Failed to sort addresses according to RFC3484. | 787 // Failed to sort addresses according to RFC3484. |
784 NET_ERROR(DNS_SORT_ERROR, -806) | 788 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |