Image Fetcher: Implement eviction for CacheStrategy::HOLD_UNTIL_EXPIRE.
This CL implements the eviction logic for HOLD_UNTIL_EXPIRE. 1. The GetEstimatedSize() is based on cache strategy now. 2. Each RunEviction will also check entries for CacheStrategy::HOLD_UNTIL_EXPIRE. TBR=wylieb@chromium.org Bug: 1067049,1058534 Change-Id: I38007b8eeac8cac19a28f10906a711211382838a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144741 Commit-Queue: Xing Liu <xingliu@chromium.org> Reviewed-by:David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#759153}
Showing
Please register or sign in to comment