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

Unified Diff: chrome/installer/setup/update_active_setup_version_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/setup/update_active_setup_version_work_item.h ('k') | chrome/installer/util/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/update_active_setup_version_work_item.cc
diff --git a/chrome/installer/setup/update_active_setup_version_work_item.cc b/chrome/installer/setup/update_active_setup_version_work_item.cc
index 7372675a6fe013ac72632f24f30df1dfb54cb1b4..50761eecb9de2c3bb078c5ce8d2a34da3ea19428 100644
--- a/chrome/installer/setup/update_active_setup_version_work_item.cc
+++ b/chrome/installer/setup/update_active_setup_version_work_item.cc
@@ -38,11 +38,13 @@ UpdateActiveSetupVersionWorkItem::UpdateActiveSetupVersionWorkItem(
operation_(operation) {
}
-bool UpdateActiveSetupVersionWorkItem::Do() {
+bool UpdateActiveSetupVersionWorkItem::DoImpl() {
+ set_reg_value_work_item_.set_best_effort(best_effort());
+ set_reg_value_work_item_.set_rollback_enabled(rollback_enabled());
return set_reg_value_work_item_.Do();
}
-void UpdateActiveSetupVersionWorkItem::Rollback() {
+void UpdateActiveSetupVersionWorkItem::RollbackImpl() {
set_reg_value_work_item_.Rollback();
}
« no previous file with comments | « chrome/installer/setup/update_active_setup_version_work_item.h ('k') | chrome/installer/util/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698