summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_group.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 01:18:13 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 01:18:13 +0000
commit64144178c9070dd0e08abf0a70c5da87af0f1722 (patch)
treeab523e1e230670629abf8105a557e4f1d2da5599 /webkit/appcache/appcache_group.h
parent43c6dae7c9d9dc3cf639a4ada168d880b800e34b (diff)
downloadchromium_src-64144178c9070dd0e08abf0a70c5da87af0f1722.zip
chromium_src-64144178c9070dd0e08abf0a70c5da87af0f1722.tar.gz
chromium_src-64144178c9070dd0e08abf0a70c5da87af0f1722.tar.bz2
A mind numbing change to add the notion of a persistent groupId, and to get rid of the notion of an entryId.
TEST=existing tests apply BUG=none Review URL: http://codereview.chromium.org/432012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_group.h')
-rw-r--r--webkit/appcache/appcache_group.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h
index 166ec21..efe8049 100644
--- a/webkit/appcache/appcache_group.h
+++ b/webkit/appcache/appcache_group.h
@@ -37,13 +37,15 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
DOWNLOADING,
};
- AppCacheGroup(AppCacheService* service, const GURL& manifest_url);
+ AppCacheGroup(AppCacheService* service, const GURL& manifest_url,
+ int64 group_id);
// Adds/removes an update observer, the AppCacheGroup does not take
// ownership of the observer.
void AddUpdateObserver(UpdateObserver* observer);
void RemoveUpdateObserver(UpdateObserver* observer);
+ const int64 group_id() const { return group_id_; }
const GURL& manifest_url() const { return manifest_url_; }
bool is_obsolete() const { return is_obsolete_; }
@@ -88,7 +90,8 @@ class AppCacheGroup : public base::RefCounted<AppCacheGroup> {
const Caches& old_caches() const { return old_caches_; }
- GURL manifest_url_;
+ const int64 group_id_;
+ const GURL manifest_url_;
UpdateStatus update_status_;
bool is_obsolete_;