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

Unified Diff: tools/battor_agent/battor_error.h

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: Initial draft Created 4 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
Index: tools/battor_agent/battor_error.h
diff --git a/tools/battor_agent/battor_error.h b/tools/battor_agent/battor_error.h
index fef354a703eb6a45b9613707a61be91c6d1d2bf5..ba452c314b034a81d6072489bd4255f5315aa4b3 100644
--- a/tools/battor_agent/battor_error.h
+++ b/tools/battor_agent/battor_error.h
@@ -17,6 +17,7 @@ enum BattOrError {
BATTOR_ERROR_SEND_ERROR,
BATTOR_ERROR_RECEIVE_ERROR,
BATTOR_ERROR_UNEXPECTED_MESSAGE,
+ BATTOR_ERROR_INIT_ERROR,
charliea (OOO until 10-5) 2016/05/23 14:08:52 How about BATTOR_ERROR_INIT_TIMEOUT? This seems li
aschulman 2016/06/10 07:22:59 I went with BATTOR_ERROR_INIT_MAX_RETRIES since I
};
std::string BattOrErrorToString(BattOrError error);

Powered by Google App Engine
This is Rietveld 408576698