commit | f0d1b2644267b7a115354f879513fc462f5885c6 | [log] [tgz] |
---|---|---|
author | drbasic <[email protected]> | Tue Aug 23 06:10:42 2016 |
committer | Commit bot <[email protected]> | Tue Aug 23 06:12:56 2016 |
tree | 843803c1cf704b6c542ce5468c0444d267e2913f | |
parent | d19f48706428300449ca4aed64b764bd23c69da7 [diff] [blame] |
Update the lower bound for UMA_HISTOGRAM_CUSTOM_COUNTS The lower bound for UMA_HISTOGRAM_CUSTOM_COUNTS should be one or more. https://cs.chromium.org/chromium/src/base/metrics/histogram.cc?rcl=0&l=376 Values of 0 or less is adjusted to 1 and a warning is written to the log. BUG= [email protected] CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2269553002 Cr-Commit-Position: refs/heads/master@{#413678}
diff --git a/components/variations/variations_http_header_provider.cc b/components/variations/variations_http_header_provider.cc index 6337dc04..5af7151 100644 --- a/components/variations/variations_http_header_provider.cc +++ b/components/variations/variations_http_header_provider.cc
@@ -186,7 +186,7 @@ UMA_HISTOGRAM_CUSTOM_COUNTS( "Variations.HeaderConstructionTime", - (base::TimeTicks::Now() - before_time).InMicroseconds(), 0, + (base::TimeTicks::Now() - before_time).InMicroseconds(), 1, base::TimeDelta::FromSeconds(1).InMicroseconds(), 50); variation_ids_cache_initialized_ = true;