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

Unified Diff: omaha_response_handler_action.cc

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 | « omaha_request_action_unittest.cc ('k') | omaha_response_handler_action_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_response_handler_action.cc
diff --git a/omaha_response_handler_action.cc b/omaha_response_handler_action.cc
index d93919a1bfde82a8590c8afd481d39b00049db34..75776abe6c5dd83dc26bc54d0cd31c4decbdc18e 100644
--- a/omaha_response_handler_action.cc
+++ b/omaha_response_handler_action.cc
@@ -43,7 +43,7 @@ void OmahaResponseHandlerAction::PerformAction() {
LOG(INFO) << "Using this install plan:";
install_plan_.Dump();
- completer.set_success(true);
+ completer.set_code(kActionCodeSuccess);
}
bool OmahaResponseHandlerAction::GetInstallDev(const std::string& boot_dev,
« no previous file with comments | « omaha_request_action_unittest.cc ('k') | omaha_response_handler_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698