diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 20:57:50 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-13 20:57:50 +0000 |
commit | a84e7b5ec1cbdfe2d6943693d8bd71fcb6c64ce7 (patch) | |
tree | df6dbcf9a6bca8343355ffef01eeed49f6059b83 /webkit/appcache/appcache_group.h | |
parent | 45699d6054f62173d0cd9df0f43af65047d76d79 (diff) | |
download | chromium_src-a84e7b5ec1cbdfe2d6943693d8bd71fcb6c64ce7.zip chromium_src-a84e7b5ec1cbdfe2d6943693d8bd71fcb6c64ce7.tar.gz chromium_src-a84e7b5ec1cbdfe2d6943693d8bd71fcb6c64ce7.tar.bz2 |
Trigger the deletion of unused responses when caches are updated and made obsolete (deleted).
BUG=none
TEST=not yet
Review URL: http://codereview.chromium.org/542021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_group.h')
-rw-r--r-- | webkit/appcache/appcache_group.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h index e6f8972..3392eea 100644 --- a/webkit/appcache/appcache_group.h +++ b/webkit/appcache/appcache_group.h @@ -61,6 +61,8 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> { void RemoveCache(AppCache* cache); bool HasCache() const { return newest_complete_cache_ != NULL; } + void AddNewlyDeletableResponseIds(std::vector<int64>* response_ids); + UpdateStatus update_status() const { return update_status_; } // Starts an update via update() javascript API. @@ -111,6 +113,7 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> { const GURL manifest_url_; UpdateStatus update_status_; bool is_obsolete_; + std::vector<int64> newly_deletable_response_ids_; // Old complete app caches. Caches old_caches_; |