Commit 540bea82 authored by thomasvl@chromium.org's avatar thomasvl@chromium.org

Move the Dictionary dir on the Mac out of the package and into user data.

BUG=8317
TEST=make sure we don't create a dictionary directory within the app.
Review URL: http://codereview.chromium.org/115863

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17079 0039d316-1c4b-4281-b951-d872f2087c98
parent 1f460075
......@@ -93,9 +93,11 @@ bool PathProvider(int key, FilePath* result) {
#endif
break;
case chrome::DIR_APP_DICTIONARIES:
#if defined(OS_LINUX)
#if defined(OS_LINUX) || defined(OS_MACOSX)
// We can't write into the EXE dir on Linux, so keep dictionaries
// alongside the safe browsing database in the user data dir.
// And we don't want to write into the bundle on the Mac, so push
// it to the user data dir there also.
if (!PathService::Get(chrome::DIR_USER_DATA, &cur))
return false;
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment