Chromium Code Reviews| Index: components/precache/core/precache_database.cc |
| diff --git a/components/precache/core/precache_database.cc b/components/precache/core/precache_database.cc |
| index f513410c98cea69b06a3edfd4f2dcdf32df4b16e..10f231fed8cff6a2a7e73bc0a275ae79823e90aa 100644 |
| --- a/components/precache/core/precache_database.cc |
| +++ b/components/precache/core/precache_database.cc |
| @@ -256,6 +256,12 @@ void PrecacheDatabase::RecordURLNonPrefetch(const GURL& url, |
| return; |
| } |
| + if (is_precached) |
|
Raj
2016/09/26 22:09:58
nit: add the multiline statement inside parenthese
twifkak
2016/09/26 22:57:05
Done.
|
| + UMA_HISTOGRAM_ENUMERATION( |
| + "Precache.CacheStatus.NonPrefetch.FromPrecache", |
| + info.cache_entry_status, |
| + net::HttpResponseInfo::CacheEntryStatus::ENTRY_MAX); |
| + |
| base::HistogramBase::Sample size_sample = |
| static_cast<base::HistogramBase::Sample>(size); |
| if (!info.was_cached) { |