Add prefetch UMA metrics.
commit0d97553cdb341dbdf4a40ac1c0dee17eb44e39af
authortwifkak <twifkak@chromium.org>
Fri, 10 Jul 2015 21:24:13 +0000 (10 14:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Jul 2015 21:24:43 +0000 (10 21:24 +0000)
treecf2e2418836787dcb8422cc372ed1dfe2f71d544
parente143ef3aec7bb1abe74b564a0f0c859e6e7f8b58
Add prefetch UMA metrics.

Add Precache.Fetch.ResponseBytes and Precache.Fetch.PercentCompleted,
recorded by PrecacheFetcher. Tested using HistogramTester.

BUG=499532

Review URL: https://codereview.chromium.org/1212773002

Cr-Commit-Position: refs/heads/master@{#338361}
components/precache/core/precache_fetcher.cc
components/precache/core/precache_fetcher.h
components/precache/core/precache_fetcher_unittest.cc
net/url_request/test_url_fetcher_factory.cc
net/url_request/test_url_fetcher_factory.h
tools/metrics/histograms/histograms.xml