| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 546 |
| 547 // The disk cache is unable to create this entry. | 547 // The disk cache is unable to create this entry. |
| 548 NET_ERROR(CACHE_CREATE_FAILURE, -405) | 548 NET_ERROR(CACHE_CREATE_FAILURE, -405) |
| 549 | 549 |
| 550 // Multiple transactions are racing to create disk cache entries. This is an | 550 // Multiple transactions are racing to create disk cache entries. This is an |
| 551 // internal error returned from the HttpCache to the HttpCacheTransaction that | 551 // internal error returned from the HttpCache to the HttpCacheTransaction that |
| 552 // tells the transaction to restart the entry-creation logic because the state | 552 // tells the transaction to restart the entry-creation logic because the state |
| 553 // of the cache has changed. | 553 // of the cache has changed. |
| 554 NET_ERROR(CACHE_RACE, -406) | 554 NET_ERROR(CACHE_RACE, -406) |
| 555 | 555 |
| 556 // The disk cache tried to race creates against network transactions, and data |
| 557 // arrived from the network transaction before the entry was created on disk. |
| 558 NET_ERROR(CACHE_CREATE_RACE_FAILED, -507) |
| 559 |
| 556 // The server's response was insecure (e.g. there was a cert error). | 560 // The server's response was insecure (e.g. there was a cert error). |
| 557 NET_ERROR(INSECURE_RESPONSE, -501) | 561 NET_ERROR(INSECURE_RESPONSE, -501) |
| 558 | 562 |
| 559 // The server responded to a <keygen> with a generated client cert that we | 563 // The server responded to a <keygen> with a generated client cert that we |
| 560 // don't have the matching private key for. | 564 // don't have the matching private key for. |
| 561 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 565 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
| 562 | 566 |
| 563 // An error adding to the OS certificate database (e.g. OS X Keychain). | 567 // An error adding to the OS certificate database (e.g. OS X Keychain). |
| 564 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 568 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
| 565 | 569 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 NET_ERROR(DNS_TIMED_OUT, -803) | 661 NET_ERROR(DNS_TIMED_OUT, -803) |
| 658 | 662 |
| 659 // The entry was not found in cache, for cache-only lookups. | 663 // The entry was not found in cache, for cache-only lookups. |
| 660 NET_ERROR(DNS_CACHE_MISS, -804) | 664 NET_ERROR(DNS_CACHE_MISS, -804) |
| 661 | 665 |
| 662 // Suffix search list rules prevent resolution of the given host name. | 666 // Suffix search list rules prevent resolution of the given host name. |
| 663 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 667 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 664 | 668 |
| 665 // Failed to sort addresses according to RFC3484. | 669 // Failed to sort addresses according to RFC3484. |
| 666 NET_ERROR(DNS_SORT_ERROR, -806) | 670 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |