summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_mac.mm
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 04:18:14 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 04:18:14 +0000
commitfa9ac63a311ff3754dae28f8facc6ffd5db37f5d (patch)
treea7cf6404ddd4700619ce569a605371a0072cb243 /chrome/common/chrome_paths_mac.mm
parentad377ae01314e1b74db3e7810c151ddfc6daaa7c (diff)
downloadchromium_src-fa9ac63a311ff3754dae28f8facc6ffd5db37f5d.zip
chromium_src-fa9ac63a311ff3754dae28f8facc6ffd5db37f5d.tar.gz
chromium_src-fa9ac63a311ff3754dae28f8facc6ffd5db37f5d.tar.bz2
Add Add PathService::Get(chrome::DIR_USER_MUSIC) and PathService::Get(chrome::DIR_USER_VIDEOS).
Review URL: https://chromiumcodereview.appspot.com/10918228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_mac.mm')
-rw-r--r--chrome/common/chrome_paths_mac.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_mac.mm b/chrome/common/chrome_paths_mac.mm
index 7745be8..f933796 100644
--- a/chrome/common/chrome_paths_mac.mm
+++ b/chrome/common/chrome_paths_mac.mm
@@ -135,10 +135,18 @@ bool GetUserDownloadsDirectory(FilePath* result) {
return base::mac::GetUserDirectory(NSDownloadsDirectory, result);
}
+bool GetUserMusicDirectory(FilePath* result) {
+ return base::mac::GetUserDirectory(NSMusicDirectory, result);
+}
+
bool GetUserPicturesDirectory(FilePath* result) {
return base::mac::GetUserDirectory(NSPicturesDirectory, result);
}
+bool GetUserVideosDirectory(FilePath* result) {
+ return base::mac::GetUserDirectory(NSMoviesDirectory, result);
+}
+
bool GetUserDesktop(FilePath* result) {
return base::mac::GetUserDirectory(NSDesktopDirectory, result);
}