| 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 504 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 |
| 525 // The cache does not have the requested entry. | 528 // The cache does not have the requested entry. |
| 526 NET_ERROR(CACHE_MISS, -400) | 529 NET_ERROR(CACHE_MISS, -400) |
| 527 | 530 |
| 528 // Unable to read from the disk cache. | 531 // Unable to read from the disk cache. |
| 529 NET_ERROR(CACHE_READ_FAILURE, -401) | 532 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 530 | 533 |
| 531 // Unable to write to the disk cache. | 534 // Unable to write to the disk cache. |
| 532 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 535 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 533 | 536 |
| 534 // The operation is not supported for this entry. | 537 // The operation is not supported for this entry. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 // kind of query. | 647 // kind of query. |
| 645 // 5 - Refused - The name server refuses to perform the specified | 648 // 5 - Refused - The name server refuses to perform the specified |
| 646 // operation for policy reasons. | 649 // operation for policy reasons. |
| 647 NET_ERROR(DNS_SERVER_FAILED, -802) | 650 NET_ERROR(DNS_SERVER_FAILED, -802) |
| 648 | 651 |
| 649 // DNS transaction timed out. | 652 // DNS transaction timed out. |
| 650 NET_ERROR(DNS_TIMED_OUT, -803) | 653 NET_ERROR(DNS_TIMED_OUT, -803) |
| 651 | 654 |
| 652 // The entry was not found in cache, for cache-only lookups. | 655 // The entry was not found in cache, for cache-only lookups. |
| 653 NET_ERROR(DNS_CACHE_MISS, -804) | 656 NET_ERROR(DNS_CACHE_MISS, -804) |
| 654 | |
| 655 // FIXME: Take the next number. | |
| 656 NET_ERROR(PIPELINE_EVICTION, -900) | |
| OLD | NEW |