diff options
author | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-28 00:44:12 +0000 |
---|---|---|
committer | jungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-28 00:44:12 +0000 |
commit | cbc43fc87b9db405002eef9c769b39a192c4147c (patch) | |
tree | 8ace41a10ee5cff16b11443ea00ded9b23f61394 /chrome/common/chrome_paths.h | |
parent | 6de892232d348bc86167e0b9a984d0ffa3b4c5b6 (diff) | |
download | chromium_src-cbc43fc87b9db405002eef9c769b39a192c4147c.zip chromium_src-cbc43fc87b9db405002eef9c769b39a192c4147c.tar.gz chromium_src-cbc43fc87b9db405002eef9c769b39a192c4147c.tar.bz2 |
Do not localize the name of 'download' directory. Chrome's UI languages can be
changed and a user will be confused as to where her download goes.
Add DIR_DEFAULT_DOWNLOADS to chrome_paths (which is set to 'Downloads' under DIR_USER_DOCUMENTS)
and use that in both save_package and download_manager.
This patch does not offer a migration path.
BUG=3097
TEST=Switch Chrome's UI to non-English and download a file. The file should be downloaded to '..\My Documents\Downloads'
rather than '..\My Documents\<'Downloads' in that language>.
Review URL: http://codereview.chromium.org/7945
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4049 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.h')
-rw-r--r-- | chrome/common/chrome_paths.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h index 8128122..17c1cd9 100644 --- a/chrome/common/chrome_paths.h +++ b/chrome/common/chrome_paths.h @@ -24,6 +24,7 @@ enum { DIR_LOCALES, // directory where locale resources are stored DIR_APP_DICTIONARIES, // directory where the global dictionaries are DIR_USER_DOCUMENTS, // directory for a user's "My Documents" + DIR_DEFAULT_DOWNLOADS, // directory for a user's "My Documents/Downloads" DIR_USER_SCRIPTS, // directory where Greasemonkey user scripts are stored FILE_RESOURCE_MODULE, // full path and filename of the module that contains // embedded resources (version, strings, images, etc.) |