Image Fetcher: Add CacheOption enum to map CacheStrategy in protobuf.
CacheStrategy enum is defined in cached_image_metadata.proto, this should not be used beyond ImageMetadataStoreLevelDB. This CL adds a cpp enum that maps to CacheStrategy protobuf enum. Bug: 1067049,1058534 Change-Id: If13ac706e3c1f0a8cd2376ce1d7e5d26c5b571c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2158064Reviewed-by:Filip Gorski <fgorski@chromium.org> Reviewed-by:
Brandon Wylie <wylieb@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#761036}
Showing
Please register or sign in to comment