diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 21:03:44 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 21:03:44 +0000 |
commit | 405a64b63ae9a6869923aa5b80cc77acf66e71bf (patch) | |
tree | 7881c66b26cc96095a454585a5ae40d3b5863c39 /base/base_paths_mac.h | |
parent | 3fcec6daa921d2cf2ecdfa69740ad095700f9ddd (diff) | |
download | chromium_src-405a64b63ae9a6869923aa5b80cc77acf66e71bf.zip chromium_src-405a64b63ae9a6869923aa5b80cc77acf66e71bf.tar.gz chromium_src-405a64b63ae9a6869923aa5b80cc77acf66e71bf.tar.bz2 |
Set OS X cache directory to ~/Library/Caches/[app name]/[profile name]
- Added implementation of GetUserCacheDirectory() for OS X.
- Added FilePath::GetRelativePath().
- Implemented per-profile cache directories for OS X.
Patch by Fred Akalin <akalin@gmail.com>
Code review URL: http://codereview.chromium.org/174053
Review URL: http://codereview.chromium.org/204043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_mac.h')
-rw-r--r-- | base/base_paths_mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/base_paths_mac.h b/base/base_paths_mac.h index 23ae7fe..324fc6c 100644 --- a/base/base_paths_mac.h +++ b/base/base_paths_mac.h @@ -18,8 +18,8 @@ enum { FILE_MODULE, // path and filename of the module containing the code for the // PathService (which could differ from FILE_EXE if the // PathService were compiled into a library, for example) - DIR_APP_DATA, // ~/Library/Application Support/Google/Chrome - DIR_LOCAL_APP_DATA, // same as above (can we remove?) + DIR_CACHE, // ~/Library/Caches + DIR_APP_DATA, // ~/Library/Application Support DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful // for tests that need to locate various resources. It // should not be used outside of test code. |