Chromium Code Reviews| Index: base/base_paths_posix.h |
| diff --git a/base/base_paths_posix.h b/base/base_paths_posix.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c99b8fb44ed1503199eb23d6de36661efe9159f4 |
| --- /dev/null |
| +++ b/base/base_paths_posix.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BASE_BASE_PATHS_POSIX_H__ |
|
brettw
2012/09/14 22:10:06
Only single underscore at the end of these.
gab
2012/09/16 03:13:51
Done.
|
| +#define BASE_BASE_PATHS_POSIX_H__ |
| + |
| +// This file declares windows-specific path keys for the base module. |
| +// These can be used with the PathService to access various special |
| +// directories and files. |
| + |
| +namespace base { |
| + |
| +enum { |
| + PATH_POSIX_START = 400, |
| + |
| + DIR_CACHE, // Directory where to put cache data. Note this is |
| + // *not* where the browser cache lives, but the |
| + // browser cache can be a subdirectory. |
| + // This is $XDG_CACHE_HOME on Linux and |
| + // ~/Library/Caches on Mac. |
| + DIR_HOME, // $HOME on POSIX-like systems. |
| + |
| + PATH_POSIX_END |
| +}; |
| + |
| +} // namespace base |
| + |
| +#endif // BASE_BASE_PATHS_POSIX_H__ |