Chromium Code Reviews| Index: base/mac/foundation_util.h |
| diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h |
| index ae4f03f7af8d8612564969727e03c04b4a4e8cf1..0a5063140eb251ac4e1f4a65fcb9487765d40a6b 100644 |
| --- a/base/mac/foundation_util.h |
| +++ b/base/mac/foundation_util.h |
| @@ -85,6 +85,10 @@ BASE_EXPORT bool GetLocalDirectory(NSSearchPathDirectory directory, |
| BASE_EXPORT bool GetUserDirectory(NSSearchPathDirectory directory, |
| FilePath* result); |
| +// Retrieves the localized display name for the given path. If the path is not |
| +// localized, this will just retrieve the BaseName of the path. |
| +void GetDisplayNameForPath(const FilePath& path, std::string* result); |
|
benwells
2012/08/06 01:59:14
This will need to be BASE_EXPORT to work with the
thorogood
2012/09/03 07:20:23
Done.
|
| + |
| // Returns the ~/Library directory. |
| BASE_EXPORT FilePath GetUserLibraryPath(); |