summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_storage_impl_unittest.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-24 01:38:36 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-24 01:38:36 +0000
commitdcd3de72cb870e3b70fdeadbb43acbbc35fc11ae (patch)
tree69e7255163d4c84fe54a60282b6c257cf6cd97df /webkit/appcache/appcache_storage_impl_unittest.cc
parentb13bfc4f2e0eeaf36827025920f783e41374dba9 (diff)
downloadchromium_src-dcd3de72cb870e3b70fdeadbb43acbbc35fc11ae.zip
chromium_src-dcd3de72cb870e3b70fdeadbb43acbbc35fc11ae.tar.gz
chromium_src-dcd3de72cb870e3b70fdeadbb43acbbc35fc11ae.tar.bz2
Fix for a big appcache storage bug. Now stores a record of the new master entry in the database even when there is no manifest update.
BUG=none TEST=manual and unittest Review URL: http://codereview.chromium.org/549127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_storage_impl_unittest.cc')
-rw-r--r--webkit/appcache/appcache_storage_impl_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_storage_impl_unittest.cc b/webkit/appcache/appcache_storage_impl_unittest.cc
index fac6319..01120a5 100644
--- a/webkit/appcache/appcache_storage_impl_unittest.cc
+++ b/webkit/appcache/appcache_storage_impl_unittest.cc
@@ -87,7 +87,8 @@ class AppCacheStorageImplTest : public testing::Test {
test_->ScheduleNextTask();
}
- void OnGroupAndNewestCacheStored(AppCacheGroup* group, bool success) {
+ void OnGroupAndNewestCacheStored(
+ AppCacheGroup* group, AppCache* newest_cache, bool success) {
stored_group_ = group;
stored_group_success_ = success;
test_->ScheduleNextTask();