OLD | NEW |
1 // Copyright (c) 2012 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 // |
11 // Ranges: | 11 // Ranges: |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 // The HTTP response contained multiple Location headers. | 515 // The HTTP response contained multiple Location headers. |
516 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) | 516 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) |
517 | 517 |
518 // SPDY server refused the stream. Client should retry. This should never be a | 518 // SPDY server refused the stream. Client should retry. This should never be a |
519 // user-visible error. | 519 // user-visible error. |
520 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) | 520 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) |
521 | 521 |
522 // SPDY server didn't respond to the PING message. | 522 // SPDY server didn't respond to the PING message. |
523 NET_ERROR(SPDY_PING_FAILED, -352) | 523 NET_ERROR(SPDY_PING_FAILED, -352) |
524 | 524 |
525 // The request couldn't be completed on an HTTP pipeline. Client should retry. | |
526 NET_ERROR(PIPELINE_EVICTION, -353) | |
527 | |
528 // The cache does not have the requested entry. | 525 // The cache does not have the requested entry. |
529 NET_ERROR(CACHE_MISS, -400) | 526 NET_ERROR(CACHE_MISS, -400) |
530 | 527 |
531 // Unable to read from the disk cache. | 528 // Unable to read from the disk cache. |
532 NET_ERROR(CACHE_READ_FAILURE, -401) | 529 NET_ERROR(CACHE_READ_FAILURE, -401) |
533 | 530 |
534 // Unable to write to the disk cache. | 531 // Unable to write to the disk cache. |
535 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 532 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
536 | 533 |
537 // The operation is not supported for this entry. | 534 // The operation is not supported for this entry. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 // kind of query. | 644 // kind of query. |
648 // 5 - Refused - The name server refuses to perform the specified | 645 // 5 - Refused - The name server refuses to perform the specified |
649 // operation for policy reasons. | 646 // operation for policy reasons. |
650 NET_ERROR(DNS_SERVER_FAILED, -802) | 647 NET_ERROR(DNS_SERVER_FAILED, -802) |
651 | 648 |
652 // DNS transaction timed out. | 649 // DNS transaction timed out. |
653 NET_ERROR(DNS_TIMED_OUT, -803) | 650 NET_ERROR(DNS_TIMED_OUT, -803) |
654 | 651 |
655 // The entry was not found in cache, for cache-only lookups. | 652 // The entry was not found in cache, for cache-only lookups. |
656 NET_ERROR(DNS_CACHE_MISS, -804) | 653 NET_ERROR(DNS_CACHE_MISS, -804) |
| 654 |
| 655 // FIXME: Take the next number. |
| 656 NET_ERROR(PIPELINE_EVICTION, -900) |
OLD | NEW |