| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Most of the application is further contained within the framework. The | 69 // Most of the application is further contained within the framework. The |
| 70 // framework bundle is located within the versioned directory at a specific | 70 // framework bundle is located within the versioned directory at a specific |
| 71 // path. The only components in the versioned directory not included in the | 71 // path. The only components in the versioned directory not included in the |
| 72 // framework are things that also depend on the framework, such as the helper | 72 // framework are things that also depend on the framework, such as the helper |
| 73 // app bundle. | 73 // app bundle. |
| 74 FilePath GetFrameworkBundlePath(); | 74 FilePath GetFrameworkBundlePath(); |
| 75 | 75 |
| 76 // Get the local library directory. | 76 // Get the local library directory. |
| 77 bool GetLocalLibraryDirectory(FilePath* result); | 77 bool GetLocalLibraryDirectory(FilePath* result); |
| 78 | 78 |
| 79 // Get the global Application Support directory (under /Library/). |
| 80 bool GetGlobalApplicationSupportDirectory(FilePath* result); |
| 81 |
| 79 // Returns the NSBundle for the outer browser application, even when running | 82 // Returns the NSBundle for the outer browser application, even when running |
| 80 // inside the helper. In unbundled applications, such as tests, returns nil. | 83 // inside the helper. In unbundled applications, such as tests, returns nil. |
| 81 NSBundle* OuterAppBundle(); | 84 NSBundle* OuterAppBundle(); |
| 82 | 85 |
| 83 #endif // OS_MACOSX | 86 #endif // OS_MACOSX |
| 84 | 87 |
| 85 } // namespace chrome | 88 } // namespace chrome |
| 86 | 89 |
| 87 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ | 90 #endif // CHROME_COMMON_CHROME_PATHS_INTERNAL_H_ |
| OLD | NEW |