Summary: | [EFL][WK2] Use C API inside ewk_url_response | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kenneth Rohde Christiansen <kenneth> | ||||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | benjamin, cdumez, gyuyoung.kim, rakuco, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 107657 | ||||||||||
Attachments: |
|
Description
Kenneth Rohde Christiansen
2013-01-24 07:29:57 PST
Created attachment 184490 [details]
Patch
Comment on attachment 184490 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=184490&action=review > Source/WebKit2/UIProcess/API/efl/ewk_url_response_private.h:-58 > - explicit EwkUrlResponse(const WebCore::ResourceResponse& coreResponse); We should probably stop including <WebCore/ResourceResponse.h> then. Created attachment 184496 [details]
Patch
Comment on attachment 184496 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=184496&action=review > Source/WebKit2/Shared/API/c/WKURLResponse.h:47 > +WK_EXPORT uint32_t WKURLResponseGetExpectedContentsLength(WKURLResponseRef); Sorry I did not see this earlier but why contents (plural)? The HTTP header field is "Content-Length" (singular). Also note that WebCore and the EFL API both use Content (singular). (In reply to comment #4) > (From update of attachment 184496 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=184496&action=review > > > Source/WebKit2/Shared/API/c/WKURLResponse.h:47 > > +WK_EXPORT uint32_t WKURLResponseGetExpectedContentsLength(WKURLResponseRef); > > Sorry I did not see this earlier but why contents (plural)? The HTTP header field is "Content-Length" (singular). Also note that WebCore and the EFL API both use Content (singular). I will change it to that... contents vs content is something I never get right :-) and I am not the only one if you grep for those in WebKit! Created attachment 184504 [details]
Patch
Comment on attachment 184504 [details]
Patch
LGTM
Comment on attachment 184504 [details]
Patch
r=me
Comment on attachment 184504 [details] Patch Clearing flags on attachment: 184504 Committed r140962: <http://trac.webkit.org/changeset/140962> All reviewed patches have been landed. Closing bug. |