summaryrefslogtreecommitdiffstats
path: root/base/base_paths.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 01:07:12 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 01:07:12 +0000
commitb7045486e09d1e059e9eb3b7a5013132046495c8 (patch)
tree6cf49f494c9dc7a3de8ca4c5dd61c886235b5f22 /base/base_paths.h
parent82215af6ee16b2519832ff4676c13b7f240f8c37 (diff)
downloadchromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.zip
chromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.tar.gz
chromium_src-b7045486e09d1e059e9eb3b7a5013132046495c8.tar.bz2
Mac: Rename DIR_CACHE to DIR_USER_CACHE, which is already used on Linux.
BUG=none TEST=none Review URL: http://codereview.chromium.org/463005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths.h')
-rw-r--r--base/base_paths.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/base_paths.h b/base/base_paths.h
index 7718fbe..6a8342e 100644
--- a/base/base_paths.h
+++ b/base/base_paths.h
@@ -31,10 +31,11 @@ enum {
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.
-#if defined(OS_LINUX)
+#if defined(OS_POSIX)
DIR_USER_CACHE, // Directory where user cache data resides. The Chromium
// browser cache can be a subdirectory of DIR_USER_CACHE.
- // This is $XDG_CACHE_HOME on Linux.
+ // This is $XDG_CACHE_HOME on Linux and ~/Library/Caches
+ // on Mac.
#endif
PATH_END