Reviewed by Anders Carlsson.
authoradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 22:58:04 +0000 (22:58 +0000)
committeradachan@apple.com <adachan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 22:58:04 +0000 (22:58 +0000)
commit726e1e121fd1ccc032de13d517c4ef06808068f5
tree4a70d582b4146d3509fa04e515500b4b935c7d5b
parentf4685fc40305ab3d44580b77dc8fb5b0aef3cda6
    Reviewed by Anders Carlsson.

        Implement Download::start() and Download::startWithHandle() on Windows.
        https://bugs.webkit.org/show_bug.cgi?id=50844

        * WebProcess/Downloads/Download.h:
        * WebProcess/Downloads/cf/DownloadCFNet.cpp:
        (WebKit::Download::start): Create a CFURLDownloadRef and schedule it.
        (WebKit::Download::startWithHandle): Create a CFURLDownloadRef with the loading connection
        retrieved from the ResourceHandle.
        (WebKit::Download::platformInvalidate):
        (WebKit::downloadFromClientInfo):
        (WebKit::didStartCallback):
        (WebKit::willSendRequestCallback):
        (WebKit::didReceiveAuthenticationChallengeCallback):
        (WebKit::didReceiveResponseCallback):
        (WebKit::willResumeWithResponseCallback):
        (WebKit::didReceiveDataCallback):
        (WebKit::shouldDecodeDataOfMIMETypeCallback):
        (WebKit::decideDestinationWithSuggestedObjectNameCallback):
        (WebKit::didCreateDestinationCallback):
        (WebKit::didFinishCallback):
        (WebKit::didFailCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/WebProcess/Downloads/Download.h
WebKit2/WebProcess/Downloads/cf/DownloadCFNet.cpp