| 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 CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 5 #ifndef CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
| 6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 6 #define CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | |
| 10 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 11 | 10 |
| 12 #if defined(OS_MACOSX) | |
| 13 #ifdef __OBJC__ | |
| 14 @class NSBundle; | |
| 15 #else | |
| 16 class NSBundle; | |
| 17 #endif | |
| 18 #endif | |
| 19 | |
| 20 namespace chrome { | 11 namespace chrome { |
| 21 | 12 |
| 22 // Get the path to the user's data directory, regardless of whether | 13 // Get the path to the user's data directory, regardless of whether |
| 23 // DIR_USER_DATA has been overridden by a command-line option. | 14 // DIR_USER_DATA has been overridden by a command-line option. |
| 24 bool GetDefaultUserDataDirectory(FilePath* result); | 15 bool GetDefaultUserDataDirectory(FilePath* result); |
| 25 | 16 |
| 26 #if defined(OS_LINUX) | 17 #if defined(OS_LINUX) |
| 27 // Get the path to the user's cache directory. | 18 // Get the path to the user's cache directory. |
| 28 bool GetUserCacheDirectory(FilePath* result); | 19 bool GetUserCacheDirectory(FilePath* result); |
| 29 #endif | 20 #endif |
| (...skipping 18 matching lines...) Expand all Loading... |
| 48 // framework bundle is located within the versioned directory at a specific | 39 // framework bundle is located within the versioned directory at a specific |
| 49 // path. The only components in the versioned directory not included in the | 40 // path. The only components in the versioned directory not included in the |
| 50 // framework are things that also depend on the framework, such as the helper | 41 // framework are things that also depend on the framework, such as the helper |
| 51 // app bundle. | 42 // app bundle. |
| 52 FilePath GetFrameworkBundlePath(); | 43 FilePath GetFrameworkBundlePath(); |
| 53 #endif // OS_MACOSX | 44 #endif // OS_MACOSX |
| 54 | 45 |
| 55 } // namespace chrome | 46 } // namespace chrome |
| 56 | 47 |
| 57 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 48 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
| OLD | NEW |