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

Unified Diff: action_processor.h

Issue 2819059: Narrow down to one generic error per action. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Rename SwitchToActionSpecificCode to GetErrorCodeForAction. 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 | « no previous file | update_attempter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: action_processor.h
diff --git a/action_processor.h b/action_processor.h
index 7b1a312d4be841a073b259c61b2050e83513243a..96e16f05f6b20155368c000477c724c1c4162474 100644
--- a/action_processor.h
+++ b/action_processor.h
@@ -25,10 +25,15 @@ namespace chromeos_update_engine {
enum ActionExitCode {
kActionCodeSuccess = 0,
kActionCodeError = 1,
- kActionCodeInstallDeviceOpenError = 2,
- kActionCodeKernelDeviceOpenError = 3,
- kActionCodeDownloadTransferError = 4,
- kActionCodeDownloadHashMismatchError = 5,
+ kActionCodeOmahaRequestError = 2,
+ kActionCodeOmahaResponseHandlerError = 3,
+ kActionCodeFilesystemCopierError = 4,
+ kActionCodePostinstallRunnerError = 5,
+ kActionCodeSetBootableFlagError = 6,
+ kActionCodeInstallDeviceOpenError = 7,
+ kActionCodeKernelDeviceOpenError = 8,
+ kActionCodeDownloadTransferError = 9,
+ kActionCodeDownloadHashMismatchError = 10,
};
class AbstractAction;
« no previous file with comments | « no previous file | update_attempter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698