Bug 49418

Summary: Add didReceiveResponse and didReceiveData to the download client
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Description Anders Carlsson 2010-11-11 17:23:13 PST
Add didReceiveResponse and didReceiveData to the download client
Comment 1 Anders Carlsson 2010-11-11 17:26:30 PST
Created attachment 73684 [details]
Patch
Comment 2 Darin Adler 2010-11-11 17:29:58 PST
Comment on attachment 73684 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=73684&action=review

> WebKit2/UIProcess/API/C/WKContext.h:77
> +typedef void (*WKContextDownloadDidReceiveResponseCallback)(WKContextRef context, WKDownloadRef download, WKURLResponseRef response, const void *clientInfo);
> +typedef void (*WKContextDownloadDidReceiveDataCallback)(WKContextRef context, WKDownloadRef download, uint64_t length, const void *clientInfo);
>  typedef void (*WKContextDownloadDidCreateDestinationCallback)(WKContextRef context, WKDownloadRef download, WKStringRef path, const void *clientInfo);
> +typedef void (*WKContextDownloadDidFinishCallback)(WKContextRef context, WKDownloadRef download, const void *clientInfo);

Can we do "const void*" instead of "const void *"?
Comment 3 Anders Carlsson 2010-11-11 17:33:51 PST
Committed r71872: <http://trac.webkit.org/changeset/71872>