Chromium Code Reviews| Index: base/mac/foundation_util.h |
| diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h |
| index 67e41e1ae26ba45bc447f13e57054616ca5b8d99..106c2fdf8f42cd4e416832a0840c4932356ad7a0 100644 |
| --- a/base/mac/foundation_util.h |
| +++ b/base/mac/foundation_util.h |
| @@ -289,6 +289,12 @@ T GetValueFromDictionary(CFDictionaryRef dict, CFStringRef key) { |
| return value_specific; |
| } |
| +// Converts |path| to an autoreleased NSString. Returns nil if |path| is empty. |
| +NSString* FilePathToNSString(const FilePath& path); |
| + |
| +// Converts |str| to a FilePath. |
|
jeremy
2012/02/08 09:10:45
Add to comment:
if |str| is nil then an empty file
sail
2012/02/08 19:09:15
Done.
|
| +FilePath NSStringToFilePath(NSString* str); |
| + |
| } // namespace mac |
| } // namespace base |