ServiceWorker: Introduce ServiceWorkerDiskCacheMigrator
This introduces ServiceWorkerDiskCacheMigrator for migrating the script cache
from the BlockFile backend to the Simple backend. The migrator iterates over
resources cached in the src DiskCache and moves them into the dest DiskCache
one by one.
This just adds the migrator code and does NOT run the migration code on the
production environment yet.
BUG=
487482
TEST=content_unittests --gtest_filter=ServiceWorkerDiskCacheMigratorTest.*
Committed:
https://crrev.com/255913a791a398eed5c352fa3ac220be178cc772
Cr-Commit-Position: refs/heads/master@{#332603}