| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 // Note it's a little weird this is an error but reimporting a PKCS12 is ok | 548 // Note it's a little weird this is an error but reimporting a PKCS12 is ok |
| 549 // (no-op). That's how Mozilla does it, though. | 549 // (no-op). That's how Mozilla does it, though. |
| 550 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) | 550 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) |
| 551 | 551 |
| 552 // CA import failed due to some other error. | 552 // CA import failed due to some other error. |
| 553 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) | 553 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) |
| 554 | 554 |
| 555 // Server certificate import failed due to some internal error. | 555 // Server certificate import failed due to some internal error. |
| 556 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) | 556 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) |
| 557 | 557 |
| 558 // PKCS #12 import failed due to invalid MAC. |
| 559 NET_ERROR(PKCS12_IMPORT_INVALID_MAC, -707) |
| 560 |
| 561 // PKCS #12 import failed due to invalid/corrupt file. |
| 562 NET_ERROR(PKCS12_IMPORT_INVALID_FILE, -708) |
| 563 |
| 564 // PKCS #12 import failed due to unsupported features. |
| 565 NET_ERROR(PKCS12_IMPORT_UNSUPPORTED, -709) |
| 566 |
| 558 // DNS error codes. | 567 // DNS error codes. |
| 559 | 568 |
| 560 // DNS resolver received a malformed response. | 569 // DNS resolver received a malformed response. |
| 561 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 570 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
| 562 | 571 |
| 563 // DNS server requires TCP | 572 // DNS server requires TCP |
| 564 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 573 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
| 565 | 574 |
| 566 // DNS server failed. This error is returned for all of the following | 575 // DNS server failed. This error is returned for all of the following |
| 567 // error conditions: | 576 // error conditions: |
| 568 // 1 - Format error - The name server was unable to interpret the query. | 577 // 1 - Format error - The name server was unable to interpret the query. |
| 569 // 2 - Server failure - The name server was unable to process this query | 578 // 2 - Server failure - The name server was unable to process this query |
| 570 // due to a problem with the name server. | 579 // due to a problem with the name server. |
| 571 // 4 - Not Implemented - The name server does not support the requested | 580 // 4 - Not Implemented - The name server does not support the requested |
| 572 // kind of query. | 581 // kind of query. |
| 573 // 5 - Refused - The name server refuses to perform the specified | 582 // 5 - Refused - The name server refuses to perform the specified |
| 574 // operation for policy reasons. | 583 // operation for policy reasons. |
| 575 NET_ERROR(DNS_SERVER_FAILED, -802) | 584 NET_ERROR(DNS_SERVER_FAILED, -802) |
| 576 | 585 |
| 577 // DNS transaction timed out. | 586 // DNS transaction timed out. |
| 578 NET_ERROR(DNS_TIMED_OUT, -803) | 587 NET_ERROR(DNS_TIMED_OUT, -803) |
| OLD | NEW |