[Curl] Add implementation stubs for Network Cache
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Jan 2018 22:52:11 +0000 (22:52 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Jan 2018 22:52:11 +0000 (22:52 +0000)
commitd4d6070c378f2aeae54235c6581c9507c8b23fdb
tree4e5df61275c1f34fb031c1a96c5505f20270581d
parent741ac5af80660a0c8645ab94479adf2daa149b30
[Curl] Add implementation stubs for Network Cache
https://bugs.webkit.org/show_bug.cgi?id=181343

Reviewed by Alex Christensen.

* NetworkProcess/cache/NetworkCacheCodersCurl.cpp: Added.
(WTF::Persistence::Coder<WebCore::CertificateInfo>::encode):
(WTF::Persistence::Coder<WebCore::CertificateInfo>::decode):
* NetworkProcess/cache/NetworkCacheDataCurl.cpp: Added.
(WebKit::NetworkCache::Data::Data):
(WebKit::NetworkCache::Data::empty):
(WebKit::NetworkCache::Data::data const):
(WebKit::NetworkCache::Data::isNull const):
(WebKit::NetworkCache::Data::apply const):
(WebKit::NetworkCache::Data::subrange const):
(WebKit::NetworkCache::concatenate):
(WebKit::NetworkCache::Data::adoptMap):
* NetworkProcess/cache/NetworkCacheIOChannelCurl.cpp: Added.
(WebKit::NetworkCache::IOChannel::IOChannel):
(WebKit::NetworkCache::IOChannel::~IOChannel):
(WebKit::NetworkCache::IOChannel::open):
(WebKit::NetworkCache::IOChannel::read):
(WebKit::NetworkCache::IOChannel::write):
* PlatformWin.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/cache/NetworkCacheCodersCurl.cpp [new file with mode: 0644]
Source/WebKit/NetworkProcess/cache/NetworkCacheDataCurl.cpp [new file with mode: 0644]
Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannelCurl.cpp [new file with mode: 0644]
Source/WebKit/PlatformWin.cmake