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

Unified Diff: chrome/installer/setup/update_active_setup_version_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
Index: chrome/installer/setup/update_active_setup_version_work_item.h
diff --git a/chrome/installer/setup/update_active_setup_version_work_item.h b/chrome/installer/setup/update_active_setup_version_work_item.h
index 2a7fb525f886aa49a379631fb3fd5211c5220d8f..bb962aca87a098e8791fa459c91bdc59402d49c1 100644
--- a/chrome/installer/setup/update_active_setup_version_work_item.h
+++ b/chrome/installer/setup/update_active_setup_version_work_item.h
@@ -43,11 +43,11 @@
UpdateActiveSetupVersionWorkItem(const base::string16& active_setup_path,
Operation operation);
+ // Overriden from WorkItem.
+ bool Do() override;
+ void Rollback() override;
+
private:
- // WorkItem:
- bool DoImpl() override;
- void RollbackImpl() override;
-
// Returns the updated Active Setup version to be used based on the
// |existing_version|.
base::string16 GetUpdatedActiveSetupVersion(
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/setup/update_active_setup_version_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698