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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 | 390 |
391 // -209 is availible: was CERT_NOT_IN_DNS. | 391 // -209 is availible: was CERT_NOT_IN_DNS. |
392 | 392 |
393 // The host name specified in the certificate is not unique. | 393 // The host name specified in the certificate is not unique. |
394 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) | 394 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) |
395 | 395 |
396 // The server responded with a certificate that contains a weak key (e.g. | 396 // The server responded with a certificate that contains a weak key (e.g. |
397 // a too-small RSA key). | 397 // a too-small RSA key). |
398 NET_ERROR(CERT_WEAK_KEY, -211) | 398 NET_ERROR(CERT_WEAK_KEY, -211) |
399 | 399 |
| 400 // The certificate's validity period is too long. |
| 401 NET_ERROR(CERT_TOO_LONG_VALIDITY, -212) |
| 402 |
400 // Add new certificate error codes here. | 403 // Add new certificate error codes here. |
401 // | 404 // |
402 // Update the value of CERT_END whenever you add a new certificate error | 405 // Update the value of CERT_END whenever you add a new certificate error |
403 // code. | 406 // code. |
404 | 407 |
405 // The value immediately past the last certificate error code. | 408 // The value immediately past the last certificate error code. |
406 NET_ERROR(CERT_END, -212) | 409 NET_ERROR(CERT_END, -213) |
407 | 410 |
408 // The URL is invalid. | 411 // The URL is invalid. |
409 NET_ERROR(INVALID_URL, -300) | 412 NET_ERROR(INVALID_URL, -300) |
410 | 413 |
411 // The scheme of the URL is disallowed. | 414 // The scheme of the URL is disallowed. |
412 NET_ERROR(DISALLOWED_URL_SCHEME, -301) | 415 NET_ERROR(DISALLOWED_URL_SCHEME, -301) |
413 | 416 |
414 // The scheme of the URL is unknown. | 417 // The scheme of the URL is unknown. |
415 NET_ERROR(UNKNOWN_URL_SCHEME, -302) | 418 NET_ERROR(UNKNOWN_URL_SCHEME, -302) |
416 | 419 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 NET_ERROR(DNS_TIMED_OUT, -803) | 697 NET_ERROR(DNS_TIMED_OUT, -803) |
695 | 698 |
696 // The entry was not found in cache, for cache-only lookups. | 699 // The entry was not found in cache, for cache-only lookups. |
697 NET_ERROR(DNS_CACHE_MISS, -804) | 700 NET_ERROR(DNS_CACHE_MISS, -804) |
698 | 701 |
699 // Suffix search list rules prevent resolution of the given host name. | 702 // Suffix search list rules prevent resolution of the given host name. |
700 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 703 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
701 | 704 |
702 // Failed to sort addresses according to RFC3484. | 705 // Failed to sort addresses according to RFC3484. |
703 NET_ERROR(DNS_SORT_ERROR, -806) | 706 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |