| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 | 567 |
| 568 // PKCS #12 import failed due to invalid MAC. | 568 // PKCS #12 import failed due to invalid MAC. |
| 569 NET_ERROR(PKCS12_IMPORT_INVALID_MAC, -707) | 569 NET_ERROR(PKCS12_IMPORT_INVALID_MAC, -707) |
| 570 | 570 |
| 571 // PKCS #12 import failed due to invalid/corrupt file. | 571 // PKCS #12 import failed due to invalid/corrupt file. |
| 572 NET_ERROR(PKCS12_IMPORT_INVALID_FILE, -708) | 572 NET_ERROR(PKCS12_IMPORT_INVALID_FILE, -708) |
| 573 | 573 |
| 574 // PKCS #12 import failed due to unsupported features. | 574 // PKCS #12 import failed due to unsupported features. |
| 575 NET_ERROR(PKCS12_IMPORT_UNSUPPORTED, -709) | 575 NET_ERROR(PKCS12_IMPORT_UNSUPPORTED, -709) |
| 576 | 576 |
| 577 // Key generation failed. |
| 578 NET_ERROR(KEY_GENERATION_FAILED, -710) |
| 579 |
| 580 // Origin-bound certificate generation failed. |
| 581 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) |
| 582 |
| 583 // Failure to export private key. |
| 584 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) |
| 585 |
| 586 // Failure to get certificate bytes. |
| 587 NET_ERROR(GET_CERT_BYTES_FAILED, -713) |
| 588 |
| 577 // DNS error codes. | 589 // DNS error codes. |
| 578 | 590 |
| 579 // DNS resolver received a malformed response. | 591 // DNS resolver received a malformed response. |
| 580 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 592 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
| 581 | 593 |
| 582 // DNS server requires TCP | 594 // DNS server requires TCP |
| 583 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 595 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
| 584 | 596 |
| 585 // DNS server failed. This error is returned for all of the following | 597 // DNS server failed. This error is returned for all of the following |
| 586 // error conditions: | 598 // error conditions: |
| 587 // 1 - Format error - The name server was unable to interpret the query. | 599 // 1 - Format error - The name server was unable to interpret the query. |
| 588 // 2 - Server failure - The name server was unable to process this query | 600 // 2 - Server failure - The name server was unable to process this query |
| 589 // due to a problem with the name server. | 601 // due to a problem with the name server. |
| 590 // 4 - Not Implemented - The name server does not support the requested | 602 // 4 - Not Implemented - The name server does not support the requested |
| 591 // kind of query. | 603 // kind of query. |
| 592 // 5 - Refused - The name server refuses to perform the specified | 604 // 5 - Refused - The name server refuses to perform the specified |
| 593 // operation for policy reasons. | 605 // operation for policy reasons. |
| 594 NET_ERROR(DNS_SERVER_FAILED, -802) | 606 NET_ERROR(DNS_SERVER_FAILED, -802) |
| 595 | 607 |
| 596 // DNS transaction timed out. | 608 // DNS transaction timed out. |
| 597 NET_ERROR(DNS_TIMED_OUT, -803) | 609 NET_ERROR(DNS_TIMED_OUT, -803) |
| OLD | NEW |