diff options
Diffstat (limited to 'base/base_paths.h')
-rw-r--r-- | base/base_paths.h | 5 |
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 |