| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 // The HTTP response contained multiple Content-Disposition headers. | 498 // The HTTP response contained multiple Content-Disposition headers. |
| 499 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349) | 499 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION, -349) |
| 500 | 500 |
| 501 // The HTTP response contained multiple Location headers. | 501 // The HTTP response contained multiple Location headers. |
| 502 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) | 502 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_LOCATION, -350) |
| 503 | 503 |
| 504 // SPDY server refused the stream. Client should retry. This should never be a | 504 // SPDY server refused the stream. Client should retry. This should never be a |
| 505 // user-visible error. | 505 // user-visible error. |
| 506 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) | 506 NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351) |
| 507 | 507 |
| 508 // SPDY server didn't respond to the PING message. |
| 509 NET_ERROR(SPDY_PING_FAILED, -352) |
| 510 |
| 508 // The cache does not have the requested entry. | 511 // The cache does not have the requested entry. |
| 509 NET_ERROR(CACHE_MISS, -400) | 512 NET_ERROR(CACHE_MISS, -400) |
| 510 | 513 |
| 511 // Unable to read from the disk cache. | 514 // Unable to read from the disk cache. |
| 512 NET_ERROR(CACHE_READ_FAILURE, -401) | 515 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 513 | 516 |
| 514 // Unable to write to the disk cache. | 517 // Unable to write to the disk cache. |
| 515 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 518 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 516 | 519 |
| 517 // The operation is not supported for this entry. | 520 // The operation is not supported for this entry. |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 // kind of query. | 633 // kind of query. |
| 631 // 5 - Refused - The name server refuses to perform the specified | 634 // 5 - Refused - The name server refuses to perform the specified |
| 632 // operation for policy reasons. | 635 // operation for policy reasons. |
| 633 NET_ERROR(DNS_SERVER_FAILED, -802) | 636 NET_ERROR(DNS_SERVER_FAILED, -802) |
| 634 | 637 |
| 635 // DNS transaction timed out. | 638 // DNS transaction timed out. |
| 636 NET_ERROR(DNS_TIMED_OUT, -803) | 639 NET_ERROR(DNS_TIMED_OUT, -803) |
| 637 | 640 |
| 638 // The entry was not found in cache, for cache-only lookups. | 641 // The entry was not found in cache, for cache-only lookups. |
| 639 NET_ERROR(DNS_CACHE_MISS, -804) | 642 NET_ERROR(DNS_CACHE_MISS, -804) |
| OLD | NEW |