Home
last modified time | relevance | path

Searched refs:ApplicationCacheResource (Results 1 – 25 of 30) sorted by relevance

12

/external/webkit/Source/WebCore/loader/appcache/
DApplicationCache.h41 class ApplicationCacheResource; variable
57 void addResource(PassRefPtr<ApplicationCacheResource> resource);
60 void setManifestResource(PassRefPtr<ApplicationCacheResource> manifest);
61 ApplicationCacheResource* manifestResource() const { return m_manifest; } in manifestResource()
68 ApplicationCacheResource* resourceForRequest(const ResourceRequest&);
69 ApplicationCacheResource* resourceForURL(const String& url);
85 typedef HashMap<String, RefPtr<ApplicationCacheResource> > ResourceMap;
102 ApplicationCacheResource* m_manifest;
DApplicationCache.cpp66 void ApplicationCache::setManifestResource(PassRefPtr<ApplicationCacheResource> manifest) in setManifestResource()
70 ASSERT(manifest->type() & ApplicationCacheResource::Manifest); in setManifestResource()
77 void ApplicationCache::addResource(PassRefPtr<ApplicationCacheResource> resource) in addResource()
87 ASSERT(resource->type() & ApplicationCacheResource::Master); in addResource()
100 HashMap<String, RefPtr<ApplicationCacheResource> >::iterator it = m_resources.find(url); in removeResource()
114 ApplicationCacheResource* ApplicationCache::resourceForURL(const String& url) in resourceForURL()
131 ApplicationCacheResource* ApplicationCache::resourceForRequest(const ResourceRequest& request) in resourceForRequest()
213 HashMap<String, RefPtr<ApplicationCacheResource> >::const_iterator end = m_resources.end(); in dump()
215 …for (HashMap<String, RefPtr<ApplicationCacheResource> >::const_iterator it = m_resources.begin(); … in dump()
217 ApplicationCacheResource::dumpType(it->second->type()); in dump()
DApplicationCacheGroup.cpp170 ApplicationCacheResource* resource = mainResourceCache->resourceForURL(resourceURL); in selectCache()
172 resource->addType(ApplicationCacheResource::Foreign); in selectCache()
244 if (ApplicationCacheResource* resource = m_newestCache->resourceForURL(url)) { in finishedLoadingMainResource()
245 if (!(resource->type() & ApplicationCacheResource::Master)) { in finishedLoadingMainResource()
246 resource->addType(ApplicationCacheResource::Master); in finishedLoadingMainResource()
250 …m_newestCache->addResource(ApplicationCacheResource::create(url, loader->response(), ApplicationCa… in finishedLoadingMainResource()
264 if (ApplicationCacheResource* resource = m_cacheBeingUpdated->resourceForURL(url)) { in finishedLoadingMainResource()
265 if (!(resource->type() & ApplicationCacheResource::Master)) { in finishedLoadingMainResource()
266 resource->addType(ApplicationCacheResource::Master); in finishedLoadingMainResource()
270 …m_cacheBeingUpdated->addResource(ApplicationCacheResource::create(url, loader->response(), Applica… in finishedLoadingMainResource()
[all …]
DApplicationCacheResource.cpp34 ApplicationCacheResource::ApplicationCacheResource(const KURL& url, const ResourceResponse& respons… in ApplicationCacheResource() function in WebCore::ApplicationCacheResource
43 void ApplicationCacheResource::addType(unsigned type) in addType()
49 int64_t ApplicationCacheResource::estimatedSizeInStorage() in estimatedSizeInStorage()
72 void ApplicationCacheResource::dumpType(unsigned type) in dumpType()
DApplicationCacheHost.cpp86ApplicationCacheResource* resource = m_mainResourceApplicationCache->resourceForRequest(request); in maybeLoadMainResource()
166 ApplicationCacheResource* resource; in maybeLoadResource()
202 ApplicationCacheResource* resource; in maybeLoadSynchronously()
223 ApplicationCacheResource* resource; in maybeLoadFallbackSynchronously()
283 RefPtr<ApplicationCacheResource> resource = it->second; in fillResourceList()
285 bool isMaster = type & ApplicationCacheResource::Master; in fillResourceList()
286 bool isManifest = type & ApplicationCacheResource::Manifest; in fillResourceList()
287 bool isExplicit = type & ApplicationCacheResource::Explicit; in fillResourceList()
288 bool isForeign = type & ApplicationCacheResource::Foreign; in fillResourceList()
289 bool isFallback = type & ApplicationCacheResource::Fallback; in fillResourceList()
[all …]
DApplicationCacheStorage.h43 class ApplicationCacheResource; variable
83 bool store(ApplicationCacheResource*, ApplicationCache*);
84 bool storeUpdatedType(ApplicationCacheResource*, ApplicationCache*);
108 typedef StorageIDJournal<ApplicationCacheResource> ResourceStorageIDJournal;
113 bool store(ApplicationCacheResource*, unsigned cacheStorageID);
116 bool shouldStoreResourceAsFlatFile(ApplicationCacheResource*);
DApplicationCacheResource.h35 class ApplicationCacheResource : public SubstituteResource {
45 …static PassRefPtr<ApplicationCacheResource> create(const KURL& url, const ResourceResponse& respon…
48 return adoptRef(new ApplicationCacheResource(url, response, type, buffer, path));
67ApplicationCacheResource(const KURL&, const ResourceResponse&, unsigned type, PassRefPtr<SharedBuf…
DApplicationCacheGroup.h45 class ApplicationCacheResource; variable
108 …PassRefPtr<ResourceHandle> createResourceHandle(const KURL&, ApplicationCacheResource* newestCache…
194 RefPtr<ApplicationCacheResource> m_currentResource;
200 RefPtr<ApplicationCacheResource> m_manifestResource;
DApplicationCacheStorage.cpp209 ApplicationCacheResource* resource = cache->resourceForURL(url); in cacheGroupForURL()
212 if (resource->type() & ApplicationCacheResource::Foreign) in cacheGroupForURL()
243 ApplicationCacheResource* resource = cache->resourceForURL(url); in cacheGroupForURL()
246 if (resource->type() & ApplicationCacheResource::Foreign) in cacheGroupForURL()
282 if (cache->resourceForURL(fallbackURL)->type() & ApplicationCacheResource::Foreign) in fallbackCacheGroupForURL()
317 if (cache->resourceForURL(fallbackURL)->type() & ApplicationCacheResource::Foreign) in fallbackCacheGroupForURL()
776 bool ApplicationCacheStorage::store(ApplicationCacheResource* resource, unsigned cacheStorageID) in store()
885 bool ApplicationCacheStorage::storeUpdatedType(ApplicationCacheResource* resource, ApplicationCache… in storeUpdatedType()
901 bool ApplicationCacheStorage::store(ApplicationCacheResource* resource, ApplicationCache* cache) in store()
1099 …RefPtr<ApplicationCacheResource> resource = ApplicationCacheResource::create(url, response, type, … in loadCache()
[all …]
DApplicationCacheHost.h57 class ApplicationCacheResource; variable
160 … bool shouldLoadResourceFromApplicationCache(const ResourceRequest&, ApplicationCacheResource*&);
161 …bool getApplicationCacheFallbackResource(const ResourceRequest&, ApplicationCacheResource*&, Appli…
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.h52 class ApplicationCacheResource; variable
90 virtual void createAVPlayerForCacheResource(ApplicationCacheResource*);
DMediaPlayerPrivateAVFoundation.h38 class ApplicationCacheResource; variable
164 virtual void createAVPlayerForCacheResource(ApplicationCacheResource*) = 0;
DMediaPlayerPrivateAVFoundationObjC.mm32 #import "ApplicationCacheResource.h"
251 void MediaPlayerPrivateAVFoundationObjC::createAVPlayerForCacheResource(ApplicationCacheResource* r…
253 // AVFoundation can't open arbitrary data pointers, so if this ApplicationCacheResource doesn't
DMediaPlayerPrivateAVFoundation.cpp244 ApplicationCacheResource* resource = 0; in prepareToPlay()
/external/webkit/Source/WebCore/platform/graphics/mac/
DMediaPlayerPrivateQTKit.h58 class ApplicationCacheResource; variable
144 void createQTMovie(ApplicationCacheResource*);
DMediaPlayerPrivateQTKit.mm34 #include "ApplicationCacheResource.h"
308 void MediaPlayerPrivateQTKit::createQTMovie(ApplicationCacheResource* resource)
705 ApplicationCacheResource* resource = NULL;
/external/webkit/LayoutTests/http/tests/appcache/
Dforeign-iframe-main-expected.txt1 Test for <rdar://problem/6284708> AppCache crashes in ApplicationCacheResource::addType().
/external/webkit/Source/WebCore/platform/graphics/win/
DMediaPlayerPrivateQuickTimeVisualContext.cpp379 ApplicationCacheResource* resource = 0; in loadInternal()
/external/webkit/Source/WebCore/
DAndroid.mk468 loader/appcache/ApplicationCacheResource.cpp \
DWebCore.pro1797 loader/appcache/ApplicationCacheResource.h \
3413 loader/appcache/ApplicationCacheResource.cpp \
DCMakeLists.txt968 loader/appcache/ApplicationCacheResource.cpp
DGNUmakefile.list.am2018 Source/WebCore/loader/appcache/ApplicationCacheResource.cpp \
2019 Source/WebCore/loader/appcache/ApplicationCacheResource.h \
DGNUmakefile.am2035 Source/WebCore/loader/appcache/ApplicationCacheResource.cpp \
2036 Source/WebCore/loader/appcache/ApplicationCacheResource.h \
DChangeLog-2008-08-1020596 * loader/appcache/ApplicationCacheResource.cpp: Include stdio.h for gcc4.3 build.
21635 * loader/appcache/ApplicationCacheResource.h:
21636 (WebCore::ApplicationCacheResource::clearStorageID):
22854 * loader/appcache/ApplicationCacheResource.cpp:
22855 (WebCore::ApplicationCacheResource::addType):
22858 * loader/appcache/ApplicationCacheResource.h:
22859 (WebCore::ApplicationCacheResource::setStorageID):
22860 (WebCore::ApplicationCacheResource::storageID):
30448 Add implementation of ApplicationCacheResource.
30450 * loader/appcache/ApplicationCacheResource.cpp:
[all …]
DWebCore.gypi3349 'loader/appcache/ApplicationCacheResource.cpp',
3350 'loader/appcache/ApplicationCacheResource.h',

12