Searched refs:download (Results 1 - 25 of 172) sorted by relevance

1234567

/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/C/
H A DWKDownload.cpp40 uint64_t WKDownloadGetID(WKDownloadRef download) argument
42 return toImpl(download)->downloadID();
45 WKURLRequestRef WKDownloadCopyRequest(WKDownloadRef download) argument
47 return toAPI(WebURLRequest::create(toImpl(download)->request()).leakRef());
50 WKDataRef WKDownloadGetResumeData(WKDownloadRef download) argument
52 return toAPI(toImpl(download)->resumeData());
55 void WKDownloadCancel(WKDownloadRef download) argument
57 return toImpl(download)->cancel();
H A DWKDownload.h41 WK_EXPORT uint64_t WKDownloadGetID(WKDownloadRef download);
42 WK_EXPORT WKURLRequestRef WKDownloadCopyRequest(WKDownloadRef download);
43 WK_EXPORT WKDataRef WKDownloadGetResumeData(WKDownloadRef download);
44 WK_EXPORT void WKDownloadCancel(WKDownloadRef download);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/gtk/
H A DWebKitDownload.cpp42 * #WebKitDownload carries information about a download request and
45 * download process, or to simply figure out what is to be downloaded,
46 * and handle the download process itself.
75 RefPtr<DownloadProxy> download; member in struct:_WebKitDownloadPrivate
94 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
98 g_value_set_string(value, webkit_download_get_destination(download));
101 g_value_set_object(value, webkit_download_get_response(download));
104 g_value_set_double(value, webkit_download_get_estimated_progress(download));
111 static gboolean webkitDownloadDecideDestination(WebKitDownload* download, const gchar* suggestedFilename) argument
113 if (!download
274 WebKitDownload* download = WEBKIT_DOWNLOAD(g_object_new(WEBKIT_TYPE_DOWNLOAD, NULL)); local
281 WebKitDownload* download = webkitDownloadCreate(downloadProxy); local
286 webkitDownloadSetResponse(WebKitDownload* download, WebKitURIResponse* response) argument
292 webkitDownloadSetWebView(WebKitDownload* download, WebKitWebView* webView) argument
298 webkitDownloadIsCancelled(WebKitDownload* download) argument
303 webkitDownloadNotifyProgress(WebKitDownload* download, guint64 bytesReceived) argument
334 webkitDownloadFailed(WebKitDownload* download, const ResourceError& resourceError) argument
346 webkitDownloadCancelled(WebKitDownload* download) argument
352 webkitDownloadFinished(WebKitDownload* download) argument
367 webkitDownloadDecideDestinationWithSuggestedFilename(WebKitDownload* download, const CString& suggestedFilename) argument
376 webkitDownloadDestinationCreated(WebKitDownload* download, const CString& destinationURI) argument
393 webkit_download_get_request(WebKitDownload* download) argument
413 webkit_download_get_destination(WebKitDownload* download) argument
439 webkit_download_set_destination(WebKitDownload* download, const gchar* uri) argument
464 webkit_download_get_response(WebKitDownload* download) argument
480 webkit_download_cancel(WebKitDownload* download) argument
499 webkit_download_get_estimated_progress(WebKitDownload* download) argument
524 webkit_download_get_elapsed_time(WebKitDownload* download) argument
544 webkit_download_get_received_data_length(WebKitDownload* download) argument
560 webkit_download_get_web_view(WebKitDownload* download) argument
[all...]
H A DWebKitDownloadClient.cpp37 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
38 webkitWebContextDownloadStarted(WEBKIT_WEB_CONTEXT(clientInfo), download.get());
43 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
44 if (webkitDownloadIsCancelled(download.get()))
48 webkitDownloadSetResponse(download.get(), response.get());
53 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
54 webkitDownloadNotifyProgress(download.get(), length);
59 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
60 CString destinationURI = webkitDownloadDecideDestinationWithSuggestedFilename(download.get(),
67 GRefPtr<WebKitDownload> download local
73 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
84 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
91 GRefPtr<WebKitDownload> download = webkitWebContextGetOrCreateDownload(toImpl(wkDownload)); local
[all...]
H A DWebKitDownload.h55 gboolean (* decide_destination) (WebKitDownload *download,
68 webkit_download_get_request (WebKitDownload *download);
71 webkit_download_get_destination (WebKitDownload *download);
74 webkit_download_set_destination (WebKitDownload *download,
78 webkit_download_get_response (WebKitDownload *download);
81 webkit_download_cancel (WebKitDownload *download);
84 webkit_download_get_estimated_progress (WebKitDownload *download);
87 webkit_download_get_elapsed_time (WebKitDownload *download);
90 webkit_download_get_received_data_length (WebKitDownload *download);
93 webkit_download_get_web_view (WebKitDownload *download);
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/efl/
H A Dewk_download_job.h30 * @note Ewk_Download_Job encapsulates a WebKit download job in order to provide
32 * path, cancel the download, ...).
53 /// Defines the possible states of a download.
55 /// The download state is unknown
57 /// The download has not started yet
59 /// The download has started
61 /// The download stopped because of a failure
63 /// The download is being cancelled
65 /// The download stopped because it was cancelled
67 /// The download complete
[all...]
H A Dewk_download_job.cpp38 EwkDownloadJob::EwkDownloadJob(WKDownloadRef download, EwkView* viewImpl) argument
39 : m_download(download)
49 * Queries the identifier for this download
58 * Returns the view this download is attached to.
66 Ewk_Download_Job_State ewk_download_job_state_get(const Ewk_Download_Job* download) argument
68 EWK_OBJ_GET_IMPL_OR_RETURN(const EwkDownloadJob, download, impl, EWK_DOWNLOAD_JOB_STATE_UNKNOWN);
78 Ewk_Url_Request* ewk_download_job_request_get(const Ewk_Download_Job* download) argument
80 EWK_OBJ_GET_IMPL_OR_RETURN(const EwkDownloadJob, download, impl, 0);
95 Ewk_Url_Response* ewk_download_job_response_get(const Ewk_Download_Job* download) argument
97 EWK_OBJ_GET_IMPL_OR_RETURN(const EwkDownloadJob, download, imp
107 ewk_download_job_destination_get(const Ewk_Download_Job* download) argument
119 ewk_download_job_destination_set(Ewk_Download_Job* download, const char* destination) argument
134 ewk_download_job_suggested_filename_get(const Ewk_Download_Job* download) argument
146 ewk_download_job_cancel(Ewk_Download_Job* download) argument
164 ewk_download_job_estimated_progress_get(const Ewk_Download_Job* download) argument
183 ewk_download_job_elapsed_time_get(const Ewk_Download_Job* download) argument
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/efl/
H A DDownloadManagerEfl.cpp48 EwkDownloadJob* download = toDownloadManagerEfl(clientInfo)->ewkDownloadJob(wkDownload); local
49 ASSERT(download);
51 download->setSuggestedFileName(toImpl(filename)->string().utf8().data());
53 // We send the new download signal on the Ewk_View only once we have received the response
55 download->view()->smartCallback<DownloadJobRequested>().call(download);
58 String destination = ASCIILiteral("file://") + String::fromUTF8(download->destination());
65 EwkDownloadJob* download = toDownloadManagerEfl(clientInfo)->ewkDownloadJob(wkDownload); local
66 ASSERT(download);
67 download
72 EwkDownloadJob* download = toDownloadManagerEfl(clientInfo)->ewkDownloadJob(wkDownload); local
80 EwkDownloadJob* download = toDownloadManagerEfl(clientInfo)->ewkDownloadJob(wkDownload); local
88 EwkDownloadJob* download = downloadManager->ewkDownloadJob(wkDownload); local
101 EwkDownloadJob* download = downloadManager->ewkDownloadJob(wkDownload); local
112 EwkDownloadJob* download = downloadManager->ewkDownloadJob(wkDownload); local
144 registerDownloadJob(WKDownloadRef download, EwkView* viewImpl) argument
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Downloads/
H A DDownloadAuthenticationClient.cpp35 DownloadAuthenticationClient::DownloadAuthenticationClient(Download* download) argument
36 : m_download(download)
38 ASSERT_ARG(download, download);
H A DDownloadManager.cpp43 OwnPtr<Download> download = Download::create(*this, downloadID, request); local
44 download->start();
47 m_downloads.set(downloadID, download.leakPtr());
52 OwnPtr<Download> download = Download::create(*this, downloadID, request); local
54 download->startWithHandle(handle, response);
56 m_downloads.set(downloadID, download.leakPtr());
61 Download* download = m_downloads.get(downloadID); local
62 if (!download)
65 download->cancel();
68 void DownloadManager::downloadFinished(Download* download) argument
100 Download* download = m_downloads.get(downloadID); local
[all...]
/macosx-10.9.5/WebKit-7537.78.2/mac/Misc/
H A DWebDownload.mm102 selector == @selector(download:willSendRequest:redirectResponse:) ||
103 selector == @selector(download:didReceiveResponse:) ||
104 selector == @selector(download:didReceiveDataOfLength:) ||
105 selector == @selector(download:shouldDecodeSourceDataOfMIMEType:) ||
106 selector == @selector(download:decideDestinationWithSuggestedFilename:) ||
107 selector == @selector(download:didCreateDestination:) ||
109 selector == @selector(download:didFailWithError:) ||
110 selector == @selector(download:shouldBeginChildDownloadOfSource:delegate:) ||
111 selector == @selector(download:didBeginChildDownload:)) {
118 - (void)downloadDidBegin:(NSURLDownload *)download
[all...]
H A DWebDownload.h65 - (NSWindow *)downloadWindowForAuthenticationSheet:(WebDownload *)download;
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DDefaultDownloadDelegate.cpp107 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::decideDestinationWithSuggestedFilename(IWebDownload *download, BSTR filename) argument
109 LOG(Download, "DefaultDownloadDelegate %p - decideDestinationWithSuggestedFilename %s", download, String(filename, SysStringLen(filename)).ascii().data());
113 if (FAILED(download->setDestination(filename, true))) {
136 if (FAILED(download->setDestination(fullPath, true))) {
142 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCancelAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) argument
144 LOG(Download, "DefaultDownloadDelegate %p - didCancelAuthenticationChallenge %p", download, challenge);
145 download = 0;
149 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCreateDestination(IWebDownload* download, BSTR destination) argument
151 LOG(Download, "DefaultDownloadDelegate %p - didCreateDestination %s", download, String(destination, SysStringLen(destination)).ascii().data());
152 download
157 didReceiveAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) argument
165 didReceiveDataOfLength(IWebDownload* download, unsigned length) argument
173 didReceiveResponse(IWebDownload* download, IWebURLResponse* response) argument
181 shouldDecodeSourceDataOfMIMEType(IWebDownload* download, BSTR encodingType, BOOL* shouldDecode) argument
190 willResumeWithResponse(IWebDownload* download, IWebURLResponse* response, long long fromByte) argument
199 willSendRequest(IWebDownload* download, IWebMutableURLRequest* request, IWebURLResponse* redirectResponse, IWebMutableURLRequest** finalRequest) argument
210 didBegin(IWebDownload* download) argument
217 didFinish(IWebDownload* download) argument
224 didFailWithError(IWebDownload* download, IWebError* error) argument
232 registerDownload(IWebDownload* download) argument
240 unregisterDownload(IWebDownload* download) argument
[all...]
H A DDefaultDownloadDelegate.h50 virtual HRESULT STDMETHODCALLTYPE decideDestinationWithSuggestedFilename(IWebDownload *download, BSTR filename);
51 virtual HRESULT STDMETHODCALLTYPE didCancelAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge);
52 virtual HRESULT STDMETHODCALLTYPE didCreateDestination(IWebDownload* download, BSTR destination);
53 virtual HRESULT STDMETHODCALLTYPE didFailWithError(IWebDownload* download, IWebError* error);
54 virtual HRESULT STDMETHODCALLTYPE didReceiveAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge);
55 virtual HRESULT STDMETHODCALLTYPE didReceiveDataOfLength(IWebDownload* download, unsigned length);
56 virtual HRESULT STDMETHODCALLTYPE didReceiveResponse(IWebDownload* download, IWebURLResponse* response);
57 virtual HRESULT STDMETHODCALLTYPE shouldDecodeSourceDataOfMIMEType(IWebDownload* download, BSTR encodingType, BOOL* shouldDecode);
58 virtual HRESULT STDMETHODCALLTYPE willResumeWithResponse(IWebDownload* download, IWebURLResponse* response, long long fromByte);
59 virtual HRESULT STDMETHODCALLTYPE willSendRequest(IWebDownload* download, IWebMutableURLReques
[all...]
/macosx-10.9.5/WebKit-7537.78.2/gtk/webkit/
H A Dwebkitdownload.cpp56 * #WebKitDownload carries information about a download request,
58 * this object to control the download process, or to simply figure
115 static void webkit_download_set_response(WebKitDownload* download, const ResourceResponse& response);
116 static void webkit_download_set_status(WebKitDownload* download, WebKitDownloadStatus status);
120 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
121 WebKitDownloadPrivate* priv = download->priv;
143 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
144 WebKitDownloadPrivate* priv = download->priv;
158 // The download object may never have _start called on it, so we
173 WebKitDownload* download local
207 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
392 webkit_download_init(WebKitDownload* download) argument
425 WebKitDownload* download = WEBKIT_DOWNLOAD(g_object_new(WEBKIT_TYPE_DOWNLOAD, "network-request", request, NULL)); local
437 webkitDownloadEmitError(WebKitDownload* download, const ResourceError& error) argument
458 webkit_download_open_stream_for_uri(WebKitDownload* download, const gchar* uri, gboolean append=FALSE) argument
483 webkit_download_close_stream(WebKitDownload* download) argument
501 webkit_download_start(WebKitDownload* download) argument
535 webkit_download_cancel(WebKitDownload* download) argument
564 webkit_download_get_uri(WebKitDownload* download) argument
583 webkit_download_get_network_request(WebKitDownload* download) argument
602 webkit_download_get_network_response(WebKitDownload* download) argument
610 webkit_download_set_response(WebKitDownload* download, const ResourceResponse& response) argument
630 webkit_download_get_suggested_filename(WebKitDownload* download) argument
646 webkit_download_set_suggested_filename(WebKitDownload* download, const gchar* suggestedFilename) argument
668 webkit_download_get_destination_uri(WebKitDownload* download) argument
685 webkit_download_set_destination_uri(WebKitDownload* download, const gchar* destination_uri) argument
741 webkit_download_get_status(WebKitDownload* download) argument
749 webkit_download_set_status(WebKitDownload* download, WebKitDownloadStatus status) argument
773 webkit_download_get_total_size(WebKitDownload* download) argument
796 webkit_download_get_current_size(WebKitDownload* download) argument
814 webkit_download_get_progress(WebKitDownload* download) argument
842 webkit_download_get_elapsed_time(WebKitDownload* download) argument
853 webkit_download_received_data(WebKitDownload* download, const gchar* data, int length) argument
902 webkit_download_finished_loading(WebKitDownload* download) argument
914 webkit_download_error(WebKitDownload* download, const ResourceError& error) argument
926 DownloadClient(WebKitDownload* download) argument
[all...]
H A Dwebkitdownload.h39 * @WEBKIT_DOWNLOAD_STATUS_ERROR: The download failed because of an error other than user cancellation.
40 * @WEBKIT_DOWNLOAD_STATUS_CREATED: The download has not started yet.
41 * @WEBKIT_DOWNLOAD_STATUS_STARTED: The download has started, but has not completed yet.
42 * @WEBKIT_DOWNLOAD_STATUS_CANCELLED: The user canceled the download.
43 * @WEBKIT_DOWNLOAD_STATUS_FINISHED: The download completed successfully.
45 * Enum values used to denote the various states of a download.
57 * @WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER: The download failed due to user cancellation.
58 * @WEBKIT_DOWNLOAD_ERROR_DESTINATION: The download failed due to disk write failure.
59 * @WEBKIT_DOWNLOAD_ERROR_NETWORK: The download failed due to a network error.
61 * Enum values used to denote the various download error
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/gtk/tests/
H A DTestDownloads.cpp49 static void receivedResponseCallback(WebKitDownload* download, GParamSpec*, DownloadTest* test) argument
51 g_assert(webkit_download_get_response(download));
52 test->receivedResponse(download);
55 static gboolean createdDestinationCallback(WebKitDownload* download, const gchar* destination, DownloadTest* test) argument
57 g_assert(webkit_download_get_destination(download));
58 g_assert_cmpstr(webkit_download_get_destination(download), ==, destination);
59 test->createdDestination(download, destination);
63 static gboolean receivedDataCallback(WebKitDownload* download, guint64 dataLength, DownloadTest* test) argument
65 test->receivedData(download, dataLength);
69 static gboolean finishedCallback(WebKitDownload* download, DownloadTes argument
75 failedCallback(WebKitDownload* download, GError* error, DownloadTest* test) argument
82 decideDestinationCallback(WebKitDownload* download, const gchar* suggestedFilename, DownloadTest* test) argument
89 downloadStartedCallback(WebKitWebContext* context, WebKitDownload* download, DownloadTest* test) argument
115 started(WebKitDownload* download) argument
120 receivedResponse(WebKitDownload* download) argument
125 createdDestination(WebKitDownload* download, const char* destination) argument
130 receivedData(WebKitDownload* download, guint64 dataLength) argument
137 finished(WebKitDownload* download) argument
144 failed(WebKitDownload* download, GError* error) argument
149 decideDestination(WebKitDownload* download, const gchar* suggestedFilename) argument
158 WebKitDownload* download = webkit_web_context_download_uri(m_webContext, requestURI.data()); local
170 checkDestinationAndDeleteFile(WebKitDownload* download, const char* expectedName) argument
193 GRefPtr<WebKitDownload> download = adoptGRef(test->downloadURIAndWaitUntilFinishes(sourceURI.get())); local
223 receivedResponse(WebKitDownload* download) argument
230 createdDestination(WebKitDownload* download, const char* destination) argument
235 failed(WebKitDownload* download, GError* error) argument
241 decideDestination(WebKitDownload* download, const gchar* suggestedFilename) argument
256 GRefPtr<WebKitDownload> download = adoptGRef(test->downloadURIAndWaitUntilFinishes("file:///foo/bar")); local
327 GRefPtr<WebKitDownload> download = adoptGRef(test->downloadURIAndWaitUntilFinishes(kServer->getURIForPath("/test.pdf"))); local
351 GRefPtr<WebKitDownload> download = adoptGRef(test->downloadURIAndWaitUntilFinishes(kServer->getURIForPath("/foo"))); local
396 downloadStartedCallback(WebKitWebContext* context, WebKitDownload* download, WebViewDownloadTest* test) argument
420 downloadDecideDestinationCallback(WebKitDownload* download, const gchar* suggestedFilename, WebViewDownloadTest* test) argument
428 downloadFinishedCallback(WebKitDownload* download, WebViewDownloadTest* test) argument
445 GRefPtr<WebKitDownload> download = adoptGRef(webkit_web_view_download_uri(test->m_webView, kServer->getURIForPath("/test.pdf").data())); local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Downloads/mac/
H A DDownloadMac.mm49 - (id)initWithDownload:(WebKit::Download*)download;
141 - (id)initWithDownload:(WebKit::Download*)download
147 _download = download;
156 - (void)downloadDidBegin:(NSURLDownload *)download
164 - (NSURLRequest *)download:(NSURLDownload *)download willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse
169 - (BOOL)download:(NSURLDownload *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
176 - (void)download:(NSURLDownload *)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
184 - (void)download
[all...]
/macosx-10.9.5/WebKit-7537.78.2/gtk/tests/
H A Dtestdownload.c34 WebKitDownload* download; local
39 download = webkit_download_new(request);
41 g_assert_cmpstr(webkit_download_get_uri(download), ==, uri);
42 g_assert(webkit_download_get_network_request(download) == request);
43 g_assert(g_strrstr(uri, webkit_download_get_suggested_filename(download)));
44 g_assert(webkit_download_get_status(download) == WEBKIT_DOWNLOAD_STATUS_CREATED);
45 g_assert(!webkit_download_get_total_size(download));
46 g_assert(!webkit_download_get_current_size(download));
47 g_assert(!webkit_download_get_progress(download));
48 g_assert(!webkit_download_get_elapsed_time(download));
71 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
98 handle_download_requested_cb(WebKitDownload* download, gboolean* beenThere, gboolean asynch) argument
121 download_requested_cb(WebKitWebView* web_view, WebKitDownload* download, gboolean* beenThere) argument
130 download_requested_asynch_cb(WebKitWebView* web_view, WebKitDownload* download, gboolean* beenThere) argument
252 WebKitDownload *download = WEBKIT_DOWNLOAD(object); local
296 WebKitDownload *download = webkit_download_new(request); local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/qt/
H A Dqwebdownloaditem_p_p.h36 void didReceiveResponse(QWebDownloadItem* download) { emit receivedResponse(download); } argument
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DIWebDownload.idl135 HRESULT decideDestinationWithSuggestedFilename([in] IWebDownload* download, [in] BSTR filename);
137 HRESULT didCancelAuthenticationChallenge([in] IWebDownload* download, [in] IWebURLAuthenticationChallenge* challenge);
139 HRESULT didCreateDestination([in] IWebDownload* download, [in] BSTR destination);
141 HRESULT didFailWithError([in] IWebDownload* download, [in] IWebError* error);
143 HRESULT didReceiveAuthenticationChallenge([in] IWebDownload* download, [in] IWebURLAuthenticationChallenge* challenge);
145 HRESULT didReceiveDataOfLength([in] IWebDownload* download, [in] unsigned length);
147 HRESULT didReceiveResponse([in] IWebDownload* download, [in] IWebURLResponse* response);
149 HRESULT shouldDecodeSourceDataOfMIMEType([in] IWebDownload* download, [in] BSTR encodingType, [out, retval] BOOL* shouldDecode);
151 HRESULT willResumeWithResponse([in] IWebDownload* download, [in] IWebURLResponse* response, [in] long long fromByte);
153 HRESULT willSendRequest([in] IWebDownload* download, [i
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/efl/tests/
H A Dtest_ewk2_download_job.cpp100 Ewk_Download_Job* download = static_cast<Ewk_Download_Job*>(eventInfo); local
101 ASSERT_EQ(EWK_DOWNLOAD_JOB_STATE_NOT_STARTED, ewk_download_job_state_get(download));
102 ASSERT_EQ(0, ewk_download_job_estimated_progress_get(download));
103 ASSERT_EQ(0, ewk_download_job_elapsed_time_get(download));
105 Ewk_Url_Request* request = ewk_download_job_request_get(download);
109 Ewk_Url_Response* response = ewk_download_job_response_get(download);
113 EXPECT_STREQ(serverSuggestedFilename, ewk_download_job_suggested_filename_get(download));
116 ewk_download_job_destination_set(download, testData->destinationPath);
117 EXPECT_STREQ(testData->destinationPath, ewk_download_job_destination_get(download));
138 Ewk_Download_Job* download local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/Shared/Downloads/cfnet/
H A DDownloadCFNet.cpp48 static void didStartCallback(CFURLDownloadRef download, const void* clientInfo);
49 static CFURLRequestRef willSendRequestCallback(CFURLDownloadRef download, CFURLRequestRef request, CFURLResponseRef redirectionResponse, const void* clientInfo);
50 static void didReceiveAuthenticationChallengeCallback(CFURLDownloadRef download, CFURLAuthChallengeRef challenge, const void* clientInfo);
51 static void didReceiveResponseCallback(CFURLDownloadRef download, CFURLResponseRef response, const void* clientInfo);
52 static void willResumeWithResponseCallback(CFURLDownloadRef download, CFURLResponseRef response, UInt64 startingByte, const void* clientInfo);
53 static void didReceiveDataCallback(CFURLDownloadRef download, CFIndex length, const void* clientInfo);
54 static Boolean shouldDecodeDataOfMIMETypeCallback(CFURLDownloadRef download, CFStringRef encodingType, const void* clientInfo);
55 static void decideDestinationWithSuggestedObjectNameCallback(CFURLDownloadRef download, CFStringRef objectName, const void* clientInfo);
56 static void didCreateDestinationCallback(CFURLDownloadRef download, CFURLRef path, const void* clientInfo);
57 static void didFinishCallback(CFURLDownloadRef download, cons
196 Download* download = downloadFromClientInfo(clientInfo); local
223 Download* download = downloadFromClientInfo(clientInfo); local
233 Download* download = downloadFromClientInfo(clientInfo); local
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/qt/
H A DQtDownloadManager.cpp58 void QtDownloadManager::addDownload(WKDownloadRef download, QWebDownloadItem* downloadItem) argument
60 m_downloads[WKDownloadGetID(download)] = downloadItem;
63 void QtDownloadManager::didReceiveResponse(WKContextRef, WKDownloadRef download, WKURLResponseRef response, const void* clientInfo) argument
68 QWebDownloadItem* downloadItem = q->m_downloads.value(WKDownloadGetID(download));
79 void QtDownloadManager::didCreateDestination(WKContextRef, WKDownloadRef download, WKStringRef path, const void* clientInfo) argument
83 QWebDownloadItem* downloadItem = q->m_downloads.value(WKDownloadGetID(download));
89 void QtDownloadManager::didFinishDownload(WKContextRef, WKDownloadRef download, const void *clientInfo) argument
93 // Will be called when download finishes with success.
94 QWebDownloadItem* downloadItem = q->m_downloads.take(WKDownloadGetID(download));
99 void QtDownloadManager::didFailDownload(WKContextRef, WKDownloadRef download, WKErrorRe argument
120 didReceiveDataForDownload(WKContextRef, WKDownloadRef download, uint64_t length, const void* clientInfo) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/
H A DCurlDownload.cpp168 // and bail out, stopping the file download. So make sure we
182 CurlDownload* download = 0; local
183 CURLcode err = curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &download);
187 callOnMainThread<CurlDownload*, CurlDownload*>(CurlDownload::downloadFinishedCallback, download);
189 callOnMainThread<CurlDownload*, CurlDownload*>(CurlDownload::downloadFailedCallback, download);
330 m_tempPath = openTemporaryFile("download", m_tempHandle);
375 CurlDownload* download = reinterpret_cast<CurlDownload*>(data); local
377 if (download)
378 download->didReceiveData(ptr, totalSize);
386 CurlDownload* download local
396 downloadFinishedCallback(CurlDownload* download) argument
402 downloadFailedCallback(CurlDownload* download) argument
408 receivedDataCallback(CurlDownload* download, int size) argument
414 receivedResponseCallback(CurlDownload* download) argument
[all...]

Completed in 150 milliseconds

1234567