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

Unified Diff: chrome/common/chrome_paths_mac.mm

Issue 10392094: Add PathService::Get(chrome::DIR_USER_PICTURES). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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: chrome/common/chrome_paths_mac.mm
===================================================================
--- chrome/common/chrome_paths_mac.mm (revision 136931)
+++ chrome/common/chrome_paths_mac.mm (working copy)
@@ -135,6 +135,10 @@
return base::mac::GetUserDirectory(NSDownloadsDirectory, result);
}
+bool GetUserPicturesDirectory(FilePath* result) {
+ return base::mac::GetUserDirectory(NSPicturesDirectory, result);
+}
+
bool GetUserDesktop(FilePath* result) {
return base::mac::GetUserDirectory(NSDesktopDirectory, result);
}

Powered by Google App Engine
This is Rietveld 408576698