summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_group.h
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 23:40:02 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 23:40:02 +0000
commitd68a4fc6f448c6ebf407e2817320e7736c4735ee (patch)
treed76e2c91aa67af5a880ec81eddcbf2d12887e865 /webkit/appcache/appcache_group.h
parent63eb6c0bebc31046bbd954ef21dee86dca9d7fe3 (diff)
downloadchromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.zip
chromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.tar.gz
chromium_src-d68a4fc6f448c6ebf407e2817320e7736c4735ee.tar.bz2
Hook up the content settings UI to the appcache.
* Populate the tree view with appcaches * Delete selected appcaches from the tree view * Delete the date range indicated in the browsing data remover TEST=manual BUG=34634 Review URL: http://codereview.chromium.org/660423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_group.h')
-rw-r--r--webkit/appcache/appcache_group.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h
index 1558b5a8..c1bb1fc 100644
--- a/webkit/appcache/appcache_group.h
+++ b/webkit/appcache/appcache_group.h
@@ -55,6 +55,9 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
bool is_obsolete() const { return is_obsolete_; }
void set_obsolete(bool value) { is_obsolete_ = value; }
+ bool is_being_deleted() const { return is_being_deleted_; }
+ void set_being_deleted(bool value) { is_being_deleted_ = value; }
+
AppCache* newest_complete_cache() const { return newest_complete_cache_; }
void AddCache(AppCache* complete_cache);
@@ -81,6 +84,9 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
void StartUpdateWithNewMasterEntry(AppCacheHost* host,
const GURL& new_master_resource);
+ // Cancels an update if one is running.
+ void CancelUpdate();
+
private:
class HostObserver;
@@ -113,6 +119,7 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
const GURL manifest_url_;
UpdateStatus update_status_;
bool is_obsolete_;
+ bool is_being_deleted_;
std::vector<int64> newly_deletable_response_ids_;
// Old complete app caches.