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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 // The HTTP response contained multiple Location headers. | 504 // The HTTP response contained multiple Location headers. |
505 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) | 505 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) |
506 | 506 |
507 // SPDY server refused the stream. Client should retry. This should never be a | 507 // SPDY server refused the stream. Client should retry. This should never be a |
508 // user-visible error. | 508 // user-visible error. |
509 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) | 509 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) |
510 | 510 |
511 // SPDY server didn't respond to the PING message. | 511 // SPDY server didn't respond to the PING message. |
512 NET_ERROR(SPDY_PING_FAILED, -352) | 512 NET_ERROR(SPDY_PING_FAILED, -352) |
513 | 513 |
| 514 // Content-Length does not match the number of bytes received. |
| 515 NET_ERROR(CONTENT_LENGTH_MISMATCH, -353) |
| 516 |
514 // The cache does not have the requested entry. | 517 // The cache does not have the requested entry. |
515 NET_ERROR(CACHE_MISS, -400) | 518 NET_ERROR(CACHE_MISS, -400) |
516 | 519 |
517 // Unable to read from the disk cache. | 520 // Unable to read from the disk cache. |
518 NET_ERROR(CACHE_READ_FAILURE, -401) | 521 NET_ERROR(CACHE_READ_FAILURE, -401) |
519 | 522 |
520 // Unable to write to the disk cache. | 523 // Unable to write to the disk cache. |
521 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 524 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
522 | 525 |
523 // The operation is not supported for this entry. | 526 // The operation is not supported for this entry. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 NET_ERROR(DNS_SERVER_FAILED, -802) | 639 NET_ERROR(DNS_SERVER_FAILED, -802) |
637 | 640 |
638 // DNS transaction timed out. | 641 // DNS transaction timed out. |
639 NET_ERROR(DNS_TIMED_OUT, -803) | 642 NET_ERROR(DNS_TIMED_OUT, -803) |
640 | 643 |
641 // The entry was not found in cache, for cache-only lookups. | 644 // The entry was not found in cache, for cache-only lookups. |
642 NET_ERROR(DNS_CACHE_MISS, -804) | 645 NET_ERROR(DNS_CACHE_MISS, -804) |
643 | 646 |
644 // FIXME: Take the next number. | 647 // FIXME: Take the next number. |
645 NET_ERROR(PIPELINE_EVICTION, -900) | 648 NET_ERROR(PIPELINE_EVICTION, -900) |
OLD | NEW |