[WinCairo] Add network (curl) files for wincairo webkit
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Nov 2017 06:14:28 +0000 (06:14 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Nov 2017 06:14:28 +0000 (06:14 +0000)
commitf81263f51846996397d92b490315833c3df5707b
tree4594f745ce57587adff7d5c456d81d38ec586039
parent19ac8b65d31f718e1005a0e96fa70563aea9d5d6
[WinCairo] Add network (curl) files for wincairo webkit
https://bugs.webkit.org/show_bug.cgi?id=179474

Patch by Yousuke Kimoto <yousuke.kimoto@sony.com> on 2017-11-16
Reviewed by Alex Christensen.

Source/WebCore:

No new behvaior, no new tests.

* PlatformWinCairo.cmake:
* platform/Curl.cmake:
* platform/network/curl/CookieStorageCurl.cpp: Added.
(WebCore::startObservingCookieChanges):
(WebCore::stopObservingCookieChanges):
* platform/network/curl/NetworkStorageSessionCurl.cpp: Added.
(WebCore::NetworkStorageSession::~NetworkStorageSession):
(WebCore::NetworkStorageSession::context const):
(WebCore::defaultSession):
(WebCore::NetworkStorageSession::ensureSession):
(WebCore::NetworkStorageSession::switchToNewTestingSession):
(WebCore::NetworkStorageSession::setCookies):
(WebCore::NetworkStorageSession::setCookie):
(WebCore::NetworkStorageSession::deleteCookie):
(WebCore::NetworkStorageSession::getAllCookies):
(WebCore::NetworkStorageSession::getCookies):
(WebCore::NetworkStorageSession::flushCookieStore):

Source/WebKit:

* Shared/curl/WebCoreArgumentCodersCurl.cpp:
(IPC::ArgumentCoder<CertificateInfo>::decode): Fidex return value since currently no operation is needed for wincairo webkit.
(IPC::ArgumentCoder<ResourceError>::decodePlatformData): Fidex return value since currently no operation is needed for wincairo webkit.
* WebProcess/WebCoreSupport/curl/WebFrameNetworkingContext.cpp: Renamed from Source/WebKit/WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.cpp.
(WebKit::WebFrameNetworkingContext::ensureWebsiteDataStoreSession):
* WebProcess/WebCoreSupport/curl/WebFrameNetworkingContext.h: Renamed from Source/WebKit/WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PlatformWinCairo.cmake
Source/WebCore/platform/Curl.cmake
Source/WebCore/platform/network/curl/CookieStorageCurl.cpp [new file with mode: 0644]
Source/WebCore/platform/network/curl/NetworkStorageSessionCurl.cpp [moved from Source/WebCore/platform/network/NetworkStorageSessionStub.cpp with 68% similarity]
Source/WebKit/ChangeLog
Source/WebKit/Shared/curl/WebCoreArgumentCodersCurl.cpp
Source/WebKit/WebProcess/WebCoreSupport/curl/WebFrameNetworkingContext.cpp [moved from Source/WebKit/WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.cpp with 93% similarity]
Source/WebKit/WebProcess/WebCoreSupport/curl/WebFrameNetworkingContext.h [moved from Source/WebKit/WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h with 97% similarity]