Chromium Code Reviews
DescriptionExposing CacheEntryStatus (former TransactionPattern) via UrlRequest
This will allow to know how the UrlRequest affected the cache.
Currently, it was possible to retrieve:
cache used = was_cached && !network_accessed
cache validated = was_cached && network_accessed
not used/updated/cantconditionalize = !was_cached
This change allows to tell apart the not used/updated/cantconditionalize
sub-categories.
This change has the added benefit that HttpCacheTransaction::RecordHistograms
could be refactorized out of that class and moved to upper layers.
BUG=615434
Review-Url: https://codereview.chromium.org/2113603003
Cr-Commit-Position: refs/heads/master@{#407971}
(cherry picked from commit 19ff6f1bd9d1ea24e3104d0cbec6352640545d8c)
Committed: https://chromium.googlesource.com/chromium/src/+/8939e8c9152b2afd54bfbd8400af6cc61706d6c1
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||