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

Unified Diff: base/base_paths_mac.mm

Issue 10700136: Prettify output from chrome.fileSystem.getDisplayPath for POSIX profile directories (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Includes specific fix for Mac OS X, which was excluded from the posix code specifically Created 8 years, 5 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/base_paths.h ('k') | base/base_paths_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_mac.mm
diff --git a/base/base_paths_mac.mm b/base/base_paths_mac.mm
index 56f3ecb9a91e9be5c8888e2f9e53fc04a4cbf64a..e46fd1e043e951e2f5dceb2f299af31963ee3876 100644
--- a/base/base_paths_mac.mm
+++ b/base/base_paths_mac.mm
@@ -83,6 +83,10 @@ bool PathProviderMac(int key, FilePath* result) {
#endif
return true;
}
+ case base::DIR_HOME: {
+ *result = base::mac::NSStringToFilePath(NSHomeDirectory());
+ return true;
+ }
default:
return false;
}
« no previous file with comments | « base/base_paths.h ('k') | base/base_paths_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698