-
mjs@apple.com authored
Reviewed by Anders Carlsson. Use designated temp directory for the database for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=53052 Adopt the new WK2 API for this. * WebKitTestRunner/TestController.cpp: (WTR::TestController::libraryPathForTesting): (WTR::TestController::initialize): * WebKitTestRunner/TestController.h: * WebKitTestRunner/mac/TestControllerMac.mm: (WTR::TestController::platformLibraryPathForTesting): * WebKitTestRunner/qt/TestControllerQt.cpp: (WTR::TestController::platformLibraryPathForTesting): * WebKitTestRunner/win/TestControllerWin.cpp: (WTR::TestController::platformLibraryPathForTesting): 2011-01-24 Maciej Stachowiak <mjs@apple.com> Reviewed by Anders Carlsson. Use designated temp directory for the database for WebKit2 https://bugs.webkit.org/show_bug.cgi?id=53052 Add the API necessary to support this. Database path is now determined on the UI process side and passed to the Web process. Reviewed by Anders Carlsson. * GNUmakefile.am: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * UIProcess/API/C/WKContext.cpp: (WKContextSetDatabaseDirectory): * UIProcess/API/C/WKContextPrivate.h: * UIProcess/WebContext.cpp: (WebKit::WebContext::ensureWebProcess): (WebKit::WebContext::databaseDirectory): * UIProcess/WebContext.h: (WebKit::WebContext::setDatabaseDirectory): * UIProcess/mac/WebContextMac.mm: (WebKit::WebContext::platformDefaultDatabaseDirectory): * UIProcess/qt/WebContextQt.cpp: (WebKit::WebContext::platformDefaultDatabaseDirectory): * UIProcess/win/WebContextWin.cpp: (WebKit::WebContext::platformDefaultDatabaseDirectory): * WebKit2.pro: * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebDatabaseManager.cpp: (WebKit::WebDatabaseManager::initialize): (WebKit::WebDatabaseManager::WebDatabaseManager): * WebProcess/WebCoreSupport/WebDatabaseManager.h: * WebProcess/WebCoreSupport/gtk/WebDatabaseManagerGtk.cpp: Removed. * WebProcess/WebCoreSupport/mac/WebDatabaseManagerMac.mm: Removed. * WebProcess/WebCoreSupport/qt/WebDatabaseManagerQt.cpp: Removed. * WebProcess/WebCoreSupport/win/WebDatabaseManagerWin.cpp: Removed. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeWebProcess): * WebProcess/com.apple.WebProcess.sb: * WebProcess/mac/WebProcessMac.mm: (WebKit::initializeSandbox): * win/WebKit2.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
31a1ec3d