diff --git a/brightray/browser/brightray_paths.h b/brightray/browser/brightray_paths.h index 83a3a9f1cdb3..91e95f9791be 100644 --- a/brightray/browser/brightray_paths.h +++ b/brightray/browser/brightray_paths.h @@ -13,12 +13,17 @@ #include "base/base_paths_mac.h" #endif +#if defined(OS_POSIX) +#include "base/base_paths_posix.h" +#endif + namespace brightray { enum { PATH_START = 1000, DIR_USER_DATA = PATH_START, // Directory where user data can be written. + DIR_USER_CACHE, // Directory where user cache can be written. #if defined(OS_LINUX) DIR_APP_DATA, // Application Data directory under the user profile. @@ -26,6 +31,12 @@ enum { DIR_APP_DATA = base::DIR_APP_DATA, #endif +#if defined(OS_POSIX) + DIR_CACHE = base::DIR_CACHE, // Directory where to put cache data. +#else + DIR_CACHE = base::DIR_APP_DATA, +#endif + PATH_END };