summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/work_item.h
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 21:36:56 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 21:36:56 +0000
commitf65f7dadd39f0f06391fd289faccb07b7b4468fd (patch)
treef0d6357441fc22bf4c364edc81140e3844dceac1 /chrome/installer/util/work_item.h
parent32aa8cc65e23a45c5e20f7ff22aa98ca4935eb0a (diff)
downloadchromium_src-f65f7dadd39f0f06391fd289faccb07b7b4468fd.zip
chromium_src-f65f7dadd39f0f06391fd289faccb07b7b4468fd.tar.gz
chromium_src-f65f7dadd39f0f06391fd289faccb07b7b4468fd.tar.bz2
Move files instead of copying them.
BUG=1184319,8218 Review URL: http://codereview.chromium.org/39048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/work_item.h')
-rw-r--r--chrome/installer/util/work_item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h
index 08942a1..f23e181 100644
--- a/chrome/installer/util/work_item.h
+++ b/chrome/installer/util/work_item.h
@@ -17,6 +17,7 @@ class CreateDirWorkItem;
class CreateRegKeyWorkItem;
class DeleteTreeWorkItem;
class DeleteRegValueWorkItem;
+class MoveTreeWorkItem;
class SetRegValueWorkItem;
class WorkItemList;
@@ -65,6 +66,11 @@ class WorkItem {
static DeleteTreeWorkItem* CreateDeleteTreeWorkItem(std::wstring root_path,
std::wstring key_path);
+ // Create a MoveTreeWorkItem that recursively moves a file system hierarchy
+ // from source path to destination path.
+ static MoveTreeWorkItem* CreateMoveTreeWorkItem(std::wstring source_path,
+ std::wstring dest_path, std::wstring temp_dir);
+
// Create a SetRegValueWorkItem that sets a registry value with REG_SZ type
// at the key with specified path.
static SetRegValueWorkItem* CreateSetRegValueWorkItem(