Chromium Code Reviews| 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 401 NET_ERROR(CERT_WEAK_KEY, -211) | 401 NET_ERROR(CERT_WEAK_KEY, -211) |
| 402 | 402 |
| 403 // Add new certificate error codes here. | 403 // Add new certificate error codes here. |
| 404 // | 404 // |
| 405 // 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 |
| 406 // code. | 406 // code. |
| 407 | 407 |
| 408 // The value immediately past the last certificate error code. | 408 // The value immediately past the last certificate error code. |
| 409 NET_ERROR(CERT_END, -212) | 409 NET_ERROR(CERT_END, -212) |
| 410 | 410 |
| 411 // Certificate Transparency: All Signed Certificate Timestamps failed to verify. | |
| 412 // XXX(eranm): Move this error to a more appropriate category. | |
| 413 NET_ERROR(CT_NO_SCTS_VERIFIED_OK, -299) | |
|
wtc
2013/11/28 15:18:24
Let's work on this next week. I remember if an err
| |
| 414 | |
| 411 // The URL is invalid. | 415 // The URL is invalid. |
| 412 NET_ERROR(INVALID_URL, -300) | 416 NET_ERROR(INVALID_URL, -300) |
| 413 | 417 |
| 414 // The scheme of the URL is disallowed. | 418 // The scheme of the URL is disallowed. |
| 415 NET_ERROR(DISALLOWED_URL_SCHEME, -301) | 419 NET_ERROR(DISALLOWED_URL_SCHEME, -301) |
| 416 | 420 |
| 417 // The scheme of the URL is unknown. | 421 // The scheme of the URL is unknown. |
| 418 NET_ERROR(UNKNOWN_URL_SCHEME, -302) | 422 NET_ERROR(UNKNOWN_URL_SCHEME, -302) |
| 419 | 423 |
| 420 // Attempting to load an URL resulted in too many redirects. | 424 // Attempting to load an URL resulted in too many redirects. |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 704 NET_ERROR(DNS_TIMED_OUT, -803) | 708 NET_ERROR(DNS_TIMED_OUT, -803) |
| 705 | 709 |
| 706 // The entry was not found in cache, for cache-only lookups. | 710 // The entry was not found in cache, for cache-only lookups. |
| 707 NET_ERROR(DNS_CACHE_MISS, -804) | 711 NET_ERROR(DNS_CACHE_MISS, -804) |
| 708 | 712 |
| 709 // Suffix search list rules prevent resolution of the given host name. | 713 // Suffix search list rules prevent resolution of the given host name. |
| 710 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 714 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 711 | 715 |
| 712 // Failed to sort addresses according to RFC3484. | 716 // Failed to sort addresses according to RFC3484. |
| 713 NET_ERROR(DNS_SORT_ERROR, -806) | 717 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |