DescriptionChange the ServiceWorkerCacheStorage's loader from a ref ptr to scoped and guarantee that callbacks passed to the loader are called by making functions static and passing WeakPtrs.
Part of the following CL chain to guarantee callbacks are called throughout ServiceWorkerCacheStorage:
* 1. Guarantee CacheLoader callbacks: https://codereview.chromium.org/504233003/
2. Guarantee LazyInit callbacks: https://codereview.chromium.org/512743002/
3. Guarantee Create/Delete callbacks: https://codereview.chromium.org/511893002/
4. Reorganize the methods: https://codereview.chromium.org/510813002/
BUG=392621
Committed: https://crrev.com/54d803feb271128003f73c3d5d30e4a2cc93471f
Cr-Commit-Position: refs/heads/master@{#292180}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #Patch Set 4 : Rebase #
Messages
Total messages: 17 (0 generated)
|