Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: base/mac/foundation_util.h

Issue 9346013: Publish app shortcuts on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698