Chromium Code Reviews| Index: components/precache/core/precache_fetcher.cc |
| diff --git a/components/precache/core/precache_fetcher.cc b/components/precache/core/precache_fetcher.cc |
| index 8b7589ba8696053987166343f2a461f8a80ffaea..a40939f463de94c34cb4a76452c78833be68f019 100644 |
| --- a/components/precache/core/precache_fetcher.cc |
| +++ b/components/precache/core/precache_fetcher.cc |
| @@ -280,6 +280,10 @@ void PrecacheFetcher::Fetcher::OnURLFetchDownloadProgress( |
| response_bytes_ = network_response_bytes_ = current; |
| was_cached_ = source->WasCached(); |
| + UMA_HISTOGRAM_CUSTOM_COUNTS("Precache.Fetch.ResponseBytes.NetworkWasted", |
| + network_response_bytes_, 1, |
| + 1024 * 1024 * 1024 /* 1 MB */, 100); |
|
Steven Holte
2016/09/14 18:43:57
This is a 1 GiB not 1MB?
|
| + |
| // Cancel the download. |
| network_url_fetcher_.reset(); |
| callback_.Run(*this); |