DescriptionFix precache issue with cancel and resume
If precache cancel happens when all manifests are fetched
(top_hosts_to_fetch_ is empty), CancelPrecaching() saves all the
top hosts in unfinished work. In this case, unfinished work should not
have top host.
Also deletes the non-precached URLs in ClearAllForReferrerHost().
BUG=626463
Committed: https://crrev.com/c8f32980dd74319abb0aafb87cdaac4b5297df56
Cr-Commit-Position: refs/heads/master@{#420445}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Added unittests #
Total comments: 6
Patch Set 3 : Addressed sclittle comments #
Total comments: 4
Patch Set 4 : Addressed sclittle comments #
Messages
Total messages: 14 (3 generated)
|