Chromium Code Reviews
DescriptionAdd Precache.CacheStatus.NonPrefetch.FromPrecache.
This UMA is like Precache.CacheStatus.NonPrefetch, but only for requests
where the URL matches an unused entry in the precache_urls table -- that
is, first requests for URLs retrieved as part of prefetching. Misses
would be reported by this metric as a result of expiration or eviction.
Changed PrecacheURLTable::Is*URL*() methods with varying WHERE clauses to
PrecacheURLTable::GetURLInfo() and a PrecacheURLInfo struct containing the
SELECTed columns. This allows us to report this metric not just for first
requests for precached URLs (i.e. where is_precached = 1), but for all such
requests. This should cause the metrics sampled to be weighted similarly to
HttpCache.Pattern.
BUG=650773
Review-Url: https://codereview.chromium.org/2364873004
Cr-Commit-Position: refs/heads/master@{#423892}
(cherry picked from commit 25783a2fecb69d613b1f3cfa9ea9e347b87887de)
Committed: https://chromium.googlesource.com/chromium/src/+/f3426a9beee6d0bdf664ece23c26e3d452c96123
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||