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

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

Issue 1882923003: Add best-effort/allow rollback flags on WorkItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_list_tests
Patch Set: fix build error 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
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 eea5cdabf9be562de42d42a4922997051f5c4da2..38383d4927a6dfa9acc375d4db2b663a75b13036 100644
--- a/chrome/installer/util/move_tree_work_item.h
+++ b/chrome/installer/util/move_tree_work_item.h
@@ -22,10 +22,6 @@ class MoveTreeWorkItem : public WorkItem {
public:
~MoveTreeWorkItem() override;
- bool Do() override;
-
- void Rollback() override;
-
private:
friend class WorkItem;
FRIEND_TEST_ALL_PREFIXES(MoveTreeWorkItemTest,
@@ -47,6 +43,10 @@ class MoveTreeWorkItem : public WorkItem {
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_;

Powered by Google App Engine
This is Rietveld 408576698