| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_MAC_H_ | 5 #ifndef BASE_BASE_PATHS_MAC_H_ |
| 6 #define BASE_BASE_PATHS_MAC_H_ | 6 #define BASE_BASE_PATHS_MAC_H_ |
| 7 | 7 |
| 8 // This file declares Mac-specific path keys for the base module. | 8 // This file declares Mac-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_MAC_START = 200, | 15 PATH_MAC_START = 200, |
| 16 | 16 |
| 17 FILE_EXE, // path and filename of the current executable | 17 FILE_EXE, // path and filename of the current executable |
| 18 FILE_MODULE, // path and filename of the module containing the code for the | 18 FILE_MODULE, // path and filename of the module containing the code for the |
| 19 // PathService (which could differ from FILE_EXE if the | 19 // PathService (which could differ from FILE_EXE if the |
| 20 // PathService were compiled into a library, for example) | 20 // PathService were compiled into a library, for example) |
| 21 DIR_APP_DATA, // ~/Library/Application Support/Google/Chrome | 21 DIR_CACHE, // ~/Library/Caches |
| 22 DIR_LOCAL_APP_DATA, // same as above (can we remove?) | 22 DIR_APP_DATA, // ~/Library/Application Support |
| 23 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful | 23 DIR_SOURCE_ROOT, // Returns the root of the source tree. This key is useful |
| 24 // for tests that need to locate various resources. It | 24 // for tests that need to locate various resources. It |
| 25 // should not be used outside of test code. | 25 // should not be used outside of test code. |
| 26 PATH_MAC_END | 26 PATH_MAC_END |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace base | 29 } // namespace base |
| 30 | 30 |
| 31 #endif // BASE_BASE_PATHS_MAC_H_ | 31 #endif // BASE_BASE_PATHS_MAC_H_ |
| OLD | NEW |