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

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

Issue 1109043003: Apply automated fixits for Chrome clang plugin to chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/work_item_list.h
diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h
index f00295a5d7e98d3a7fb2d7cb62315da8a79dcce9..74c0562ec80259a3701d4ec27f5607290eb1e2e3 100644
--- a/chrome/installer/util/work_item_list.h
+++ b/chrome/installer/util/work_item_list.h
@@ -25,14 +25,14 @@ class FilePath;
// The WorkItems are executed in the same order as they are added to the list.
class WorkItemList : public WorkItem {
public:
- virtual ~WorkItemList();
+ ~WorkItemList() override;
// Execute the WorkItems in the same order as they are added to the list.
// It aborts as soon as one WorkItem fails.
- virtual bool Do();
+ bool Do() override;
// Rollback the WorkItems in the reverse order as they are executed.
- virtual void Rollback();
+ void Rollback() override;
// Add a WorkItem to the list.
// A WorkItem can only be added to the list before the list's DO() is called.
@@ -160,15 +160,15 @@ class WorkItemList : public WorkItem {
// Also, as the class name suggests, Rollback is not possible.
class NoRollbackWorkItemList : public WorkItemList {
public:
- virtual ~NoRollbackWorkItemList();
+ ~NoRollbackWorkItemList() override;
// Execute the WorkItems in the same order as they are added to the list.
// If a WorkItem fails, the function will return failure but all other
// WorkItems will still be executed.
- virtual bool Do();
+ bool Do() override;
// No-op.
- virtual void Rollback();
+ void Rollback() override;
};
#endif // CHROME_INSTALLER_UTIL_WORK_ITEM_LIST_H_
« no previous file with comments | « chrome/installer/util/set_reg_value_work_item_unittest.cc ('k') | chrome/installer/util/work_item_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698