• andersca@apple.com's avatar
    WebCore: · 8990786b
    andersca@apple.com authored
    2008-05-12  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Alexey.
    
            Add ApplicationCacheStorage::empty() method which will empty
            the application cache database.
            
            * WebCore.base.exp:
            * loader/appcache/ApplicationCache.cpp:
            (WebCore::ApplicationCache::clearStorageID):
            * loader/appcache/ApplicationCache.h:
            * loader/appcache/ApplicationCacheGroup.cpp:
            (WebCore::ApplicationCacheGroup::clearStorageID):
            * loader/appcache/ApplicationCacheGroup.h:
            * loader/appcache/ApplicationCacheResource.h:
            (WebCore::ApplicationCacheResource::clearStorageID):
            * loader/appcache/ApplicationCacheStorage.cpp:
            (WebCore::ApplicationCacheStorage::empty):
            * loader/appcache/ApplicationCacheStorage.h:
    
    WebKit/mac:
    
    2008-05-12  Anders Carlsson  <andersca@apple.com>
    
            Reviewed by Alexey.
    
            Empty the application cache when changing the cache model.
            
            * WebView/WebView.mm:
            (+[WebView _setCacheModel:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8990786b
WebCore.base.exp 40.6 KB