diff options
author | dimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 18:18:20 +0000 |
---|---|---|
committer | dimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 18:18:20 +0000 |
commit | 2403fd6476afd05baed46b26b698ce305a351787 (patch) | |
tree | 87324fc7ded19e77f66fefccf81da8ac56fc600d /chrome/common/chrome_paths_internal.h | |
parent | 4b167a328d35583af35e865e8fcd40dafcb9a55a (diff) | |
download | chromium_src-2403fd6476afd05baed46b26b698ce305a351787.zip chromium_src-2403fd6476afd05baed46b26b698ce305a351787.tar.gz chromium_src-2403fd6476afd05baed46b26b698ce305a351787.tar.bz2 |
Default to FOLDERID_Downloads on Windows Vista/7 when safe.
Landing for DCheng@.
Codereview: http://codereview.chromium.org/553040
TEST=none
BUG=13610
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_internal.h')
-rw-r--r-- | chrome/common/chrome_paths_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h index dc726d6..5254f51 100644 --- a/chrome/common/chrome_paths_internal.h +++ b/chrome/common/chrome_paths_internal.h @@ -22,6 +22,11 @@ bool GetChromeFrameUserDataDirectory(FilePath* result); // Get the path to the user's documents directory. bool GetUserDocumentsDirectory(FilePath* result); +#if defined (OS_WIN) +// Gets the path to a safe default download directory for a user. +bool GetUserDownloadsDirectorySafe(FilePath* result); +#endif + // Get the path to the user's downloads directory. bool GetUserDownloadsDirectory(FilePath* result); |