Add a WebApplicationCache::storage() and use it instead of the WebCore singleton
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Apr 2015 19:28:34 +0000 (19:28 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Apr 2015 19:28:34 +0000 (19:28 +0000)
commita334e3745b2fd1200ede25f270a4e942849cab8c
tree8e4d067e99ae08aebf27c2f7d6c3f592caf891ad
parentc7da4c88a36e1f95efc101f6b58f8dfa48b3fbeb
Add a WebApplicationCache::storage() and use it instead of the WebCore singleton
https://bugs.webkit.org/show_bug.cgi?id=143525

Reviewed by Antti Koivisto.

* WebApplicationCache.cpp:
(WebApplicationCache::storage):
(WebApplicationCache::maximumSize):
(WebApplicationCache::setMaximumSize):
(WebApplicationCache::defaultOriginQuota):
(WebApplicationCache::setDefaultOriginQuota):
(WebApplicationCache::diskUsageForOrigin):
(WebApplicationCache::deleteAllApplicationCaches):
(WebApplicationCache::deleteCacheForOrigin):
(WebApplicationCache::originsWithCache):
* WebApplicationCache.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebApplicationCache.cpp
Source/WebKit/win/WebApplicationCache.h