Skip to content
  • andersca@apple.com's avatar
    Change storage factory functions to take a PageGroup and Page respectively · e44d33f5
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=114776
    
    Reviewed by Beth Dakin.
    
    Source/WebCore:
    
    Change StorageNamespace::localStorageNamespace to take a PageGroup since WebKit2 needs
    to know which local storage namespace belongs to which page group. Also remove the quota parameter from
    the sessionStorageNamespace function since that's trivial to get from the Page.
    
    * WebCore.exp.in:
    * page/Page.cpp:
    (WebCore::Page::sessionStorage):
    * page/PageGroup.cpp:
    (WebCore::PageGroup::localStorage):
    * storage/StorageNamespace.cpp:
    (WebCore::StorageNamespace::localStorageNamespace):
    (WebCore::StorageNamespace::sessionStorageNamespace):
    * storage/StorageNamespace.h:
    * storage/StorageNamespaceImpl.cpp:
    (WebCore::StorageNamespaceImpl::localStorageNamespace):
    (WebCore::StorageNamespaceImpl::sessionStorageNamespace):
    * storage/StorageNamespaceImpl.h:
    * storage/StorageStrategy.cpp:
    (WebCore::StorageStrategy::localStorageNamespace):
    (WebCore::StorageStrategy::sessionStorageNamespace):
    * storage/StorageStrategy.h:
    
    Source/WebKit2:
    
    Update for WebCore changes.
    
    * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
    (WebKit::WebPlatformStrategies::localStorageNamespace):
    (WebKit::WebPlatformStrategies::sessionStorageNamespace):
    * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
    (WebPlatformStrategies):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e44d33f5