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

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

Issue 1976443005: Revert of Add best-effort/allow rollback flags on WorkItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_list_tests
Patch Set: Created 4 years, 7 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/installer_state.cc ('k') | chrome/installer/util/move_tree_work_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/move_tree_work_item.h
diff --git a/chrome/installer/util/move_tree_work_item.h b/chrome/installer/util/move_tree_work_item.h
index 38383d4927a6dfa9acc375d4db2b663a75b13036..eea5cdabf9be562de42d42a4922997051f5c4da2 100644
--- a/chrome/installer/util/move_tree_work_item.h
+++ b/chrome/installer/util/move_tree_work_item.h
@@ -22,6 +22,10 @@
public:
~MoveTreeWorkItem() override;
+ bool Do() override;
+
+ void Rollback() override;
+
private:
friend class WorkItem;
FRIEND_TEST_ALL_PREFIXES(MoveTreeWorkItemTest,
@@ -42,10 +46,6 @@
const base::FilePath& dest_path,
const base::FilePath& temp_dir,
MoveTreeOption duplicate_option);
-
- // WorkItem:
- bool DoImpl() override;
- void RollbackImpl() override;
// Source path to move files from.
base::FilePath source_path_;
« no previous file with comments | « chrome/installer/util/installer_state.cc ('k') | chrome/installer/util/move_tree_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698