This source file includes following definitions.
- nullInstance
- dispatchDidChangeResourcePriority
- reportLocalLoadFailed
- addAdditionalRequestHeaders
- cachePolicy
- dispatchWillSendRequest
- dispatchDidLoadResourceFromMemoryCache
- dispatchDidReceiveResponse
- dispatchDidReceiveData
- dispatchDidDownloadData
- dispatchDidFinishLoading
- dispatchDidFail
- sendRemainingDelegateMessages
#include "config.h"
#include "core/fetch/FetchContext.h"
namespace WebCore {
FetchContext& FetchContext::nullInstance()
{
DEFINE_STATIC_LOCAL(FetchContext, instance, ());
return instance;
}
void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoadPriority, int)
{
}
void FetchContext::reportLocalLoadFailed(const KURL&)
{
}
void FetchContext::addAdditionalRequestHeaders(Document*, ResourceRequest&, FetchResourceType)
{
}
CachePolicy FetchContext::cachePolicy(Document*) const
{
return CachePolicyVerify;
}
void FetchContext::dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest&, const ResourceResponse&, const FetchInitiatorInfo&)
{
}
void FetchContext::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const ResourceResponse&)
{
}
void FetchContext::dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const ResourceResponse&, ResourceLoader*)
{
}
void FetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long, const char*, int, int)
{
}
void FetchContext::dispatchDidDownloadData(DocumentLoader*, unsigned long, int, int)
{
}
void FetchContext::dispatchDidFinishLoading(DocumentLoader*, unsigned long, double, int64_t)
{
}
void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const ResourceError&)
{
}
void FetchContext::sendRemainingDelegateMessages(DocumentLoader*, unsigned long, const ResourceResponse&, int)
{
}
}