Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3676)

Unified Diff: chrome/installer/util/work_item.h

Issue 39048: Move files instead of copying them. (Closed)
Patch Set: More code review comments. Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/util.vcproj ('k') | chrome/installer/util/work_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/work_item.h
diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h
index 08942a1b8ca8e65a42d0890ccefb0d3df6ef45fb..f23e1814dc7068a4b485caa7cebaaccf9e291a5f 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(
« no previous file with comments | « chrome/installer/util/util.vcproj ('k') | chrome/installer/util/work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698