2011-03-30 Anders Carlsson <andersca@apple.com>
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2011 01:45:22 +0000 (01:45 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2011 01:45:22 +0000 (01:45 +0000)
commit3389e52c99d94a61ab3701ad4ae5f479b40c8939
tree068ddc4a753bc97d3339b33437d930030dea6e0b
parent6c7b2c9ea01db4ec936bf19c8a7475722ce33c89
2011-03-30  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Clean up the sandbox parameter code
        https://bugs.webkit.org/show_bug.cgi?id=57518

        * Shared/WebProcessCreationParameters.h:
        Make nsURLCachePath and uiProcessBundleResourcePath Strings to match the other paths we send over.

        * UIProcess/mac/WebContextMac.mm:
        (WebKit::WebContext::platformInitializeWebProcess):
        nsURLCachePath and uiProcessBundleResourcePath are now Strings.

        * WebProcess/mac/WebProcessMac.mm:
        (WebKit::appendSandboxParameterPathInternal):
        (WebKit::appendReadwriteConfDirectory):
        (WebKit::appendReadonlySandboxDirectory):
        (WebKit::appendReadwriteSandboxDirectory):
        (WebKit::initializeSandbox):
        Make it more clear whether the directories we're adding are readonly or readwrite. No functionality change.

        (WebKit::WebProcess::platformInitializeWebProcess):
        nsURLCachePath is now a string.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebProcessCreationParameters.h
Source/WebKit2/UIProcess/mac/WebContextMac.mm
Source/WebKit2/WebProcess/mac/WebProcessMac.mm