diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 01:18:13 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-24 01:18:13 +0000 |
commit | 64144178c9070dd0e08abf0a70c5da87af0f1722 (patch) | |
tree | ab523e1e230670629abf8105a557e4f1d2da5599 /webkit/appcache/mock_appcache_storage.cc | |
parent | 43c6dae7c9d9dc3cf639a4ada168d880b800e34b (diff) | |
download | chromium_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/mock_appcache_storage.cc')
-rw-r--r-- | webkit/appcache/mock_appcache_storage.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/appcache/mock_appcache_storage.cc b/webkit/appcache/mock_appcache_storage.cc index cf93338..214be249 100644 --- a/webkit/appcache/mock_appcache_storage.cc +++ b/webkit/appcache/mock_appcache_storage.cc @@ -35,7 +35,6 @@ MockAppCacheStorage::MockAppCacheStorage(AppCacheService* service) simulated_found_cache_id_(kNoCacheId), simulated_found_network_namespace_(false) { last_cache_id_ = 0; - last_entry_id_ = 0; last_group_id_ = 0; last_response_id_ = 0; } @@ -175,7 +174,7 @@ void MockAppCacheStorage::ProcessLoadOrCreateGroup( // Newly created groups are not put in the stored_groups collection // until StoreGroupAndNewestCache is called. if (!group) - group = new AppCacheGroup(service_, manifest_url); + group = new AppCacheGroup(service_, manifest_url, NewGroupId()); if (delegate_ref->delegate) delegate_ref->delegate->OnGroupLoaded(group, manifest_url); |