Add ownership to CacheStorage.
Modify Cache Storage API to include an ownership field. This gives the ability to create private caches for internal usage, without exposing the cache entries to developers. The ownership enum will be part of the key for cache storage map look-ups. The ownership enum will also be part of the path where the cache is saved to disk. This way we can have more than one cache for the same origin, and they are written to different places. All caches will update the same quota client. TBR=kenrb@chromium.org,mek@chromium.org Bug: 838908 Change-Id: I5494d696d9837abbbe2ef428be0f03e4360f2bda Reviewed-on: https://chromium-review.googlesource.com/1037264 Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by:Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#558309}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment