Home
last modified time | relevance | path

Searched refs:swappable_cache_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/webkit/browser/appcache/
Dappcache_host.cc250 } else if (swappable_cache_.get()) { in DoPendingSwapCache()
251 DCHECK(swappable_cache_.get() == in DoPendingSwapCache()
252 swappable_cache_->owning_group()->newest_complete_cache()); in DoPendingSwapCache()
254 AssociateCompleteCache(swappable_cache_.get()); in DoPendingSwapCache()
327 if (swappable_cache_.get()) in GetStatus()
460 swappable_cache_ = NULL; in SetSwappableCache()
464 swappable_cache_ = new_cache; in SetSwappableCache()
466 swappable_cache_ = NULL; in SetSwappableCache()
Dappcache_host_unittest.cc358 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
363 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
369 EXPECT_EQ(cache1, host.swappable_cache_.get()); in TEST_F()
374 EXPECT_FALSE(host.swappable_cache_.get()); // was same as associated cache in TEST_F()
384 EXPECT_EQ(cache2, host.swappable_cache_.get()); // updated to newest in TEST_F()
396 EXPECT_EQ(cache2, host.swappable_cache_.get()); // unchanged in TEST_F()
399 EXPECT_EQ(cache4, host.swappable_cache_.get()); // newest cache in group2 in TEST_F()
403 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
413 EXPECT_EQ(cache5, host.swappable_cache_.get()); in TEST_F()
420 EXPECT_FALSE(host.swappable_cache_.get()); // group2 had no newest cache in TEST_F()
Dappcache_host.h224 scoped_refptr<AppCache> swappable_cache_; variable