Skip to content
  • andersca@apple.com's avatar
    Source/WebCore: Use a platform strategy for local storage · 89cf38d9
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * WebCore.exp.in:
    * WebCore.gypi:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    Add new files.
    
    * platform/PlatformStrategies.h:
    Add a way to create/get the storage strategy.
    
    * storage/StorageNamespace.cpp:
    (WebCore::StorageNamespace::localStorageNamespace):
    (WebCore::StorageNamespace::sessionStorageNamespace):
    Call the storage strategy.
    
    * storage/StorageNamespace.h:
    * storage/StorageStrategy.cpp: Added.
    (WebCore::StorageStrategy::localStorageNamespace):
    (WebCore::StorageStrategy::sessionStorageNamespace):
    Call through to StorageNamespaceImpl.
    
    * storage/StorageStrategy.h: Added.
    
    Source/WebKit/efl: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/PlatformStrategiesEfl.cpp:
    (PlatformStrategiesEfl::createStorageStrategy):
    * WebCoreSupport/PlatformStrategiesEfl.h:
    (PlatformStrategiesEfl):
    
    Source/WebKit/gtk: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/PlatformStrategiesGtk.cpp:
    (PlatformStrategiesGtk::createStorageStrategy):
    * WebCoreSupport/PlatformStrategiesGtk.h:
    (PlatformStrategiesGtk):
    
    Source/WebKit/mac: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/WebPlatformStrategies.h:
    (WebPlatformStrategies):
    * WebCoreSupport/WebPlatformStrategies.mm:
    (WebPlatformStrategies::createStorageStrategy):
    
    Source/WebKit/qt: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/PlatformStrategiesQt.cpp:
    (PlatformStrategiesQt::createStorageStrategy):
    * WebCoreSupport/PlatformStrategiesQt.h:
    (PlatformStrategiesQt):
    
    Source/WebKit/win: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/WebPlatformStrategies.cpp:
    (WebPlatformStrategies::createStorageStrategy):
    * WebCoreSupport/WebPlatformStrategies.h:
    (WebPlatformStrategies):
    
    Source/WebKit/wince: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebCoreSupport/PlatformStrategiesWinCE.cpp:
    (PlatformStrategiesWinCE::createStorageStrategy):
    * WebCoreSupport/PlatformStrategiesWinCE.h:
    (PlatformStrategiesWinCE):
    
    Source/WebKit2: Use a platforom strategy for local storage
    https://bugs.webkit.org/show_bug.cgi?id=107600
    
    Reviewed by Andreas Kling.
    
    Update for new storage strategy.
    
    * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
    (WebKit::WebPlatformStrategies::createStorageStrategy):
    (WebKit):
    * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
    (WebPlatformStrategies):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    89cf38d9