-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116729 Reviewed by Tim Horton. Source/WebKit: * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Export three symbols needed to implement the feature. Source/WebKit/win: * WebDatabaseManager.cpp: Update to check preferences for the desired location of the database store. (databasesDirectory): Added. (WebKitInitializeWebDatabasesIfNecessary): Use new databasesDirectory method to determine what system path to use for file storage. * WebKit.vcproj/WebKitExports.def.in: Export three symbols needed to implement the feature. * WebView.cpp: Update to check preferences for the desired location of the various caches used by WebKit. (WebView::setCacheModel): Update to check preferences for URL cache storage. (WebKitSetApplicationCachePathIfNecessary): Update to check preferences for ccache storage. Tools: Update DumpRenderTree to use CFPreferences to control where WebKit stores its local databases, URL caches, etc. * DumpRenderTree/win/DumpRenderTree.cpp: (libraryPathForDumpRenderTree): Added. (dllLauncherEntryPoint): Set up DRT-specific cache locations. * Scripts/webkitpy/port/base.py: (Port._driver_tempdir): Added (to allow port-specific overload). (Port._driver_tempdir_for_environment): Ditto * Scripts/webkitpy/port/driver.py: (Driver._setup_environ_for_driver): Use new overload to set environment variable. (Driver._start): Use new overload for temp directory location. * Scripts/webkitpy/port/win.py: (WinPort._driver_tempdir_for_environment): New overload to supply Windows path to DumpRenderTree environment (while still using cygwin paths for internal operations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a5362965