summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_group_unittest.cc
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 17:36:37 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 17:36:37 +0000
commit7731bf2f4de4eb5a02b5dc95ac3edcea6e5b4abf (patch)
treef81e8c1a7c705565746dc18bfb9ef0e3d80dd38c /webkit/appcache/appcache_group_unittest.cc
parent8fff20b5a494b253e3aa316e552b39aa31e179ae (diff)
downloadchromium_src-7731bf2f4de4eb5a02b5dc95ac3edcea6e5b4abf.zip
chromium_src-7731bf2f4de4eb5a02b5dc95ac3edcea6e5b4abf.tar.gz
chromium_src-7731bf2f4de4eb5a02b5dc95ac3edcea6e5b4abf.tar.bz2
Made application cache manifest URL always available for DevTools.
BUG=102680 TEST=None Review URL: http://codereview.chromium.org/8438043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_group_unittest.cc')
-rw-r--r--webkit/appcache/appcache_group_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_group_unittest.cc b/webkit/appcache/appcache_group_unittest.cc
index c42722c..26eb5ca 100644
--- a/webkit/appcache/appcache_group_unittest.cc
+++ b/webkit/appcache/appcache_group_unittest.cc
@@ -183,12 +183,12 @@ TEST(AppCacheGroupTest, CleanupUnusedGroup) {
group->AddCache(cache1);
EXPECT_EQ(cache1, group->newest_complete_cache());
- host1.AssociateCache(cache1);
+ host1.AssociateCompleteCache(cache1);
EXPECT_EQ(frontend.last_host_id_, host1.host_id());
EXPECT_EQ(frontend.last_cache_id_, cache1->cache_id());
EXPECT_EQ(frontend.last_status_, appcache::IDLE);
- host2.AssociateCache(cache1);
+ host2.AssociateCompleteCache(cache1);
EXPECT_EQ(frontend.last_host_id_, host2.host_id());
EXPECT_EQ(frontend.last_cache_id_, cache1->cache_id());
EXPECT_EQ(frontend.last_status_, appcache::IDLE);
@@ -200,8 +200,8 @@ TEST(AppCacheGroupTest, CleanupUnusedGroup) {
EXPECT_EQ(cache2, group->newest_complete_cache());
// Unassociate all hosts from older cache.
- host1.AssociateCache(NULL);
- host2.AssociateCache(NULL);
+ host1.AssociateNoCache(GURL());
+ host2.AssociateNoCache(GURL());
EXPECT_EQ(frontend.last_host_id_, host2.host_id());
EXPECT_EQ(frontend.last_cache_id_, appcache::kNoCacheId);
EXPECT_EQ(frontend.last_status_, appcache::UNCACHED);