Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: net/base/net_error_list.h

Issue 345643003: Http cache: Implement a timeout for the cache lock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add constant Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/http/http_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 values. 6 // inside a macro to generate enum values.
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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 // returned from attempts to read from the cache. It is an internal error, 638 // returned from attempts to read from the cache. It is an internal error,
639 // returned by the SimpleCache backend, but not by any URLRequest methods 639 // returned by the SimpleCache backend, but not by any URLRequest methods
640 // or members. 640 // or members.
641 NET_ERROR(CACHE_CHECKSUM_READ_FAILURE, -407) 641 NET_ERROR(CACHE_CHECKSUM_READ_FAILURE, -407)
642 642
643 // The cache found an entry with an invalid checksum. This can be returned from 643 // The cache found an entry with an invalid checksum. This can be returned from
644 // attempts to read from the cache. It is an internal error, returned by the 644 // attempts to read from the cache. It is an internal error, returned by the
645 // SimpleCache backend, but not by any URLRequest methods or members. 645 // SimpleCache backend, but not by any URLRequest methods or members.
646 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408) 646 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408)
647 647
648 // Internal error code for the HTTP cache. The cache lock timeout has fired.
649 NET_ERROR(CACHE_LOCK_TIMEOUT, -409)
650
648 // The server's response was insecure (e.g. there was a cert error). 651 // The server's response was insecure (e.g. there was a cert error).
649 NET_ERROR(INSECURE_RESPONSE, -501) 652 NET_ERROR(INSECURE_RESPONSE, -501)
650 653
651 // The server responded to a <keygen> with a generated client cert that we 654 // The server responded to a <keygen> with a generated client cert that we
652 // don't have the matching private key for. 655 // don't have the matching private key for.
653 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) 656 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502)
654 657
655 // An error adding to the OS certificate database (e.g. OS X Keychain). 658 // An error adding to the OS certificate database (e.g. OS X Keychain).
656 NET_ERROR(ADD_USER_CERT_FAILED, -503) 659 NET_ERROR(ADD_USER_CERT_FAILED, -503)
657 660
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 NET_ERROR(DNS_TIMED_OUT, -803) 758 NET_ERROR(DNS_TIMED_OUT, -803)
756 759
757 // The entry was not found in cache, for cache-only lookups. 760 // The entry was not found in cache, for cache-only lookups.
758 NET_ERROR(DNS_CACHE_MISS, -804) 761 NET_ERROR(DNS_CACHE_MISS, -804)
759 762
760 // Suffix search list rules prevent resolution of the given host name. 763 // Suffix search list rules prevent resolution of the given host name.
761 NET_ERROR(DNS_SEARCH_EMPTY, -805) 764 NET_ERROR(DNS_SEARCH_EMPTY, -805)
762 765
763 // Failed to sort addresses according to RFC3484. 766 // Failed to sort addresses according to RFC3484.
764 NET_ERROR(DNS_SORT_ERROR, -806) 767 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW
« no previous file with comments | « no previous file | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698