DescriptionServiceWorker: SWDiskCacheMigrator should just move DiskCache files on Android
ServiceWorkerDiskCacheMigrator is designed to migrate DiskCache files from
the BlockFile backend to the Simple backend, but Android has already used the
Simple backend and the migrator just have to move files into a new directory.
This CL also includes...
- making the migrator more self-contained in order to simplify callsites of
the migrator (ie. ServiceWorkerStorage). The ctor of the migrator receives
diskcache paths and a diskcache thread instead of already initialized
diskcaches.
- removing the dest directory before migration to clean up partial results
of the previous attempt.
BUG=487482
TEST=content_unittests --gtest_filter=ServiceWorker*
Committed: https://crrev.com/ba504e7e2f5b57c93766245ffe6aa2c07188f5b6
Cr-Commit-Position: refs/heads/master@{#334117}
Patch Set 1 : split from https://codereview.chromium.org/1152543002/ #Patch Set 2 : just move diskcache on Android #Patch Set 3 : fix #
Total comments: 4
Patch Set 4 : MigrateForAndroid #
Total comments: 1
Messages
Total messages: 10 (2 generated)
|