Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/appcache/
Dappcache_host_unittest.cc359 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
364 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
370 EXPECT_EQ(cache1, host.swappable_cache_.get()); in TEST_F()
375 EXPECT_FALSE(host.swappable_cache_.get()); // was same as associated cache in TEST_F()
385 EXPECT_EQ(cache2, host.swappable_cache_.get()); // updated to newest in TEST_F()
397 EXPECT_EQ(cache2, host.swappable_cache_.get()); // unchanged in TEST_F()
400 EXPECT_EQ(cache4, host.swappable_cache_.get()); // newest cache in group2 in TEST_F()
404 EXPECT_FALSE(host.swappable_cache_.get()); in TEST_F()
414 EXPECT_EQ(cache5, host.swappable_cache_.get()); in TEST_F()
421 EXPECT_FALSE(host.swappable_cache_.get()); // group2 had no newest cache in TEST_F()
Dappcache_host.cc256 } else if (swappable_cache_.get()) { in DoPendingSwapCache()
257 DCHECK(swappable_cache_.get() == in DoPendingSwapCache()
258 swappable_cache_->owning_group()->newest_complete_cache()); in DoPendingSwapCache()
260 AssociateCompleteCache(swappable_cache_.get()); in DoPendingSwapCache()
333 if (swappable_cache_.get()) in GetStatus()
466 swappable_cache_ = NULL; in SetSwappableCache()
470 swappable_cache_ = new_cache; in SetSwappableCache()
472 swappable_cache_ = NULL; in SetSwappableCache()
Dappcache_host.h247 scoped_refptr<AppCache> swappable_cache_; variable