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

Side by Side Diff: net/disk_cache/errors.h

Issue 20054: Disk cache: Add a check to make sure that the index table mask is not bigger ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « net/disk_cache/backend_impl.cc ('k') | no next file » | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Error codes reported by self tests or to UMA. 5 // Error codes reported by self tests or to UMA.
6 6
7 #ifndef NET_DISK_CACHE_ERRORS_H__ 7 #ifndef NET_DISK_CACHE_ERRORS_H__
8 #define NET_DISK_CACHE_ERRORS_H__ 8 #define NET_DISK_CACHE_ERRORS_H__
9 9
10 namespace disk_cache { 10 namespace disk_cache {
11 11
12 enum { 12 enum {
13 ERR_INIT_FAILED = -1, 13 ERR_INIT_FAILED = -1,
14 ERR_INVALID_TAIL = -2, 14 ERR_INVALID_TAIL = -2,
15 ERR_INVALID_HEAD = -3, 15 ERR_INVALID_HEAD = -3,
16 ERR_INVALID_PREV = -4, 16 ERR_INVALID_PREV = -4,
17 ERR_INVALID_NEXT = -5, 17 ERR_INVALID_NEXT = -5,
18 ERR_INVALID_ENTRY = -6, 18 ERR_INVALID_ENTRY = -6,
19 ERR_INVALID_ADDRESS = -7, 19 ERR_INVALID_ADDRESS = -7,
20 ERR_INVALID_LINKS = -8, 20 ERR_INVALID_LINKS = -8,
21 ERR_NUM_ENTRIES_MISMATCH = -9, 21 ERR_NUM_ENTRIES_MISMATCH = -9,
22 ERR_READ_FAILURE = -10, 22 ERR_READ_FAILURE = -10,
23 ERR_PREVIOUS_CRASH = -11, 23 ERR_PREVIOUS_CRASH = -11,
24 ERR_STORAGE_ERROR = -12 24 ERR_STORAGE_ERROR = -12,
25 ERR_INVALID_MASK = -13
25 }; 26 };
26 27
27 } // namespace disk_cache 28 } // namespace disk_cache
28 29
29 #endif // NET_DISK_CACHE_ERRORS_H__ 30 #endif // NET_DISK_CACHE_ERRORS_H__
30 31
OLDNEW
« no previous file with comments | « net/disk_cache/backend_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698