summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authorbenjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 23:15:16 +0000
committerbenjhayden@chromium.org <benjhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-23 23:15:16 +0000
commit3cb15d956523bba041fdaae1e1c5cdc94ec5cb3b (patch)
treeae31b40b194a6a3cad511cb6d60869c540d570a8 /content/browser
parent4de0108cc10c55bb940a0d6b9b4f36b3ba4e8c62 (diff)
downloadchromium_src-3cb15d956523bba041fdaae1e1c5cdc94ec5cb3b.zip
chromium_src-3cb15d956523bba041fdaae1e1c5cdc94ec5cb3b.tar.gz
chromium_src-3cb15d956523bba041fdaae1e1c5cdc94ec5cb3b.tar.bz2
Increase maximum value for Download.HistorySize UMA.
12% of samples are greater than the current maximum value of 1024. Review URL: http://codereview.chromium.org/9432039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/download/download_stats.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index c36191d..acae7aa 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -280,11 +280,11 @@ void RecordOpen(const base::Time& end, bool first) {
}
void RecordHistorySize(int size) {
- UMA_HISTOGRAM_CUSTOM_COUNTS("Download.HistorySize",
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Download.HistorySize2",
size,
0/*min*/,
- (1 << 10)/*max*/,
- 32/*num_buckets*/);
+ (1 << 23)/*max*/,
+ (1 << 7)/*num_buckets*/);
}
void RecordClearAllSize(int size) {