| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_BASE_PATHS_POSIX_H_ | 5 #ifndef BASE_BASE_PATHS_POSIX_H_ |
| 6 #define BASE_BASE_PATHS_POSIX_H_ | 6 #define BASE_BASE_PATHS_POSIX_H_ |
| 7 | 7 |
| 8 // This file declares windows-specific path keys for the base module. | 8 // This file declares windows-specific path keys for the base module. |
| 9 // These can be used with the PathService to access various special | 9 // These can be used with the PathService to access various special |
| 10 // directories and files. | 10 // directories and files. |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 | 13 |
| 14 enum { | 14 enum { |
| 15 PATH_POSIX_START = 400, | 15 PATH_POSIX_START = 400, |
| 16 | 16 |
| 17 DIR_CACHE, // Directory where to put cache data. Note this is | 17 DIR_CACHE, // Directory where to put cache data. Note this is |
| 18 // *not* where the browser cache lives, but the | 18 // *not* where the browser cache lives, but the |
| 19 // browser cache can be a subdirectory. | 19 // browser cache can be a subdirectory. |
| 20 // This is $XDG_CACHE_HOME on Linux and | 20 // This is $XDG_CACHE_HOME on Linux and |
| 21 // ~/Library/Caches on Mac. | 21 // ~/Library/Caches on Mac. |
| 22 DIR_HOME, // $HOME on POSIX-like systems. | |
| 23 | |
| 24 PATH_POSIX_END | 22 PATH_POSIX_END |
| 25 }; | 23 }; |
| 26 | 24 |
| 27 } // namespace base | 25 } // namespace base |
| 28 | 26 |
| 29 #endif // BASE_BASE_PATHS_POSIX_H_ | 27 #endif // BASE_BASE_PATHS_POSIX_H_ |
| OLD | NEW |