summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/ResourceHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/ResourceHandle.h')
-rw-r--r--WebCore/platform/network/ResourceHandle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/platform/network/ResourceHandle.h b/WebCore/platform/network/ResourceHandle.h
index 1167715..1cb9ee0 100644
--- a/WebCore/platform/network/ResourceHandle.h
+++ b/WebCore/platform/network/ResourceHandle.h
@@ -29,6 +29,7 @@
#include "AuthenticationChallenge.h"
#include "AuthenticationClient.h"
#include "HTTPHeaderMap.h"
+#include "NetworkingContext.h"
#include "ThreadableLoader.h"
#include <wtf/OwnPtr.h>
@@ -109,9 +110,8 @@ private:
};
public:
- // FIXME: should not need the Frame
- static PassRefPtr<ResourceHandle> create(const ResourceRequest&, ResourceHandleClient*, Frame*, bool defersLoading, bool shouldContentSniff);
- static void loadResourceSynchronously(const ResourceRequest&, StoredCredentials, ResourceError&, ResourceResponse&, Vector<char>& data, Frame* frame);
+ static PassRefPtr<ResourceHandle> create(NetworkingContext*, const ResourceRequest&, ResourceHandleClient*, bool defersLoading, bool shouldContentSniff);
+ static void loadResourceSynchronously(NetworkingContext*, const ResourceRequest&, StoredCredentials, ResourceError&, ResourceResponse&, Vector<char>& data);
static void prepareForURL(const KURL&);
static bool willLoadFromCache(ResourceRequest&, Frame*);
@@ -216,7 +216,7 @@ private:
void scheduleFailure(FailureType);
- bool start(Frame*);
+ bool start(NetworkingContext*);
virtual void refAuthenticationClient() { ref(); }
virtual void derefAuthenticationClient() { deref(); }