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

Unified Diff: content/browser/download/download_stats.cc

Issue 8746020: Fixed a header name error in UMA statistics that record what servers accept range requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed variable name. Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/download/download_stats.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_stats.cc
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index bab05b70ee865dc582ecf03cb209dea4b4c435a0..b08a9a4a421f34607f139cc2741aa26b484792b4 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -109,19 +109,19 @@ void RecordAcceptsRanges(const std::string& accepts_ranges,
static const int kBuckets = 50;
if (LowerCaseEqualsASCII(accepts_ranges, "none")) {
- UMA_HISTOGRAM_CUSTOM_COUNTS("Download.KBytes.AcceptRangesNone",
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Download.AcceptRangesNone.KBytes",
download_len,
1,
max,
kBuckets);
} else if (LowerCaseEqualsASCII(accepts_ranges, "bytes")) {
- UMA_HISTOGRAM_CUSTOM_COUNTS("Download.KBytes.AcceptRangesBytes",
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Download.AcceptRangesBytes.KBytes",
download_len,
1,
max,
kBuckets);
} else {
- UMA_HISTOGRAM_CUSTOM_COUNTS("Download.KBytes.AcceptRangesMissingOrInvalid",
+ UMA_HISTOGRAM_CUSTOM_COUNTS("Download.AcceptRangesMissingOrInvalid.KBytes",
download_len,
1,
max,
« no previous file with comments | « content/browser/download/download_stats.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698