diff options
author | nhiroki <nhiroki@chromium.org> | 2015-05-19 04:38:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-19 11:38:37 +0000 |
commit | d89b8b3d592ee47b47d5774712bbec541188d114 (patch) | |
tree | c78c18053cfadd364c607fab21267d8272d6a23f /content/browser/appcache/appcache_disk_cache.h | |
parent | 7254b49fe3a4d5adaee2ff2db9fc6c2e46b140f5 (diff) | |
download | chromium_src-d89b8b3d592ee47b47d5774712bbec541188d114.zip chromium_src-d89b8b3d592ee47b47d5774712bbec541188d114.tar.gz chromium_src-d89b8b3d592ee47b47d5774712bbec541188d114.tar.bz2 |
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}
Diffstat (limited to 'content/browser/appcache/appcache_disk_cache.h')
-rw-r--r-- | content/browser/appcache/appcache_disk_cache.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/browser/appcache/appcache_disk_cache.h b/content/browser/appcache/appcache_disk_cache.h index 9165e1d..d4a7723 100644 --- a/content/browser/appcache/appcache_disk_cache.h +++ b/content/browser/appcache/appcache_disk_cache.h @@ -52,9 +52,6 @@ class CONTENT_EXPORT AppCacheDiskCache const net::CompletionCallback& callback) override; int DoomEntry(int64 key, const net::CompletionCallback& callback) override; - protected: - explicit AppCacheDiskCache(bool use_simple_cache); - private: class CreateBackendCallbackShim; class EntryImpl; @@ -102,7 +99,6 @@ class CONTENT_EXPORT AppCacheDiskCache void AddOpenEntry(EntryImpl* entry) { open_entries_.insert(entry); } void RemoveOpenEntry(EntryImpl* entry) { open_entries_.erase(entry); } - bool use_simple_cache_; bool is_disabled_; net::CompletionCallback init_callback_; scoped_refptr<CreateBackendCallbackShim> create_backend_callback_; |