Summary: | [Webkit2] Add APIDownloadClient for download support. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yongjun Zhang <yongjun_zhang> | ||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aestes, andersca, bunhere, cdumez, commit-queue, gyuyoung.kim, mitz, rakuco, sam, sergio | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Yongjun Zhang
2014-03-19 16:15:39 PDT
Created attachment 227230 [details]
Patch.
Created attachment 227483 [details]
[Webkit2] Add APIDownloadClient for download support.
Attachment 227483 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/API/APIDownloadClient.h:64: Missing space before { [whitespace/braces] [5]
ERROR: Source/WebKit2/UIProcess/API/APIDownloadClient.h:64: Missing space inside { }. [whitespace/braces] [5]
Total errors found: 2 in 7 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Somehow I missed Yongjun posting a patch, and I ended up writing an almost exact copy of it :( Sorry. Comment on attachment 227230 [details]
Patch.
Looks very good, but the WebContext constructor needs to initialize m_downloadClient, something like:
, m_downloadClient(std::make_unique<API::DownloadClient>())
Committed r166096: <http://trac.webkit.org/changeset/166096> |