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

Unified Diff: chrome/installer/util/create_reg_key_work_item.cc

Issue 1982653002: Add best-effort/allow rollback flags on WorkItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't remove code from app_launcher_installer.cc 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_reg_key_work_item.h ('k') | chrome/installer/util/delete_reg_key_work_item.h » ('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.cc
diff --git a/chrome/installer/util/create_reg_key_work_item.cc b/chrome/installer/util/create_reg_key_work_item.cc
index 431963146284d1cffd172bc4e3f4bbbf2fe0f302..dbf46b2058dd9399282c3a029667e0c9e1b8503e 100644
--- a/chrome/installer/util/create_reg_key_work_item.cc
+++ b/chrome/installer/util/create_reg_key_work_item.cc
@@ -46,7 +46,7 @@ CreateRegKeyWorkItem::CreateRegKeyWorkItem(HKEY predefined_root,
wow64_access == KEY_WOW64_64KEY);
}
-bool CreateRegKeyWorkItem::Do() {
+bool CreateRegKeyWorkItem::DoImpl() {
if (!InitKeyList()) {
// Nothing needs to be done here.
VLOG(1) << "no key to create";
@@ -90,7 +90,7 @@ bool CreateRegKeyWorkItem::Do() {
return true;
}
-void CreateRegKeyWorkItem::Rollback() {
+void CreateRegKeyWorkItem::RollbackImpl() {
if (!key_created_)
return;
« no previous file with comments | « chrome/installer/util/create_reg_key_work_item.h ('k') | chrome/installer/util/delete_reg_key_work_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698