Lines Matching refs:CachedResource
29 #include "CachedResource.h"
72 CachedResource* requestLinkResource(const String &url, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved);
78 CachedResource* cachedResource(const String& url) const;
79 CachedResource* cachedResource(const KURL& url) const;
81 typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResourceMap;
98 void removeCachedResource(CachedResource*) const;
100 void load(CachedResource*, bool incremental = false, SecurityCheckPolicy = DoSecurityCheck, bool sendResourceLoadCallbacks = true);
107 void incrementRequestCount(const CachedResource*);
108 void decrementRequestCount(const CachedResource*);
113 void preload(CachedResource::Type, const String& url, const String& charset, bool referencedFromBody);
118 CachedResource* requestResource(CachedResource::Type, const String& url, const String& charset, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved, bool isPreload = false);
119 CachedResource* revalidateResource(CachedResource*, ResourceLoadPriority priority);
120 CachedResource* loadResource(CachedResource::Type, const KURL&, const String& charset, ResourceLoadPriority priority);
121 void requestPreload(CachedResource::Type, const String& url, const String& charset);
124 RevalidationPolicy determineRevalidationPolicy(CachedResource::Type, bool forPreload, CachedResource* existingResource) const;
126 void notifyLoadedFromMemoryCache(CachedResource*);
127 bool canRequest(CachedResource::Type, const KURL&);
142 OwnPtr<ListHashSet<CachedResource*> > m_preloads;
144 CachedResource::Type m_type;