diff options
author | David Zeuthen <zeuthen@chromium.org> | 2013-04-29 13:42:47 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-30 19:03:07 -0700 |
commit | a99981fda75fe0b17e96c700e3ddc93eca1cebe5 (patch) | |
tree | 88ec1486cf36f378acaf666c61a56ea533966caa /action_processor.cc | |
parent | 8a075a75a13a2b182c229f3095c20e69f8f8f999 (diff) |
Rename ActionExitCode to ErrorCode
Nowadays ActionExitCode is used throughout the codebase so use a more
generic name to reflect this.
BUG=chromium:216507
TEST=unit tests pass
Change-Id: I23d1d7e2676443251dbc42ed137fd018aadfa8a3
Reviewed-on: https://gerrit.chromium.org/gerrit/49512
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: David Zeuthen <zeuthen@chromium.org>
Tested-by: David Zeuthen <zeuthen@chromium.org>
Diffstat (limited to 'action_processor.cc')
-rw-r--r-- | action_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/action_processor.cc b/action_processor.cc index 0d8c046a..d4e5cc49 100644 --- a/action_processor.cc +++ b/action_processor.cc @@ -54,7 +54,7 @@ void ActionProcessor::StopProcessing() { } void ActionProcessor::ActionComplete(AbstractAction* actionptr, - ActionExitCode code) { + ErrorCode code) { CHECK_EQ(actionptr, current_action_); if (delegate_) delegate_->ActionCompleted(this, actionptr, code); @@ -64,7 +64,7 @@ void ActionProcessor::ActionComplete(AbstractAction* actionptr, if (actions_.empty()) { LOG(INFO) << "ActionProcessor::ActionComplete: finished last action of" " type " << old_type; - } else if (code != kActionCodeSuccess) { + } else if (code != kErrorCodeSuccess) { LOG(INFO) << "ActionProcessor::ActionComplete: " << old_type << " action failed. Aborting processing."; actions_.clear(); |