Progress towards implementing downloads with NetworkSession
[WebKit-https.git] / Source / WebKit2 / NetworkProcess / NetworkLoad.h
index f9223b9..ee6354d 100644 (file)
@@ -62,6 +62,7 @@ public:
 
 #if USE(NETWORK_SESSION)
     void convertTaskToDownload(DownloadID);
+    void setPendingDownloadID(DownloadID);
     
     // NetworkSessionTaskClient.
     virtual void willPerformHTTPRedirection(const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, std::function<void(const WebCore::ResourceRequest&)>) final override;
@@ -125,7 +126,6 @@ private:
     ChallengeCompletionHandler m_challengeCompletionHandler;
     ResponseCompletionHandler m_responseCompletionHandler;
     RedirectCompletionHandler m_redirectCompletionHandler;
-    DownloadID m_downloadID;
 #else
     RefPtr<WebCore::ResourceHandle> m_handle;
 #endif