• nhiroki's avatar
    Revert of ServiceWorker: Use SimpleCache for the script cache (patchset #7... · d89b8b3d
    nhiroki authored
    Revert of ServiceWorker: Use SimpleCache for the script cache (patchset #7 id:230001 of https://codereview.chromium.org/1140853002/)
    
    Reason for revert:
    We'll reland this CL with DiskCache migration code.
    
    Original issue's description:
    > ServiceWorker: Use SimpleCache for the script cache
    >
    > This CL migrates the backend of ServiceWorkerDiskCache from Default to
    > SimpleCache on all platforms.
    >
    > If old DiskCache images exist,
    > (1) DiskCache backend fails to open an pre-existing data due to incompatible
    > format (in both Default->SimpleCache and SimpleCache->Default cases),
    > (2) ServiceWorkerStorage wipes out all cached scripts and registrations via
    > DeleteAndStartOver, and
    > (3) navigation falls back to network.
    >
    > BUG=487482
    > TEST=manual (use DiskCache and SimpleCache alternately and make sure the system can recover)
    >
    > Committed: https://crrev.com/a00e5be5a06e626de1b62cbfc7c350bef08647ea
    > Cr-Commit-Position: refs/heads/master@{#330274}
    
    TBR=michaeln@chromium.org
    BUG=487482
    
    Review URL: https://codereview.chromium.org/1142193002
    
    Cr-Commit-Position: refs/heads/master@{#330505}
    d89b8b3d
appcache_disk_cache.cc 11.2 KB