Factor platform I/O out from NetworkCacheStorage
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Mar 2015 21:35:11 +0000 (21:35 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Mar 2015 21:35:11 +0000 (21:35 +0000)
commitc1c171f9d2a6d5a60835a95d4713625865b4d43e
tree494911a2facf23434da34ed46e288033b02cdb90
parenta080f06b25bdbf560f50d48cc525761234f8ecae
Factor platform I/O out from NetworkCacheStorage
https://bugs.webkit.org/show_bug.cgi?id=142279

Reviewed by Chris Dumez.

* NetworkProcess/cache/NetworkCacheData.h: Added.
* NetworkProcess/cache/NetworkCacheDataCocoa.mm: Added.

    NetworkCacheStorage::Data -> NetworkCacheData
    Move to files of its own.

* NetworkProcess/cache/NetworkCacheIOChannel.h: Added.
* NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm: Added.

    Add abstraction for dispatch IO channels.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp
Source/WebKit2/NetworkProcess/cache/NetworkCacheData.h [new file with mode: 0644]
Source/WebKit2/NetworkProcess/cache/NetworkCacheDataCocoa.mm [new file with mode: 0644]
Source/WebKit2/NetworkProcess/cache/NetworkCacheIOChannel.h [new file with mode: 0644]
Source/WebKit2/NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm [new file with mode: 0644]
Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.h
Source/WebKit2/NetworkProcess/cache/NetworkCacheStorageCocoa.mm
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj