register DIR_CACHE and DIR_USER_CACHE in path service
This commit is contained in:
parent
dc4ccfcbdc
commit
4bbe026d48
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue