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

Unified Diff: tools/battor_agent/battor_error.cc

Issue 2826913002: [BattOr] Retry battor_agent commands when they fail. (Closed)
Patch Set: Swapped return with break Created 3 years, 7 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 bf3bf93f1f34e1f43212ea7dcf9dc49c6fc61bd2..ba9a7e61bafd625e63d834c8903612b1bc070b94 100644
--- a/tools/battor_agent/battor_error.cc
+++ b/tools/battor_agent/battor_error.cc
@@ -22,10 +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";
- case BATTOR_ERROR_TOO_MANY_START_TRACING_RETRIES:
- return "TOO MANY START_TRACING RETRIES";
+ case BATTOR_ERROR_TOO_MANY_COMMAND_RETRIES:
+ return "TOO MANY COMMAND 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