Add attempt count metric to FaviconHandler

Desktop / Chromium - fhorschig [chromium.org] - 19 April 2017 04:02 EDT

The histograms this metric introduces aggregates how many download attempts were needed to determine the best-fitting favicon.

This is stored in two metrics in order to separate requests for large icons.

BUG=672939

Review-Url: https://codereview.chromium.org/2781093002 Cr-Commit-Position: refs/heads/master@{#465526}

a9fb2c3 Add attempt count metric to FaviconHandler
components/favicon/core/favicon_handler.cc | 35 ++++++
components/favicon/core/favicon_handler.h | 4 +
.../favicon/core/favicon_handler_unittest.cc | 139 +++++++++++++++++++--
tools/metrics/histograms/histograms.xml | 17 +++
4 files changed, 184 insertions(+), 11 deletions(-)

Upstream: git.chromium.org


  • Share