Home
last modified time | relevance | path

Searched refs:ApplicationCache (Results 1 – 20 of 20) sorted by relevance

/external/webkit/WebCore/loader/appcache/
DApplicationCache.cpp39 ApplicationCache::ApplicationCache() in ApplicationCache() function in WebCore::ApplicationCache
46 ApplicationCache::~ApplicationCache() in ~ApplicationCache()
52 void ApplicationCache::setGroup(ApplicationCacheGroup* group) in setGroup()
58 bool ApplicationCache::isComplete() const in isComplete()
63 void ApplicationCache::setManifestResource(PassRefPtr<ApplicationCacheResource> manifest) in setManifestResource()
74 void ApplicationCache::addResource(PassRefPtr<ApplicationCacheResource> resource) in addResource()
93 unsigned ApplicationCache::removeResource(const String& url) in removeResource()
107 ApplicationCacheResource* ApplicationCache::resourceForURL(const String& url) in resourceForURL()
112 bool ApplicationCache::requestIsHTTPOrHTTPSGet(const ResourceRequest& request) in requestIsHTTPOrHTTPSGet()
123 ApplicationCacheResource* ApplicationCache::resourceForRequest(const ResourceRequest& request) in resourceForRequest()
[all …]
DApplicationCacheGroup.h43 class ApplicationCache; variable
62 static ApplicationCache* cacheForMainRequest(const ResourceRequest&, DocumentLoader*);
63 static ApplicationCache* fallbackCacheForMainRequest(const ResourceRequest&, DocumentLoader*);
76 void cacheDestroyed(ApplicationCache*);
78 …bool cacheIsBeingUpdated(const ApplicationCache* cache) const { return cache == m_cacheBeingUpdate… in cacheIsBeingUpdated()
80 ApplicationCache* newestCache() const { return m_newestCache.get(); } in newestCache()
81 void setNewestCache(PassRefPtr<ApplicationCache>);
116 void associateDocumentLoaderWithCache(DocumentLoader*, ApplicationCache*);
124 RefPtr<ApplicationCache> m_newestCache;
127 HashSet<ApplicationCache*> m_caches;
[all …]
DApplicationCacheStorage.h39 class ApplicationCache; variable
57 void store(ApplicationCacheResource*, ApplicationCache*);
58 bool storeUpdatedType(ApplicationCacheResource*, ApplicationCache*);
61 void remove(ApplicationCache*);
65 static bool storeCopyOfCache(const String& cacheDirectory, ApplicationCache*);
68 PassRefPtr<ApplicationCache> loadCache(unsigned storageID);
72 bool store(ApplicationCache*);
DApplicationCache.h48 class ApplicationCache : public RefCounted<ApplicationCache> {
50 static PassRefPtr<ApplicationCache> create() { return adoptRef(new ApplicationCache); } in create()
51 ~ApplicationCache();
96 ApplicationCache();
DApplicationCacheStorage.cpp77 RefPtr<ApplicationCache> cache = loadCache(newestCacheStorageID); in loadCacheGroup()
156 if (ApplicationCache* cache = group->newestCache()) { in cacheGroupForURL()
187 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); in cacheGroupForURL()
220 if (ApplicationCache* cache = group->newestCache()) { in fallbackCacheGroupForURL()
252 RefPtr<ApplicationCache> cache = loadCache(newestCacheID); in fallbackCacheGroupForURL()
298 if (ApplicationCache* newestCache = group->newestCache()) in cacheGroupMadeObsolete()
439 bool ApplicationCacheStorage::store(ApplicationCache* cache) in store()
457 ApplicationCache::ResourceMap::const_iterator end = cache->end(); in store()
458 for (ApplicationCache::ResourceMap::const_iterator it = cache->begin(); it != end; ++it) { in store()
569 bool ApplicationCacheStorage::storeUpdatedType(ApplicationCacheResource* resource, ApplicationCache in storeUpdatedType()
[all …]
DDOMApplicationCache.cpp55 ApplicationCache* DOMApplicationCache::associatedCache() const in associatedCache()
65 ApplicationCache* cache = associatedCache(); in status()
89 ApplicationCache* cache = associatedCache(); in update()
103 ApplicationCache* cache = m_frame->loader()->documentLoader()->applicationCache(); in swapCache()
114 ApplicationCache* newestCache = cache->group()->newestCache(); in swapCache()
133 if (ApplicationCache* cache = associatedCache()) { in items()
144 ApplicationCache* cache = associatedCache(); in hasItem()
161 ApplicationCache* cache = associatedCache(); in add()
180 ApplicationCache* cache = associatedCache(); in remove()
DApplicationCacheGroup.cpp80 ApplicationCache* ApplicationCacheGroup::cacheForMainRequest(const ResourceRequest& request, Docume… in cacheForMainRequest()
82 if (!ApplicationCache::requestIsHTTPOrHTTPSGet(request)) in cacheForMainRequest()
95 ApplicationCache* ApplicationCacheGroup::fallbackCacheForMainRequest(const ResourceRequest& request… in fallbackCacheForMainRequest()
97 if (!ApplicationCache::requestIsHTTPOrHTTPSGet(request)) in fallbackCacheForMainRequest()
125 ApplicationCache* mainResourceCache = documentLoader->mainResourceApplicationCache(); in selectCache()
151 if (!ApplicationCache::requestIsHTTPOrHTTPSGet(request)) in selectCache()
175 ApplicationCache* mainResourceCache = documentLoader->mainResourceApplicationCache(); in selectCacheWithoutManifestURL()
327 void ApplicationCacheGroup::cacheDestroyed(ApplicationCache* cache) in cacheDestroyed()
341 void ApplicationCacheGroup::setNewestCache(PassRefPtr<ApplicationCache> newestCache) in setNewestCache()
566 m_cacheBeingUpdated = ApplicationCache::create(); in didFinishLoadingManifest()
[all …]
DDOMApplicationCache.h41 class ApplicationCache; variable
126 ApplicationCache* associatedCache() const;
/external/webkit/WebCore/loader/
DDocumentLoader.h41 class ApplicationCache; variable
203 …llbackResourceFromApplicationCache(ResourceLoader*, const ResourceRequest&, ApplicationCache* = 0);
205 …onCacheFallbackResource(const ResourceRequest&, ApplicationCacheResource*&, ApplicationCache* = 0);
210 void setApplicationCache(PassRefPtr<ApplicationCache> applicationCache);
211 ApplicationCache* applicationCache() const { return m_applicationCache.get(); } in applicationCache()
213 ApplicationCache* mainResourceApplicationCache() const;
304 RefPtr<ApplicationCache> m_applicationCache;
311 RefPtr<ApplicationCache> m_mainResourceApplicationCache;
DMainResourceLoader.h38 class ApplicationCache; variable
64 ApplicationCache* applicationCache() const { return m_applicationCache.get(); } in applicationCache()
97 RefPtr<ApplicationCache> m_applicationCache;
DDocumentLoader.cpp862 void DocumentLoader::setApplicationCache(PassRefPtr<ApplicationCache> applicationCache) in setApplicationCache()
872 ApplicationCache* DocumentLoader::mainResourceApplicationCache() const in mainResourceApplicationCache()
883 ApplicationCache* cache = applicationCache(); in shouldLoadResourceFromApplicationCache()
888 if (!ApplicationCache::requestIsHTTPOrHTTPSGet(request)) in shouldLoadResourceFromApplicationCache()
905 …ource(const ResourceRequest& request, ApplicationCacheResource*& resource, ApplicationCache* cache) in getApplicationCacheFallbackResource()
916 if (!ApplicationCache::requestIsHTTPOrHTTPSGet(request)) in getApplicationCacheFallbackResource()
947 …omApplicationCache(ResourceLoader* loader, const ResourceRequest& request, ApplicationCache* cache) in scheduleLoadFallbackResourceFromApplicationCache()
DResourceLoader.h43 class ApplicationCache; variable
119 bool scheduleLoadFallbackResourceFromApplicationCache(ApplicationCache* = 0);
DResourceLoader.cpp196 bool ResourceLoader::scheduleLoadFallbackResourceFromApplicationCache(ApplicationCache* cache) in scheduleLoadFallbackResourceFromApplicationCache()
/external/webkit/WebKit/mac/WebView/
DWebDataSource.mm196 ApplicationCache* cache = loader->applicationCache();
/external/webkit/WebCore/
DWebCore.scons306 'loader/appcache/ApplicationCache.cpp',
DChangeLog-2008-08-101405 * loader/appcache/ApplicationCache.cpp:
1406 (WebCore::ApplicationCache::~ApplicationCache):
21629 * loader/appcache/ApplicationCache.cpp:
21630 (WebCore::ApplicationCache::clearStorageID):
21631 * loader/appcache/ApplicationCache.h:
21933 * loader/appcache/ApplicationCache.cpp: Include stdio.h
21934 as we are using printf in ApplicationCache::dump().
22579 * loader/appcache/ApplicationCache.cpp:
22580 (WebCore::ApplicationCache::ApplicationCache):
22833 * loader/appcache/ApplicationCache.cpp:
[all …]
DGNUmakefile.am1864 WebCore/loader/appcache/ApplicationCache.cpp \
1865 WebCore/loader/appcache/ApplicationCache.h \
DWebCore.pro1897 loader/appcache/ApplicationCache.cpp \
DChangeLog832 * loader/appcache/ApplicationCache.cpp:
833 (WebCore::ApplicationCache::setGroup): Allow setting the group to the same one, to simplify
835 (WebCore::ApplicationCache::isComplete): A new method that tells whether the cache is
837 * loader/appcache/ApplicationCache.h: Added isComplete().
844 …(WebCore::ApplicationCacheGroup::cacheIsBeingUpdated): A helper for ApplicationCache::isComplete().
6733 * loader/appcache/ApplicationCache.cpp: (WebCore::ApplicationCache::addResource):
10055 * loader/appcache/ApplicationCache.h: Added a list of pending dynamic entry actions, to be
10066 … Added implementations of items attribute and hasItem() (note that underlying ApplicationCache
12068 * loader/appcache/ApplicationCache.cpp:
12069 (WebCore::ApplicationCache::isURLInOnlineWhitelist): Test whitelist entries as prefixes,
[all …]
/external/webkit/WebCore/WebCore.xcodeproj/
Dproject.pbxproj315 …0DB55CDC001DB794 /* ApplicationCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A8F6BB10D…
316 …D0DB55CDC001DB794 /* ApplicationCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A8F6BB20DB…
5188 …1DB794 /* ApplicationCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
5189 …C001DB794 /* ApplicationCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
9497 1A8F6BB10DB55CDC001DB794 /* ApplicationCache.cpp */,
9498 1A8F6BB20DB55CDC001DB794 /* ApplicationCache.h */,
14463 1A8F6BBD0DB55CDC001DB794 /* ApplicationCache.h in Headers */,
16941 1A8F6BBC0DB55CDC001DB794 /* ApplicationCache.cpp in Sources */,