Home
last modified time | relevance | path

Searched refs:newest_complete_cache (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/content/browser/appcache/
Dappcache_group_unittest.cc114 EXPECT_EQ(cache1.get(), group->newest_complete_cache()); in TEST_F()
121 EXPECT_EQ(cache1.get(), group->newest_complete_cache()); in TEST_F()
128 EXPECT_EQ(cache3.get(), group->newest_complete_cache()); in TEST_F()
135 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); in TEST_F()
142 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // no change in TEST_F()
147 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
152 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
155 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
158 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
161 EXPECT_FALSE(group->newest_complete_cache()); // no more newest cache in TEST_F()
[all …]
Dappcache_update_job.cc497 group_->newest_complete_cache()->GetEntry(manifest_url_) : NULL; in FetchManifest()
776 : group_->newest_complete_cache(); in HandleMasterEntryFetchCompleted()
789 DCHECK(cache == group_->newest_complete_cache()); in HandleMasterEntryFetchCompleted()
947 newest_cache = group_->newest_complete_cache(); in StoreGroupAndCache()
968 if (newest_cache != group->newest_complete_cache()) in OnGroupAndNewestCacheStored()
1039 AppCache* newest_cache = group_->newest_complete_cache(); in AddAllAssociatedHostsToNotifier()
1066 if (group_->newest_complete_cache()) in CheckIfManifestChanged()
1067 entry = group_->newest_complete_cache()->GetEntry(manifest_url_); in CheckIfManifestChanged()
1144 group_->newest_complete_cache()->entries(); in BuildUrlFileList()
1191 DCHECK(group_->newest_complete_cache()); in FetchUrls()
[all …]
Dmock_appcache_storage.cc223 if (newest_cache.get() != group->newest_complete_cache()) { in ProcessStoreGroupAndNewestCache()
337 AppCache* cache = group->newest_complete_cache(); in ProcessFindResponseForMainRequest()
432 if (group->newest_complete_cache()) in ProcessMakeGroupObsolete()
433 RemoveStoredCache(group->newest_complete_cache()); in ProcessMakeGroupObsolete()
511 if (!group->newest_complete_cache()) in ShouldGroupLoadAppearAsync()
517 if (!ShouldCacheLoadAppearAsync(group->newest_complete_cache())) in ShouldGroupLoadAppearAsync()
Dmock_appcache_storage_unittest.cc129 EXPECT_FALSE(delegate.loaded_group_->newest_complete_cache()); in TEST_F()
240 EXPECT_EQ(cache.get(), group->newest_complete_cache()); in TEST_F()
285 EXPECT_EQ(new_cache.get(), group->newest_complete_cache()); in TEST_F()
309 EXPECT_EQ(cache.get(), group->newest_complete_cache()); in TEST_F()
327 EXPECT_EQ(cache.get(), group->newest_complete_cache()); in TEST_F()
Dappcache_host.cc258 swappable_cache_->owning_group()->newest_complete_cache()); in DoPendingSwapCache()
440 newest_cache_of_group_being_updated_ = group->newest_complete_cache(); in ObserveGroupBeingUpdated()
468 AppCache* new_cache = group->newest_complete_cache(); in SetSwappableCache()
Dview_appcache_internals_job.cc512 if (group && group->newest_complete_cache()) { in OnGroupLoaded()
515 appcache_info_.size = group->newest_complete_cache()->cache_size(); in OnGroupLoaded()
518 group->newest_complete_cache()->update_time(); in OnGroupLoaded()
520 group->newest_complete_cache()->ToResourceInfoVector(&resource_infos_); in OnGroupLoaded()
Dappcache_group.h71 AppCache* newest_complete_cache() const { return newest_complete_cache_; } in newest_complete_cache() function
Dappcache_storage_impl_unittest.cc195 loaded_groups_newest_cache_ = group ? group->newest_complete_cache() in OnGroupLoaded()
531 EXPECT_FALSE(delegate()->loaded_group_->newest_complete_cache()); in Verify_CreateGroup()
590 EXPECT_TRUE(delegate()->loaded_group_->newest_complete_cache()); in Verify_LoadGroup_Far_Hit()
626 EXPECT_EQ(cache_.get(), group_->newest_complete_cache()); in Verify_StoreNewGroup()
670 EXPECT_EQ(cache2_.get(), group_->newest_complete_cache()); in Verify_StoreExistingGroup()
713 EXPECT_EQ(cache_.get(), group_->newest_complete_cache()); in StoreExistingGroupExistingCache()
721 EXPECT_EQ(cache_.get(), group_->newest_complete_cache()); in Verify_StoreExistingGroupExistingCache()
Dappcache_service_impl.cc356 if (!group || !group->newest_complete_cache() || group->is_being_deleted() || in OnGroupLoaded()
364 cache_ = group->newest_complete_cache(); in OnGroupLoaded()
Dappcache_update_job_unittest.cc3022 protect_newest_cache_ = group->newest_complete_cache(); in OnUpdateComplete()
3110 EXPECT_TRUE(group_->newest_complete_cache() != NULL); in VerifyExpectations()
3113 EXPECT_TRUE(!group_->newest_complete_cache()->update_time().is_null()); in VerifyExpectations()
3116 EXPECT_NE(expect_old_cache_, group_->newest_complete_cache()); in VerifyExpectations()
3122 EXPECT_EQ(expect_newest_cache_, group_->newest_complete_cache()); in VerifyExpectations()
3134 EXPECT_TRUE(storage->IsCacheStored(group_->newest_complete_cache())); in VerifyExpectations()
3138 group_->newest_complete_cache()->entries(); in VerifyExpectations()
3157 EXPECT_TRUE(group_->newest_complete_cache() == NULL); in VerifyExpectations()
3193 AppCache* cache = group_->newest_complete_cache(); in VerifyExpectations()
Dappcache_storage_impl.cc476 DCHECK(group->get()->newest_complete_cache() == cache->get()); in CreateCacheAndGroupFromRecords()
776 if (cache_.get() != group_->newest_complete_cache()) { in RunCompleted()
895 AppCache* cache = group->newest_complete_cache(); in FindMainResponseTask()
1542 AppCache* cache = group->newest_complete_cache(); in FindResponseForMainRequestInGroup()