Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Issue 2111243003: [CacheStorage] Keep deleted caches alive until last reference is gone (Closed)

Created:
4 years, 5 months ago by jkarlin
Modified:
4 years, 5 months ago
Reviewers:
nhiroki
CC:
chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CacheStorage] Keep deleted caches alive until last reference is gone Currently once a cache is deleted via CacheStorage::Delete the associated CacheStorageCache is closed and subsequent calls to it fail. This CL keeps the CacheStorageCache alive, waiting to delete it from disk until after the last cache handle has been dropped. This change is to conform with the spec. BUG=618646 Committed: https://crrev.com/0903d9b86a61912208efe95f24d0c79099ebf371 Cr-Commit-Position: refs/heads/master@{#403837}

Patch Set 1 #

Patch Set 2 : Nits #

Patch Set 3 : More nits #

Total comments: 4

Patch Set 4 : Address comments from PS3 #

Messages

Total messages: 15 (6 generated)
jkarlin
nhiroki@ PTAL, thanks!
4 years, 5 months ago (2016-07-01 18:47:15 UTC) #3
nhiroki
lgtm https://codereview.chromium.org/2111243003/diff/40001/content/browser/cache_storage/cache_storage.cc File content/browser/cache_storage/cache_storage.cc (right): https://codereview.chromium.org/2111243003/diff/40001/content/browser/cache_storage/cache_storage.cc#newcode213 content/browser/cache_storage/cache_storage.cc:213: void StoreCacheHandle(const std::string& cache_name, It looks like no ...
4 years, 5 months ago (2016-07-04 04:19:34 UTC) #4
nhiroki
> This change is to conform with the spec. Should we have a layout test ...
4 years, 5 months ago (2016-07-04 04:22:13 UTC) #5
jkarlin
Also added layout test. PTAL, thanks! https://codereview.chromium.org/2111243003/diff/40001/content/browser/cache_storage/cache_storage.cc File content/browser/cache_storage/cache_storage.cc (right): https://codereview.chromium.org/2111243003/diff/40001/content/browser/cache_storage/cache_storage.cc#newcode213 content/browser/cache_storage/cache_storage.cc:213: void StoreCacheHandle(const std::string& ...
4 years, 5 months ago (2016-07-06 00:35:33 UTC) #7
nhiroki
lgtm
4 years, 5 months ago (2016-07-06 00:59:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111243003/80001
4 years, 5 months ago (2016-07-06 01:23:47 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 5 months ago (2016-07-06 02:04:33 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 02:04:43 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 02:05:59 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0903d9b86a61912208efe95f24d0c79099ebf371
Cr-Commit-Position: refs/heads/master@{#403837}

Powered by Google App Engine
This is Rietveld 408576698