summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths.cc
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 02:25:32 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 02:25:32 +0000
commitf052118e0a1dea89270f0c92cb78d8b277720dc6 (patch)
treeb491b444b48facae9315b8f9053ff9aa27bd923f /chrome/common/chrome_paths.cc
parent200abc3b412aa5129bca6c90cfe298b05ad547b2 (diff)
downloadchromium_src-f052118e0a1dea89270f0c92cb78d8b277720dc6.zip
chromium_src-f052118e0a1dea89270f0c92cb78d8b277720dc6.tar.gz
chromium_src-f052118e0a1dea89270f0c92cb78d8b277720dc6.tar.bz2
Same CL as 448. Had to redo it.
Change the default download path if needed, in Vista it could be set tothe destkop which is a risky location.- Remove reading the download location from IE in vista.BUG=b/1355855 This was already LGTmed Review URL: http://codereview.chromium.org/462 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.cc')
-rw-r--r--chrome/common/chrome_paths.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_paths.cc b/chrome/common/chrome_paths.cc
index 7f8c3b6..029a269 100644
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -95,7 +95,7 @@ bool PathProvider(int key, std::wstring* result) {
return false;
file_util::AppendToPath(&cur, L"Crash Reports");
break;
- case chrome::DIR_DEFAULT_DOWNLOAD:
+ case chrome::DIR_USER_DESKTOP:
if (FAILED(SHGetFolderPath(NULL, CSIDL_DESKTOPDIRECTORY, NULL,
SHGFP_TYPE_CURRENT, system_buffer)))
return false;