/external/chromium_org/webkit/browser/appcache/ |
D | appcache_group.cc | 20 class AppCacheGroup; 25 class AppCacheGroup::HostObserver : public AppCacheHost::Observer { 27 explicit HostObserver(AppCacheGroup* group) : group_(group) {} in HostObserver() 35 AppCacheGroup* group_; 38 AppCacheGroup::AppCacheGroup(AppCacheStorage* storage, in AppCacheGroup() function in appcache::AppCacheGroup 54 AppCacheGroup::~AppCacheGroup() { in ~AppCacheGroup() 70 void AppCacheGroup::AddUpdateObserver(UpdateObserver* observer) { in AddUpdateObserver() 80 void AppCacheGroup::RemoveUpdateObserver(UpdateObserver* observer) { in RemoveUpdateObserver() 85 void AppCacheGroup::AddCache(AppCache* complete_cache) { in AddCache() 112 void AppCacheGroup::RemoveCache(AppCache* cache) { in RemoveCache() [all …]
|
D | appcache_group_unittest.cc | 66 class TestUpdateObserver : public AppCacheGroup::UpdateObserver { 71 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE { in OnUpdateComplete() 76 virtual void OnContentBlocked(AppCacheGroup* group) { in OnContentBlocked() 91 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE { in OnUpdateComplete() 105 scoped_refptr<AppCacheGroup> group( in TEST_F() 106 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111)); in TEST_F() 176 AppCacheGroup* group = in TEST_F() 177 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111); in TEST_F() 216 scoped_refptr<AppCacheGroup> group( in TEST_F() 217 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111)); in TEST_F() [all …]
|
D | mock_appcache_storage.h | 38 virtual void StoreGroupAndNewestCache(AppCacheGroup* group, 50 virtual void MakeGroupObsolete(AppCacheGroup* group, 70 typedef std::map<GURL, scoped_refptr<AppCacheGroup> > StoredGroupMap; 79 scoped_refptr<AppCacheGroup> group, scoped_refptr<AppCache> newest_cache, 82 scoped_refptr<AppCacheGroup> group, 92 void RemoveStoredCaches(const AppCacheGroup::Caches& caches); 97 void AddStoredGroup(AppCacheGroup* group); 98 void RemoveStoredGroup(AppCacheGroup* group); 99 bool IsGroupStored(const AppCacheGroup* group) { in IsGroupStored() 110 bool ShouldGroupLoadAppearAsync(const AppCacheGroup* group);
|
D | mock_appcache_storage.cc | 71 AppCacheGroup* group = working_set_.GetGroup(manifest_url); in LoadOrCreateGroup() 84 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) { in StoreGroupAndNewestCache() 143 AppCacheGroup* group, Delegate* delegate) { in MakeGroupObsolete() 196 scoped_refptr<AppCacheGroup> group(working_set_.GetGroup(manifest_url)); in ProcessLoadOrCreateGroup() 201 group = new AppCacheGroup(service_->storage(), manifest_url, NewGroupId()); in ProcessLoadOrCreateGroup() 208 scoped_refptr<AppCacheGroup> group, in ProcessStoreGroupAndNewestCache() 227 AppCacheGroup::Caches copy = group->old_caches(); in ProcessStoreGroupAndNewestCache() 258 AppCacheGroup* group) { in MaybeTakeNewNamespaceEntry() 333 AppCacheGroup* group = it->second.get(); in ProcessFindResponseForMainRequest() 417 scoped_refptr<AppCacheGroup> group, in ProcessMakeGroupObsolete() [all …]
|
D | appcache_group.h | 30 class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheGroup 31 : public base::RefCounted<AppCacheGroup> { 37 virtual void OnUpdateComplete(AppCacheGroup* group) = 0; 47 AppCacheGroup(AppCacheStorage* storage, const GURL& manifest_url, 99 friend class base::RefCounted<AppCacheGroup>; 102 ~AppCacheGroup(); 162 DISALLOW_COPY_AND_ASSIGN(AppCacheGroup);
|
D | mock_appcache_storage_unittest.cc | 29 virtual void OnGroupLoaded(AppCacheGroup* group, in OnGroupLoaded() 36 AppCacheGroup* group, AppCache* newest_cache, bool success, in OnGroupAndNewestCacheStored() 42 virtual void OnGroupMadeObsolete(AppCacheGroup* group, in OnGroupMadeObsolete() 65 scoped_refptr<AppCacheGroup> loaded_group_; 67 scoped_refptr<AppCacheGroup> stored_group_; 69 scoped_refptr<AppCacheGroup> obsoleted_group_; 148 scoped_refptr<AppCacheGroup> group; in TEST_F() 169 scoped_refptr<AppCacheGroup> group( in TEST_F() 170 new AppCacheGroup(service.storage(), manifest_url, 111)); in TEST_F() 182 AppCacheGroup* group_ptr = group.get(); in TEST_F() [all …]
|
D | appcache_working_set.h | 17 class AppCacheGroup; variable 24 typedef std::map<GURL, AppCacheGroup*> GroupMap; 39 void AddGroup(AppCacheGroup* group); 40 void RemoveGroup(AppCacheGroup* group); 41 AppCacheGroup* GetGroup(const GURL& manifest_url) { in GetGroup()
|
D | appcache_host.h | 37 public AppCacheGroup::UpdateObserver, 123 void SetSwappableCache(AppCacheGroup* group); 169 virtual void OnGroupLoaded(AppCacheGroup* group, 175 void FinishCacheSelection(AppCache* cache, AppCacheGroup* group); 180 void ObserveGroupBeingUpdated(AppCacheGroup* group); 183 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE; 227 scoped_refptr<AppCacheGroup> group_being_updated_;
|
D | appcache.h | 28 class AppCacheGroup; variable 45 AppCacheGroup* owning_group() const { return owning_group_.get(); } in owning_group() 123 const AppCacheGroup* group, 143 friend class AppCacheGroup; 152 void set_owning_group(AppCacheGroup* group) { owning_group_ = group; } in set_owning_group() 175 scoped_refptr<AppCacheGroup> owning_group_;
|
D | appcache_storage.h | 26 class AppCacheGroup; variable 47 AppCacheGroup* group, const GURL& manifest_url) {} in OnGroupLoaded() 51 AppCacheGroup* group, AppCache* newest_cache, bool success, in OnGroupAndNewestCacheStored() 55 virtual void OnGroupMadeObsolete(AppCacheGroup* group, bool success) {} in OnGroupMadeObsolete() 118 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) = 0; 144 AppCacheGroup* group, Delegate* delegate) = 0;
|
D | appcache_test_helper.cc | 27 AppCacheGroup* /*group*/, in OnGroupAndNewestCacheStored() argument 37 AppCacheGroup* appcache_group = in AddGroupAndCache() 38 new AppCacheGroup(appcache_service->storage(), in AddGroupAndCache()
|
D | appcache_update_job_unittest.cc | 590 public AppCacheGroup::UpdateObserver { 623 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"), in StartCacheAttemptTest() 638 EXPECT_EQ(AppCacheGroup::CHECKING, group_->update_status()); in StartCacheAttemptTest() 658 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"), in StartUpgradeAttemptTest() 689 EXPECT_EQ(AppCacheGroup::CHECKING, group_->update_status()); in StartUpgradeAttemptTest() 724 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"), in CacheAttemptFetchManifestFailTest() 751 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"), in UpgradeFetchManifestFailTest() 794 group_ = new AppCacheGroup(service_->storage(), GURL("http://testme"), in ManifestRedirectTest() 819 group_ = new AppCacheGroup( in ManifestMissingMimeTypeTest() 857 group_ = new AppCacheGroup( in ManifestNotFoundTest() [all …]
|
D | appcache_service.cc | 146 appcache::AppCacheGroup* group, const GURL& manifest_url) OVERRIDE; 148 appcache::AppCacheGroup* group, bool success) OVERRIDE; 155 appcache::AppCacheGroup* group, const GURL& manifest_url) { in OnGroupLoaded() 167 appcache::AppCacheGroup* group, bool success) { in OnGroupMadeObsolete() 192 appcache::AppCacheGroup* group, const GURL& manifest_url) OVERRIDE; 194 appcache::AppCacheGroup* group, bool success) OVERRIDE; 236 appcache::AppCacheGroup* group, const GURL& manifest_url) { in OnGroupLoaded() 247 appcache::AppCacheGroup* group, bool success) { in OnGroupMadeObsolete() 324 virtual void OnGroupLoaded(AppCacheGroup* group, 347 AppCacheGroup* group, const GURL& manifest_url) { in OnGroupLoaded()
|
D | appcache_host.cc | 215 AppCacheGroup* group = associated_cache_->owning_group(); in DoPendingStartUpdate() 323 if (cache->owning_group()->update_status() == AppCacheGroup::CHECKING) in GetStatus() 325 if (cache->owning_group()->update_status() == AppCacheGroup::DOWNLOADING) in GetStatus() 338 void AppCacheHost::OnGroupLoaded(AppCacheGroup* group, in OnGroupLoaded() 362 AppCache *cache, AppCacheGroup* group) { in FinishCacheSelection() 374 AppCacheGroup* owing_group = cache->owning_group(); in FinishCacheSelection() 431 void AppCacheHost::ObserveGroupBeingUpdated(AppCacheGroup* group) { in ObserveGroupBeingUpdated() 438 void AppCacheHost::OnUpdateComplete(AppCacheGroup* group) { in OnUpdateComplete() 458 void AppCacheHost::SetSwappableCache(AppCacheGroup* group) { in SetSwappableCache()
|
D | appcache_storage_impl.h | 45 virtual void StoreGroupAndNewestCache(AppCacheGroup* group, 57 virtual void MakeGroupObsolete(AppCacheGroup* group, 121 AppCacheGroup* group, const GURL& url, Delegate* delegate); 125 scoped_refptr<AppCacheGroup> group,
|
D | appcache_storage_impl.cc | 388 scoped_refptr<AppCache>* cache, scoped_refptr<AppCacheGroup>* group); 412 scoped_refptr<AppCache>* cache, scoped_refptr<AppCacheGroup>* group) { in CreateCacheAndGroupFromRecords() 450 (*group) = new AppCacheGroup( in CreateCacheAndGroupFromRecords() 514 scoped_refptr<AppCacheGroup> group; in RunCompleted() 555 scoped_refptr<AppCacheGroup> group; in RunCompleted() 565 new AppCacheGroup(storage_, manifest_url_, storage_->NewGroupId()); in RunCompleted() 576 StoreGroupAndCacheTask(AppCacheStorageImpl* storage, AppCacheGroup* group, 592 scoped_refptr<AppCacheGroup> group_; 602 AppCacheStorageImpl* storage, AppCacheGroup* group, AppCache* newest_cache) in StoreGroupAndCacheTask() 876 AppCacheGroup* group = it->second; in FindMainResponseTask() [all …]
|
D | appcache_update_job.h | 38 AppCacheUpdateJob(AppCacheService* service, AppCacheGroup* group); 155 virtual void OnGroupAndNewestCacheStored(AppCacheGroup* group, 159 virtual void OnGroupMadeObsolete(AppCacheGroup* group, bool success) OVERRIDE; 255 AppCacheGroup* group_;
|
D | appcache_working_set.cc | 45 void AppCacheWorkingSet::AddGroup(AppCacheGroup* group) { in AddGroup() 54 void AppCacheWorkingSet::RemoveGroup(AppCacheGroup* group) { in RemoveGroup()
|
D | appcache_update_job.cc | 299 AppCacheGroup* group) in AppCacheUpdateJob() 326 group_->SetUpdateStatus(AppCacheGroup::IDLE); in ~AppCacheUpdateJob() 355 AppCacheGroup::UpdateStatus update_status = group_->update_status(); in StartUpdate() 356 if (update_status == AppCacheGroup::CHECKING || in StartUpdate() 357 update_status == AppCacheGroup::DOWNLOADING) { in StartUpdate() 360 if (update_status == AppCacheGroup::DOWNLOADING) in StartUpdate() 373 group_->SetUpdateStatus(AppCacheGroup::CHECKING); in StartUpdate() 476 void AppCacheUpdateJob::OnGroupMadeObsolete(AppCacheGroup* group, in OnGroupMadeObsolete() 533 group_->SetUpdateStatus(AppCacheGroup::DOWNLOADING); in ContinueHandleManifestFetchCompleted() 768 void AppCacheUpdateJob::OnGroupAndNewestCacheStored(AppCacheGroup* group, in OnGroupAndNewestCacheStored() [all …]
|
D | appcache_test_helper.h | 29 appcache::AppCacheGroup* group,
|
D | appcache_storage_unittest.cc | 45 scoped_refptr<AppCacheGroup> group( in TEST_F() 46 new AppCacheGroup(service.storage(), GURL(), 111)); in TEST_F()
|
D | appcache_host_unittest.cc | 360 scoped_refptr<AppCacheGroup> group1(new AppCacheGroup( in TEST_F() 386 scoped_refptr<AppCacheGroup> group2( in TEST_F() 387 new AppCacheGroup(service_.storage(), GURL("http://foo.com"), in TEST_F()
|
D | appcache_service_unittest.cc | 124 scoped_refptr<AppCacheGroup> group( in SetupMockGroup() 125 new AppCacheGroup(service_->storage(), kManifestUrl, kMockGroupId)); in SetupMockGroup()
|
D | appcache_storage_impl_unittest.cc | 190 virtual void OnGroupLoaded(AppCacheGroup* group, in OnGroupLoaded() 200 AppCacheGroup* group, AppCache* newest_cache, bool success, in OnGroupAndNewestCacheStored() 208 virtual void OnGroupMadeObsolete(AppCacheGroup* group, in OnGroupMadeObsolete() 234 scoped_refptr<AppCacheGroup> loaded_group_; 237 scoped_refptr<AppCacheGroup> stored_group_; 240 scoped_refptr<AppCacheGroup> obsoleted_group_; 607 group_ = new AppCacheGroup( in StoreNewGroup() 761 group_ = new AppCacheGroup( in FailStoreGroup() 1789 group_ = new AppCacheGroup(storage(), manifest_url, group_id); in MakeCacheAndGroup() 1827 scoped_refptr<AppCacheGroup> group_;
|
D | appcache_unittest.cc | 44 scoped_refptr<AppCacheGroup> group( in TEST() 45 new AppCacheGroup(service.storage(), GURL("http://blah/manifest"), 111)); in TEST() 558 scoped_refptr<AppCacheGroup> group = in TEST() 559 new AppCacheGroup(service.storage(), kManifestUrl, kGroupId); in TEST()
|