Lines Matching refs:group2
387 scoped_refptr<AppCacheGroup> group2(
392 group2->AddCache(cache3);
396 group2->AddCache(cache4);
400 EXPECT_EQ(cache4, host.swappable_cache_.get()); // newest cache in group2
405 EXPECT_FALSE(group2->HasCache()); // both caches in group2 have refcount 0
410 group2->AddCache(cache5);
411 host.group_being_updated_ = group2;
412 host.OnUpdateComplete(group2.get());
416 group2->RemoveCache(cache5);
417 EXPECT_FALSE(group2->HasCache());
418 host.group_being_updated_ = group2;
419 host.OnUpdateComplete(group2.get());
421 EXPECT_FALSE(host.swappable_cache_.get()); // group2 had no newest cache