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>2014-02-26 23:11:46 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 23:11:46 +0000
commit89d105469c194a9e1e391dd8e0074b087cc48a59 (patch)
tree8dfeedb506e06aaaf6521482efd19cb61d4cc41f /chrome/common/chrome_paths_mac.mm
parentbf4e849add954d27aa40eb05c046a469a09bcc65 (diff)
downloadchromium_src-89d105469c194a9e1e391dd8e0074b087cc48a59.zip
chromium_src-89d105469c194a9e1e391dd8e0074b087cc48a59.tar.gz
chromium_src-89d105469c194a9e1e391dd8e0074b087cc48a59.tar.bz2
Media Galleries: Prune uninteresting folders when scanning.
Also remove sensitive directories from scan results. BUG=161119 Review URL: https://codereview.chromium.org/173853007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253618 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 1a0e2568..66906f3 100644
--- a/chrome/common/chrome_paths_mac.mm
+++ b/chrome/common/chrome_paths_mac.mm
@@ -219,6 +219,14 @@ bool GetLocalLibraryDirectory(base::FilePath* result) {
return base::mac::GetLocalDirectory(NSLibraryDirectory, result);
}
+bool GetUserLibraryDirectory(base::FilePath* result) {
+ return base::mac::GetUserDirectory(NSLibraryDirectory, result);
+}
+
+bool GetUserApplicationsDirectory(base::FilePath* result) {
+ return base::mac::GetUserDirectory(NSApplicationDirectory, result);
+}
+
bool GetGlobalApplicationSupportDirectory(base::FilePath* result) {
return base::mac::GetLocalDirectory(NSApplicationSupportDirectory, result);
}