#include "core/fetch/FetchContext.h"
-namespace WebCore {
+namespace blink {
FetchContext& FetchContext::nullInstance()
{
- DEFINE_STATIC_LOCAL(FetchContext, instance, ());
- return instance;
+ DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<FetchContext>, instance, (adoptPtrWillBeNoop(new FetchContext())));
+ return *instance;
}
-void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoadPriority)
+void FetchContext::dispatchDidChangeResourcePriority(unsigned long, ResourceLoadPriority, int)
{
}
{
}
+void FetchContext::setFirstPartyForCookies(ResourceRequest&)
+{
+}
+
CachePolicy FetchContext::cachePolicy(Document*) const
{
return CachePolicyVerify;
{
}
-void FetchContext::dispatchDidFinishLoading(DocumentLoader*, unsigned long, double)
+void FetchContext::dispatchDidFinishLoading(DocumentLoader*, unsigned long, double, int64_t)
{
}
-void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const ResourceError&)
+void FetchContext::dispatchDidFail(DocumentLoader*, unsigned long, const ResourceError&, bool)
{
}
{
}
-} // namespace WebCore
+} // namespace blink