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

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: fix win build 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
« no previous file with comments | « base/mac/bundle_locations.mm ('k') | base/mac/foundation_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/foundation_util.h
diff --git a/base/mac/foundation_util.h b/base/mac/foundation_util.h
index f45c1deff5e3c87f48ddf49f8ccd51925027a027..56798c96f5a7e69bc94fc22ede88853246ffc772 100644
--- a/base/mac/foundation_util.h
+++ b/base/mac/foundation_util.h
@@ -310,6 +310,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. Returns an empty path if |str| is nil.
+FilePath NSStringToFilePath(NSString* str);
+
} // namespace mac
} // namespace base
« no previous file with comments | « base/mac/bundle_locations.mm ('k') | base/mac/foundation_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698