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

Unified Diff: tools/battor_agent/battor_error.cc

Issue 1991403002: [battor agent] Fix the init sequence so it retries inits instead of resets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 4 years, 6 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 | « tools/battor_agent/battor_error.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/battor_agent/battor_error.cc
diff --git a/tools/battor_agent/battor_error.cc b/tools/battor_agent/battor_error.cc
index fa25fe5aa97820aa1e00aaeecc138c6712af5b11..ba0b1c076e12e15f58646abc22c25bbe3be4d327 100644
--- a/tools/battor_agent/battor_error.cc
+++ b/tools/battor_agent/battor_error.cc
@@ -22,6 +22,8 @@ std::string BattOrErrorToString(BattOrError error) {
return "RECEIVE ERROR";
case BATTOR_ERROR_UNEXPECTED_MESSAGE:
return "UNEXPECTED MESSAGE";
+ case BATTOR_ERROR_TOO_MANY_INIT_RETRIES:
+ return "TOO MANY INIT RETRIES";
}
NOTREACHED();
« no previous file with comments | « tools/battor_agent/battor_error.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698