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

Unified Diff: chrome/installer/util/create_reg_key_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/create_dir_work_item.cc ('k') | chrome/installer/util/create_reg_key_work_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/create_reg_key_work_item.h
diff --git a/chrome/installer/util/create_reg_key_work_item.h b/chrome/installer/util/create_reg_key_work_item.h
index 93b3a0eed83d48dfe95a235a12ca7d1d9bea11c3..a55d941bbd4cbdac57ecbcb5b6485900d5285672 100644
--- a/chrome/installer/util/create_reg_key_work_item.h
+++ b/chrome/installer/util/create_reg_key_work_item.h
@@ -18,16 +18,16 @@
public:
~CreateRegKeyWorkItem() override;
+ bool Do() override;
+
+ void Rollback() override;
+
private:
friend class WorkItem;
CreateRegKeyWorkItem(HKEY predefined_root,
const std::wstring& path,
REGSAM wow64_access);
-
- // WorkItem:
- bool DoImpl() override;
- void RollbackImpl() override;
// Initialize key_list_ by adding all paths of keys from predefined_root_
// to path_. Returns true if key_list_ is non empty.
« no previous file with comments | « chrome/installer/util/create_dir_work_item.cc ('k') | chrome/installer/util/create_reg_key_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698