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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/disk_cache/blockfile/entry_impl_v3.cc ('k') | net/disk_cache/blockfile/eviction.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Error codes reported by self tests or to UMA.
6
7 #ifndef NET_DISK_CACHE_BLOCKFILE_ERRORS_H_
8 #define NET_DISK_CACHE_BLOCKFILE_ERRORS_H_
9
10 namespace disk_cache {
11
12 enum {
13 ERR_NO_ERROR = 0,
14 ERR_INIT_FAILED = -1,
15 ERR_INVALID_TAIL = -2,
16 ERR_INVALID_HEAD = -3,
17 ERR_INVALID_PREV = -4,
18 ERR_INVALID_NEXT = -5,
19 ERR_INVALID_ENTRY = -6,
20 ERR_INVALID_ADDRESS = -7,
21 ERR_INVALID_LINKS = -8,
22 ERR_NUM_ENTRIES_MISMATCH = -9,
23 ERR_READ_FAILURE = -10,
24 ERR_PREVIOUS_CRASH = -11,
25 ERR_STORAGE_ERROR = -12,
26 ERR_INVALID_MASK = -13,
27 ERR_CACHE_DOOMED = -14, // Not really an error condition.
28 ERR_CACHE_CREATED = -15 // Not really an error condition.
29 };
30
31 } // namespace disk_cache
32
33 #endif // NET_DISK_CACHE_BLOCKFILE_ERRORS_H_
OLDNEW
« no previous file with comments | « net/disk_cache/blockfile/entry_impl_v3.cc ('k') | net/disk_cache/blockfile/eviction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698