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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 // The host name specified in the certificate is not unique. | 433 // The host name specified in the certificate is not unique. |
434 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) | 434 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) |
435 | 435 |
436 // The server responded with a certificate that contains a weak key (e.g. | 436 // The server responded with a certificate that contains a weak key (e.g. |
437 // a too-small RSA key). | 437 // a too-small RSA key). |
438 NET_ERROR(CERT_WEAK_KEY, -211) | 438 NET_ERROR(CERT_WEAK_KEY, -211) |
439 | 439 |
440 // The certificate claimed DNS names that are in violation of name constraints. | 440 // The certificate claimed DNS names that are in violation of name constraints. |
441 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212) | 441 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212) |
442 | 442 |
| 443 // The certificate's validity period is too long. |
| 444 NET_ERROR(CERT_VALIDITY_TOO_LONG, -213) |
| 445 |
443 // Add new certificate error codes here. | 446 // Add new certificate error codes here. |
444 // | 447 // |
445 // Update the value of CERT_END whenever you add a new certificate error | 448 // Update the value of CERT_END whenever you add a new certificate error |
446 // code. | 449 // code. |
447 | 450 |
448 // The value immediately past the last certificate error code. | 451 // The value immediately past the last certificate error code. |
449 NET_ERROR(CERT_END, -213) | 452 NET_ERROR(CERT_END, -214) |
450 | 453 |
451 // The URL is invalid. | 454 // The URL is invalid. |
452 NET_ERROR(INVALID_URL, -300) | 455 NET_ERROR(INVALID_URL, -300) |
453 | 456 |
454 // The scheme of the URL is disallowed. | 457 // The scheme of the URL is disallowed. |
455 NET_ERROR(DISALLOWED_URL_SCHEME, -301) | 458 NET_ERROR(DISALLOWED_URL_SCHEME, -301) |
456 | 459 |
457 // The scheme of the URL is unknown. | 460 // The scheme of the URL is unknown. |
458 NET_ERROR(UNKNOWN_URL_SCHEME, -302) | 461 NET_ERROR(UNKNOWN_URL_SCHEME, -302) |
459 | 462 |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 NET_ERROR(DNS_TIMED_OUT, -803) | 772 NET_ERROR(DNS_TIMED_OUT, -803) |
770 | 773 |
771 // The entry was not found in cache, for cache-only lookups. | 774 // The entry was not found in cache, for cache-only lookups. |
772 NET_ERROR(DNS_CACHE_MISS, -804) | 775 NET_ERROR(DNS_CACHE_MISS, -804) |
773 | 776 |
774 // Suffix search list rules prevent resolution of the given host name. | 777 // Suffix search list rules prevent resolution of the given host name. |
775 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 778 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
776 | 779 |
777 // Failed to sort addresses according to RFC3484. | 780 // Failed to sort addresses according to RFC3484. |
778 NET_ERROR(DNS_SORT_ERROR, -806) | 781 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |