• beidson@apple.com's avatar
    WebCore: · 18ed1cdf
    beidson@apple.com authored
    2008-05-06  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Darin Adler
    
            Preparation for upcoming work making LocalStorage persistent.
    
            When the application terminates, all pending local storage writes need to be
            sync'ed out to disk.
            This works n combination with platform specific code in WebKit that calls it.
    
            * WebCore.base.exp:
    
            * page/PageGroup.cpp:
            (WebCore::PageGroup::closeLocalStorage): Close all open LocalStorage objects
            * page/PageGroup.h:
    
            * storage/LocalStorage.cpp:
            (WebCore::LocalStorage::close): Placeholder for what will sync and terminate the
              local storage thread in the future.
            * storage/LocalStorage.h:
    
    WebKit/mac:
    
    2008-05-06  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Darin Adler
    
            Preparation for upcoming work making LocalStorage persistent.
    
            When the application terminates, all LocalStorage areas must be sync'ed out to disk first.
    
            * WebView/WebView.mm:
            (+[WebView _applicationWillTerminate]):  Close all LocalStorage areas before quitting.
    
    WebKit/win:
    
    2008-05-06  Brady Eidson  <beidson@apple.com>
    
            Reviewed by Darin Adler
    
            Preparation for upcoming work making LocalStorage persistent.
    
            When the application terminates, all LocalStorage areas must be sync'ed out to disk first.
    
            * WebKitDLL.cpp:
            (shutDownWebKit): Close all LocalStorage areas before quitting.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    18ed1cdf
WebCore.base.exp 40.5 KB