summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths.h
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 17:00:09 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 17:00:09 +0000
commitb0b3abd98a59384a83349c83a5ef9b14851816da (patch)
tree790628087c773280456dffae7cfb0ea8f744649f /chrome/common/chrome_paths.h
parentec2717e405abc8f618133fe3c9f5051fff224e71 (diff)
downloadchromium_src-b0b3abd98a59384a83349c83a5ef9b14851816da.zip
chromium_src-b0b3abd98a59384a83349c83a5ef9b14851816da.tar.gz
chromium_src-b0b3abd98a59384a83349c83a5ef9b14851816da.tar.bz2
Unpack extensions inside chrome's profile directory.
Other users of the temp directory will be altered in a subsequent CL. BUG=13044 TEST=SandboxedExtensionUnpackerTest.*, ScopedTempDir.UniqueTempDirUnderPath, FileUtilTest.CreateNewTempDirInDirTest, manual testing on win, linux, mac. Review URL: http://codereview.chromium.org/1582022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths.h')
-rw-r--r--chrome/common/chrome_paths.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_paths.h b/chrome/common/chrome_paths.h
index c5e13d2..9ed8057 100644
--- a/chrome/common/chrome_paths.h
+++ b/chrome/common/chrome_paths.h
@@ -32,6 +32,10 @@ enum {
DIR_DEFAULT_DOWNLOADS_SAFE, // Directory for a user's
// "My Documents/Downloads".
DIR_DEFAULT_DOWNLOADS, // Directory for a user's downloads.
+ DIR_USER_DATA_TEMP, // A temp directory within DIR_USER_DATA. Use
+ // this when a temporary file or directory will
+ // be moved into the profile, to avoid issues
+ // moving across volumes. See crbug.com/13044 .
FILE_RESOURCE_MODULE, // Full path and filename of the module that
// contains embedded resources (version,
// strings, images, etc.).