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/appcache_group_unittest.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/appcache_group_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_group_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_group_unittest.cc b/webkit/appcache/appcache_group_unittest.cc index aca8552..81280e7 100644 --- a/webkit/appcache/appcache_group_unittest.cc +++ b/webkit/appcache/appcache_group_unittest.cc @@ -62,7 +62,7 @@ class AppCacheGroupTest : public testing::Test { TEST(AppCacheGroupTest, AddRemoveCache) { MockAppCacheService service; scoped_refptr<AppCacheGroup> group = - new AppCacheGroup(&service, GURL::EmptyGURL()); + new AppCacheGroup(&service, GURL::EmptyGURL(), 111); base::TimeTicks ticks = base::TimeTicks::Now(); @@ -131,7 +131,7 @@ TEST(AppCacheGroupTest, AddRemoveCache) { TEST(AppCacheGroupTest, CleanupUnusedGroup) { MockAppCacheService service; TestAppCacheFrontend frontend; - AppCacheGroup* group = new AppCacheGroup(&service, GURL::EmptyGURL()); + AppCacheGroup* group = new AppCacheGroup(&service, GURL::EmptyGURL(), 111); AppCacheHost host1(1, &frontend, &service); AppCacheHost host2(2, &frontend, &service); @@ -171,7 +171,7 @@ TEST(AppCacheGroupTest, CleanupUnusedGroup) { TEST(AppCacheGroupTest, StartUpdate) { MockAppCacheService service; scoped_refptr<AppCacheGroup> group = - new AppCacheGroup(&service, GURL("http://foo.com")); + new AppCacheGroup(&service, GURL("http://foo.com"), 111); // Set state to checking to prevent update job from executing fetches. group->update_status_ = AppCacheGroup::CHECKING; @@ -192,7 +192,7 @@ TEST(AppCacheGroupTest, StartUpdate) { TEST(AppCacheGroupTest, CancelUpdate) { MockAppCacheService service; scoped_refptr<AppCacheGroup> group = - new AppCacheGroup(&service, GURL("http://foo.com")); + new AppCacheGroup(&service, GURL("http://foo.com"), 111); // Set state to checking to prevent update job from executing fetches. group->update_status_ = AppCacheGroup::CHECKING; |