summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/errors.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-11 23:49:43 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-11 23:49:43 +0000
commit763ebe7adfd2aa850f94862b49ee6d7371d0e22f (patch)
tree687a82eaec0a9896698b1b8cbcdd999964fead42 /net/disk_cache/errors.h
parent579f8970ea79d64a3d76c9201f28c9b0c8ed5862 (diff)
downloadchromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.zip
chromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.tar.gz
chromium_src-763ebe7adfd2aa850f94862b49ee6d7371d0e22f.tar.bz2
Disk cache: Set up an experiment to measure the effect of
increasing the maximum cache size. There will be three groups on the experiment, each group with 10% of the users (Dev Channel). Each group will have the max cache size increased by a factor from 2 to 4 times the current size, and we'll measure the age of evicted entries. I'm also adding a few metrics of reliability, to detect how often we're not getting to do proper cleanup. Review URL: http://codereview.chromium.org/14013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/errors.h')
-rw-r--r--net/disk_cache/errors.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/disk_cache/errors.h b/net/disk_cache/errors.h
index 3922abc..eea087a 100644
--- a/net/disk_cache/errors.h
+++ b/net/disk_cache/errors.h
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Error codes reported by self tests.
+// Error codes reported by self tests or to UMA.
#ifndef NET_DISK_CACHE_ERRORS_H__
#define NET_DISK_CACHE_ERRORS_H__
@@ -19,7 +19,9 @@ enum {
ERR_INVALID_ADDRESS = -7,
ERR_INVALID_LINKS = -8,
ERR_NUM_ENTRIES_MISMATCH = -9,
- ERR_READ_FAILURE = -10
+ ERR_READ_FAILURE = -10,
+ ERR_PREVIOUS_CRASH = -11,
+ ERR_STORAGE_ERROR = -12
};
} // namespace disk_cache