diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-10 02:11:41 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-10 02:11:41 +0000 |
commit | 3da9e382813c630d1e650ace8e79c41d8ccb4a19 (patch) | |
tree | 243156eb55a8d4ecd59eca608a63211e246b7187 /webkit/appcache/appcache_unittest.cc | |
parent | 8f8a28704dac9cc099dea906383a4d4533a7b89e (diff) | |
download | chromium_src-3da9e382813c630d1e650ace8e79c41d8ccb4a19.zip chromium_src-3da9e382813c630d1e650ace8e79c41d8ccb4a19.tar.gz chromium_src-3da9e382813c630d1e650ace8e79c41d8ccb4a19.tar.bz2 |
applicationCache.swap(), applicationCache.update() and applicationCache.status scriptable API impls
TEST=manual and existing unittests
BUG=none
Review URL: http://codereview.chromium.org/379003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_unittest.cc b/webkit/appcache/appcache_unittest.cc index 12f8b30..d188550 100644 --- a/webkit/appcache/appcache_unittest.cc +++ b/webkit/appcache/appcache_unittest.cc @@ -18,6 +18,9 @@ TEST(AppCacheTest, CleanupUnusedCache) { AppCacheFrontendImpl frontend; scoped_refptr<AppCache> cache(new AppCache(&service, 111)); cache->set_complete(true); + scoped_refptr<AppCacheGroup> group( + new AppCacheGroup(&service, GURL("http://blah/manifest"))); + group->AddCache(cache); AppCacheHost host1(1, &frontend, &service); AppCacheHost host2(2, &frontend, &service); |