Bug 49418 - Add didReceiveResponse and didReceiveData to the download client
Summary: Add didReceiveResponse and didReceiveData to the download client
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 17:23 PST by Anders Carlsson
Modified: 2010-11-11 17:33 PST (History)
0 users

See Also:


Attachments
Patch (15.82 KB, patch)
2010-11-11 17:26 PST, Anders Carlsson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>