HomeSort by relevance Sort by last modified time
    Searched refs:AppCacheGroup (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/content/browser/appcache/
appcache_group.cc 20 class AppCacheGroup;
22 // Use this helper class because we cannot make AppCacheGroup a derived class
24 // AppCacheHost and AppCacheGroup.
25 class AppCacheGroup::HostObserver : public AppCacheHost::Observer {
27 explicit HostObserver(AppCacheGroup* group) : group_(group) {}
35 AppCacheGroup* group_;
38 AppCacheGroup::AppCacheGroup(AppCacheStorage* storage,
54 AppCacheGroup::~AppCacheGroup() {
    [all...]
appcache_group_unittest.cc 66 class TestUpdateObserver : public AppCacheGroup::UpdateObserver {
71 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE {
76 virtual void OnContentBlocked(AppCacheGroup* group) {
91 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE {
105 scoped_refptr<AppCacheGroup> group(
106 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111));
176 AppCacheGroup* group =
177 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111);
216 scoped_refptr<AppCacheGroup> group(
217 new AppCacheGroup(service.storage(), GURL("http://foo.com"), 111))
    [all...]
appcache_group.h 36 class CONTENT_EXPORT AppCacheGroup
37 : public base::RefCounted<AppCacheGroup> {
43 virtual void OnUpdateComplete(AppCacheGroup* group) = 0;
53 AppCacheGroup(AppCacheStorage* storage, const GURL& manifest_url,
56 // Adds/removes an update observer, the AppCacheGroup does not take
103 friend class base::RefCounted<AppCacheGroup>;
108 ~AppCacheGroup();
168 DISALLOW_COPY_AND_ASSIGN(AppCacheGroup);
appcache_working_set.h 17 class AppCacheGroup;
24 typedef std::map<GURL, AppCacheGroup*> GroupMap;
39 void AddGroup(AppCacheGroup* group);
40 void RemoveGroup(AppCacheGroup* group);
41 AppCacheGroup* GetGroup(const GURL& manifest_url) {
mock_appcache_storage.cc 71 AppCacheGroup* group = working_set_.GetGroup(manifest_url);
84 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) {
142 void MockAppCacheStorage::MakeGroupObsolete(AppCacheGroup* group,
199 scoped_refptr<AppCacheGroup> group(working_set_.GetGroup(manifest_url));
204 group = new AppCacheGroup(service_->storage(), manifest_url, NewGroupId());
211 scoped_refptr<AppCacheGroup> group,
230 AppCacheGroup::Caches copy = group->old_caches();
261 AppCacheGroup* group) {
336 AppCacheGroup* group = it->second.get();
421 scoped_refptr<AppCacheGroup> group
    [all...]
mock_appcache_storage.h 56 virtual void StoreGroupAndNewestCache(AppCacheGroup* group,
68 virtual void MakeGroupObsolete(AppCacheGroup* group,
89 typedef std::map<GURL, scoped_refptr<AppCacheGroup> > StoredGroupMap;
98 scoped_refptr<AppCacheGroup> group, scoped_refptr<AppCache> newest_cache,
100 void ProcessMakeGroupObsolete(scoped_refptr<AppCacheGroup> group,
111 void RemoveStoredCaches(const AppCacheGroup::Caches& caches);
116 void AddStoredGroup(AppCacheGroup* group);
117 void RemoveStoredGroup(AppCacheGroup* group);
118 bool IsGroupStored(const AppCacheGroup* group) {
129 bool ShouldGroupLoadAppearAsync(const AppCacheGroup* group)
    [all...]
appcache.h 29 class AppCacheGroup;
49 AppCacheGroup* owning_group() const { return owning_group_.get(); }
127 const AppCacheGroup* group,
147 friend class AppCacheGroup;
156 // Use AppCacheGroup::Add/RemoveCache() to manipulate owning group.
157 void set_owning_group(AppCacheGroup* group) { owning_group_ = group; }
180 scoped_refptr<AppCacheGroup> owning_group_;
appcache_host.h 54 public AppCacheGroup::UpdateObserver,
141 void SetSwappableCache(AppCacheGroup* group);
192 virtual void OnGroupLoaded(AppCacheGroup* group,
198 void FinishCacheSelection(AppCache* cache, AppCacheGroup* group);
203 void ObserveGroupBeingUpdated(AppCacheGroup* group);
205 // AppCacheGroup::UpdateObserver methods.
206 virtual void OnUpdateComplete(AppCacheGroup* group) OVERRIDE;
250 scoped_refptr<AppCacheGroup> group_being_updated_;
mock_appcache_storage_unittest.cc 29 virtual void OnGroupLoaded(AppCacheGroup* group,
36 AppCacheGroup* group, AppCache* newest_cache, bool success,
42 virtual void OnGroupMadeObsolete(AppCacheGroup* group,
66 scoped_refptr<AppCacheGroup> loaded_group_;
68 scoped_refptr<AppCacheGroup> stored_group_;
70 scoped_refptr<AppCacheGroup> obsoleted_group_;
149 scoped_refptr<AppCacheGroup> group;
170 scoped_refptr<AppCacheGroup> group(
171 new AppCacheGroup(service.storage(), manifest_url, 111));
183 AppCacheGroup* group_ptr = group.get()
    [all...]
appcache_storage_impl.h 48 virtual void StoreGroupAndNewestCache(AppCacheGroup* group,
60 virtual void MakeGroupObsolete(AppCacheGroup* group,
123 AppCacheGroup* group, const GURL& url, Delegate* delegate);
127 scoped_refptr<AppCacheGroup> group,
appcache_working_set.cc 45 void AppCacheWorkingSet::AddGroup(AppCacheGroup* group) {
54 void AppCacheWorkingSet::RemoveGroup(AppCacheGroup* group) {
appcache_storage.h 27 class AppCacheGroup;
51 AppCacheGroup* group, const GURL& manifest_url) {}
55 AppCacheGroup* group, AppCache* newest_cache, bool success,
59 virtual void OnGroupMadeObsolete(AppCacheGroup* group,
124 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) = 0;
149 virtual void MakeGroupObsolete(AppCacheGroup* group,
appcache_host.cc 221 AppCacheGroup* group = associated_cache_->owning_group();
329 if (cache->owning_group()->update_status() == AppCacheGroup::CHECKING)
331 if (cache->owning_group()->update_status() == AppCacheGroup::DOWNLOADING)
344 void AppCacheHost::OnGroupLoaded(AppCacheGroup* group,
368 AppCache *cache, AppCacheGroup* group) {
380 AppCacheGroup* owing_group = cache->owning_group();
437 void AppCacheHost::ObserveGroupBeingUpdated(AppCacheGroup* group) {
444 void AppCacheHost::OnUpdateComplete(AppCacheGroup* group) {
464 void AppCacheHost::SetSwappableCache(AppCacheGroup* group) {
appcache_update_job_unittest.cc 593 public AppCacheGroup::UpdateObserver {
626 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"),
641 EXPECT_EQ(AppCacheGroup::CHECKING, group_->update_status());
661 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"),
692 EXPECT_EQ(AppCacheGroup::CHECKING, group_->update_status());
727 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"),
754 group_ = new AppCacheGroup(service_->storage(), GURL("http://failme"),
797 group_ = new AppCacheGroup(service_->storage(), GURL("http://testme"),
822 group_ = new AppCacheGroup(
860 group_ = new AppCacheGroup(
    [all...]
appcache_update_job.h 48 AppCacheUpdateJob(AppCacheServiceImpl* service, AppCacheGroup* group);
170 virtual void OnGroupAndNewestCacheStored(AppCacheGroup* group,
174 virtual void OnGroupMadeObsolete(AppCacheGroup* group,
278 AppCacheGroup* group_;
appcache_service_impl.cc 147 AppCacheGroup* group, const GURL& manifest_url) OVERRIDE;
148 virtual void OnGroupMadeObsolete(AppCacheGroup* group,
157 AppCacheGroup* group, const GURL& manifest_url) {
169 AppCacheGroup* group,
196 AppCacheGroup* group, const GURL& manifest_url) OVERRIDE;
197 virtual void OnGroupMadeObsolete(AppCacheGroup* group,
241 AppCacheGroup* group, const GURL& manifest_url) {
252 AppCacheGroup* group,
331 virtual void OnGroupLoaded(AppCacheGroup* group,
354 AppCacheGroup* group, const GURL& manifest_url)
    [all...]
appcache_storage_impl.cc 402 scoped_refptr<AppCache>* cache, scoped_refptr<AppCacheGroup>* group);
426 scoped_refptr<AppCache>* cache, scoped_refptr<AppCacheGroup>* group) {
464 (*group) = new AppCacheGroup(
528 scoped_refptr<AppCacheGroup> group;
569 scoped_refptr<AppCacheGroup> group;
579 new AppCacheGroup(storage_, manifest_url_, storage_->NewGroupId());
590 StoreGroupAndCacheTask(AppCacheStorageImpl* storage, AppCacheGroup* group,
607 scoped_refptr<AppCacheGroup> group_;
617 AppCacheStorageImpl* storage, AppCacheGroup* group, AppCache* newest_cache)
894 AppCacheGroup* group = it->second
    [all...]
appcache_url_request_job.h 172 scoped_refptr<AppCacheGroup> group_;
appcache_storage_unittest.cc 45 scoped_refptr<AppCacheGroup> group(
46 new AppCacheGroup(service.storage(), GURL(), 111));
appcache_update_job.cc 366 AppCacheGroup* group)
394 group_->SetUpdateAppCacheStatus(AppCacheGroup::IDLE);
423 AppCacheGroup::UpdateAppCacheStatus update_status = group_->update_status();
424 if (update_status == AppCacheGroup::CHECKING ||
425 update_status == AppCacheGroup::DOWNLOADING) {
428 if (update_status == AppCacheGroup::DOWNLOADING)
442 group_->SetUpdateAppCacheStatus(AppCacheGroup::CHECKING);
560 void AppCacheUpdateJob::OnGroupMadeObsolete(AppCacheGroup* group,
647 group_->SetUpdateAppCacheStatus(AppCacheGroup::DOWNLOADING);
    [all...]
appcache_host_unittest.cc 361 scoped_refptr<AppCacheGroup> group1(new AppCacheGroup(
387 scoped_refptr<AppCacheGroup> group2(
388 new AppCacheGroup(service_.storage(), GURL("http://foo.com"),
appcache_service_unittest.cc 123 scoped_refptr<AppCacheGroup> group(
124 new AppCacheGroup(service_->storage(), kManifestUrl, kMockGroupId));
appcache_unittest.cc 45 scoped_refptr<AppCacheGroup> group(
46 new AppCacheGroup(service.storage(), GURL("http://blah/manifest"), 111));
562 scoped_refptr<AppCacheGroup> group =
563 new AppCacheGroup(service.storage(), kManifestUrl, kGroupId);
  /external/chromium_org/content/test/
appcache_test_helper.cc 27 AppCacheGroup* /*group*/,
37 AppCacheGroup* appcache_group =
38 new AppCacheGroup(appcache_service->storage(),
appcache_test_helper.h 31 AppCacheGroup* group,

Completed in 571 milliseconds

1 2