summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths.h
diff options
context:
space:
mode:
authordimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-25 18:18:20 +0000
committerdimich@google.com <dimich@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-25 18:18:20 +0000
commit2403fd6476afd05baed46b26b698ce305a351787 (patch)
tree87324fc7ded19e77f66fefccf81da8ac56fc600d /chrome/common/chrome_paths.h
parent4b167a328d35583af35e865e8fcd40dafcb9a55a (diff)
downloadchromium_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.h')
-rw-r--r--chrome/common/chrome_paths.h49
1 files changed, 27 insertions, 22 deletions
diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h
index 4382c62..3b0521b 100644
--- a/chrome/common/chrome_paths.h
+++ b/chrome/common/chrome_paths.h
@@ -15,33 +15,38 @@ namespace chrome {
enum {
PATH_START = 1000,
- DIR_APP = PATH_START, // directory where dlls and data reside
- DIR_LOGS, // directory where logs should be written
- DIR_USER_DATA, // directory where user data can be written
- DIR_CRASH_DUMPS, // directory where crash dumps are written
- DIR_USER_DESKTOP, // directory that correspond to the desktop
- DIR_INSPECTOR, // directory where web inspector is located
- 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"
- FILE_RESOURCE_MODULE, // full path and filename of the module that contains
- // embedded resources (version, strings, images, etc.)
- FILE_LOCAL_STATE, // path and filename to the file in which machine/
- // installation-specific state is saved
- FILE_RECORDED_SCRIPT, // full path to the script.log file that contains
- // recorded browser events for playback.
- FILE_GEARS_PLUGIN, // full path to the gears.dll plugin file.
- FILE_LIBAVCODEC, // full path to libavcodec media decoding library.
- FILE_LIBAVFORMAT, // full path to libavformat media parsing library.
- FILE_LIBAVUTIL, // full path to libavutil media utility library.
+ DIR_APP = PATH_START, // directory where dlls and data reside
+ DIR_LOGS, // directory where logs should be written
+ DIR_USER_DATA, // directory where user data can be written
+ DIR_CRASH_DUMPS, // directory where crash dumps are written
+ DIR_USER_DESKTOP, // directory that correspond to the desktop
+ DIR_INSPECTOR, // directory where web inspector is located
+ DIR_APP_DICTIONARIES, // directory where the global dictionaries are
+ DIR_USER_DOCUMENTS, // directory for a user's "My Documents"
+ DIR_DEFAULT_DOWNLOADS_SAFE, // directory for a user's
+ // "My Documents/Downloads"
+ DIR_DEFAULT_DOWNLOADS, // directory for a user's downloads
+ FILE_RESOURCE_MODULE, // full path and filename of the module that
+ // contains embedded resources (version,
+ // strings, images, etc.)
+ FILE_LOCAL_STATE, // path and filename to the file in which
+ // machine/installation-specific state is saved
+ FILE_RECORDED_SCRIPT, // full path to the script.log file that
+ // contains recorded browser events for playback
+ FILE_GEARS_PLUGIN, // full path to the gears.dll plugin file.
+ FILE_LIBAVCODEC, // full path to libavcodec media decoding
+ // library.
+ FILE_LIBAVFORMAT, // full path to libavformat media parsing
+ // library.
+ FILE_LIBAVUTIL, // full path to libavutil media utility library.
#if defined(OS_CHROMEOS)
- FILE_CHROMEOS_API, // full path to chrome os api shared object.
+ FILE_CHROMEOS_API, // full path to chrome os api shared object.
#endif
// Valid only in development environment; TODO(darin): move these
- DIR_TEST_DATA, // directory where unit test data resides
- DIR_TEST_TOOLS, // directory where unit test tools reside
+ DIR_TEST_DATA, // directory where unit test data resides
+ DIR_TEST_TOOLS, // directory where unit test tools reside
PATH_END
};