Home
last modified time | relevance | path

Searched refs:update_job_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/browser/appcache/
Dappcache_group.cc47 update_job_(NULL), in AppCacheGroup()
62 if (update_job_) in ~AppCacheGroup()
63 delete update_job_; in ~AppCacheGroup()
161 if (!update_job_) in StartUpdateWithNewMasterEntry()
162 update_job_ = new AppCacheUpdateJob(storage_->service(), this); in StartUpdateWithNewMasterEntry()
164 update_job_->StartUpdate(host, new_master_resource); in StartUpdateWithNewMasterEntry()
174 if (update_job_) { in CancelUpdate()
175 delete update_job_; in CancelUpdate()
176 DCHECK(!update_job_); in CancelUpdate()
183 DCHECK(update_job_ && host && !new_master_resource.is_empty()); in QueueUpdate()
[all …]
Dappcache_group_unittest.cc222 AppCacheUpdateJob* update = group->update_job_; in TEST_F()
227 EXPECT_EQ(update, group->update_job_); in TEST_F()
231 EXPECT_TRUE(group->update_job_ == NULL); in TEST_F()
243 AppCacheUpdateJob* update = group->update_job_; in TEST_F()
262 EXPECT_TRUE(group->update_job_); in TEST_F()
265 group->update_job_->internal_state_ = AppCacheUpdateJob::REFETCH_MANIFEST; in TEST_F()
266 EXPECT_TRUE(group->update_job_->IsTerminating()); in TEST_F()
280 delete group->update_job_; in TEST_F()
288 EXPECT_TRUE(group->update_job_); in TEST_F()
291 EXPECT_FALSE(group->update_job_->pending_master_entries_.empty()); in TEST_F()
[all …]
Dappcache_update_job_unittest.cc631 group_->update_job_ = update; in StartCacheAttemptTest()
686 group_->update_job_ = update; in StartUpgradeAttemptTest()
731 group_->update_job_ = update; in CacheAttemptFetchManifestFailTest()
758 group_->update_job_ = update; in UpgradeFetchManifestFailTest()
801 group_->update_job_ = update; in ManifestRedirectTest()
828 group_->update_job_ = update; in ManifestMissingMimeTypeTest()
865 group_->update_job_ = update; in ManifestNotFoundTest()
902 group_->update_job_ = update; in ManifestGoneTest()
928 group_->update_job_ = update; in CacheAttemptNotModifiedTest()
954 group_->update_job_ = update; in UpgradeNotModifiedTest()
[all …]
Dappcache_group.h115 AppCacheUpdateJob* update_job() { return update_job_; } in update_job()
145 AppCacheUpdateJob* update_job_; variable