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..bffcd53ee08ed33f106913d09c5ab9bcbc274693 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. |
| +BASE_EXPORT std::string GetDisplayNameForPath(const FilePath& path); |
|
benwells
2012/09/04 04:15:01
Is this the display name for the whole path, or ju
thorogood
2012/09/04 05:57:33
Just the base name. I've updated the comment to cl
benwells
2012/09/04 06:38:11
More importantly can you change the name of the fu
thorogood
2012/09/04 06:45:43
I've changed it to GetDisplayBaseNameForPath.
|
| + |
| // Returns the ~/Library directory. |
| BASE_EXPORT FilePath GetUserLibraryPath(); |