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