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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 // signature algorithm. | 373 // signature algorithm. |
374 NET_ERROR(CERT_WEAK_SIGNATURE_ALGORITHM, -208) | 374 NET_ERROR(CERT_WEAK_SIGNATURE_ALGORITHM, -208) |
375 | 375 |
376 // The domain has CERT records which are tagged as being an exclusive list of | 376 // The domain has CERT records which are tagged as being an exclusive list of |
377 // valid fingerprints. But the certificate presented was not in this list. | 377 // valid fingerprints. But the certificate presented was not in this list. |
378 NET_ERROR(CERT_NOT_IN_DNS, -209) | 378 NET_ERROR(CERT_NOT_IN_DNS, -209) |
379 | 379 |
380 // The host name specified in the certificate is not unique. | 380 // The host name specified in the certificate is not unique. |
381 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) | 381 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) |
382 | 382 |
| 383 // The server responded with a certificate that contains a weak key (e.g. |
| 384 // a too-small RSA key). |
| 385 NET_ERROR(CERT_WEAK_KEY, -211) |
| 386 |
383 // Add new certificate error codes here. | 387 // Add new certificate error codes here. |
384 // | 388 // |
385 // Update the value of CERT_END whenever you add a new certificate error | 389 // Update the value of CERT_END whenever you add a new certificate error |
386 // code. | 390 // code. |
387 | 391 |
388 // The value immediately past the last certificate error code. | 392 // The value immediately past the last certificate error code. |
389 NET_ERROR(CERT_END, -211) | 393 NET_ERROR(CERT_END, -212) |
390 | 394 |
391 // The URL is invalid. | 395 // The URL is invalid. |
392 NET_ERROR(INVALID_URL, -300) | 396 NET_ERROR(INVALID_URL, -300) |
393 | 397 |
394 // The scheme of the URL is disallowed. | 398 // The scheme of the URL is disallowed. |
395 NET_ERROR(DISALLOWED_URL_SCHEME, -301) | 399 NET_ERROR(DISALLOWED_URL_SCHEME, -301) |
396 | 400 |
397 // The scheme of the URL is unknown. | 401 // The scheme of the URL is unknown. |
398 NET_ERROR(UNKNOWN_URL_SCHEME, -302) | 402 NET_ERROR(UNKNOWN_URL_SCHEME, -302) |
399 | 403 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 NET_ERROR(DNS_SERVER_FAILED, -802) | 647 NET_ERROR(DNS_SERVER_FAILED, -802) |
644 | 648 |
645 // DNS transaction timed out. | 649 // DNS transaction timed out. |
646 NET_ERROR(DNS_TIMED_OUT, -803) | 650 NET_ERROR(DNS_TIMED_OUT, -803) |
647 | 651 |
648 // The entry was not found in cache, for cache-only lookups. | 652 // The entry was not found in cache, for cache-only lookups. |
649 NET_ERROR(DNS_CACHE_MISS, -804) | 653 NET_ERROR(DNS_CACHE_MISS, -804) |
650 | 654 |
651 // FIXME: Take the next number. | 655 // FIXME: Take the next number. |
652 NET_ERROR(PIPELINE_EVICTION, -900) | 656 NET_ERROR(PIPELINE_EVICTION, -900) |
OLD | NEW |