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

Unified Diff: update_attempter.h

Issue 3022008: For actions, switch bool success into an exit code. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: switch to all positive error codes. Created 10 years, 5 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 | « test_utils.h ('k') | update_attempter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter.h
diff --git a/update_attempter.h b/update_attempter.h
index 753b40961d4b44f8a49e9b033d8cbbdbd33f2411..711c8ea0339eaa535d4caae51911ad3854547fde 100644
--- a/update_attempter.h
+++ b/update_attempter.h
@@ -50,11 +50,11 @@ class UpdateAttempter : public ActionProcessorDelegate,
void Update();
// ActionProcessorDelegate methods:
- void ProcessingDone(const ActionProcessor* processor, bool success);
+ void ProcessingDone(const ActionProcessor* processor, ActionExitCode code);
void ProcessingStopped(const ActionProcessor* processor);
void ActionCompleted(ActionProcessor* processor,
AbstractAction* action,
- bool success);
+ ActionExitCode code);
// Stop updating. An attempt will be made to record status to the disk
// so that updates can be resumed later.
« no previous file with comments | « test_utils.h ('k') | update_attempter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698