[WK2] Rename WebURLResponse to API::URLResponse
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Dec 2013 21:32:15 +0000 (21:32 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Dec 2013 21:32:15 +0000 (21:32 +0000)
commit78cfd648ef936a75ae6573a76725e46dc412697e
treea2046d8f4628c6bb1e90f0f535e7ef4aca7fa2fa
parent9c60f72e6ef24f7118e402f7badfc9c972cd0907
[WK2] Rename WebURLResponse to API::URLResponse
https://bugs.webkit.org/show_bug.cgi?id=125910

Reviewed by Andreas Kling.

* Shared/API/c/WKSharedAPICast.h:
(WebKit::toAPI):
* Shared/API/c/WKURLResponse.cpp:
(WKURLResponseGetTypeID):
* Shared/API/c/mac/WKURLResponseNS.mm:
(WKURLResponseCreateWithNSURLResponse):
* Shared/APIURLRequest.cpp:
* Shared/APIURLResponse.cpp: Copied from Source/WebKit2/Shared/WebURLResponse.cpp.
(API::URLResponse::URLResponse):
(API::URLResponse::encode):
(API::URLResponse::decode):
* Shared/APIURLResponse.h: Copied from Source/WebKit2/Shared/WebURLResponse.h.
(API::URLResponse::create):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageDecoder::baseDecode):
* Shared/WebURLResponse.cpp: Removed.
* Shared/WebURLResponse.h: Removed.
* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::didReceiveResponse):
* UIProcess/WebPolicyClient.cpp:
(WebKit::WebPolicyClient::decidePolicyForResponse):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp:
(WebKit::InjectedBundlePagePolicyClient::decidePolicyForResponse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKSharedAPICast.h
Source/WebKit2/Shared/API/c/WKURLResponse.cpp
Source/WebKit2/Shared/API/c/mac/WKURLResponseNS.mm
Source/WebKit2/Shared/APIURLRequest.cpp
Source/WebKit2/Shared/APIURLResponse.cpp [moved from Source/WebKit2/Shared/WebURLResponse.cpp with 73% similarity]
Source/WebKit2/Shared/APIURLResponse.h [moved from Source/WebKit2/Shared/WebURLResponse.h with 74% similarity]
Source/WebKit2/Shared/UserMessageCoders.h
Source/WebKit2/UIProcess/WebDownloadClient.cpp
Source/WebKit2/UIProcess/WebPolicyClient.cpp
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp