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

Unified Diff: tools/battor_agent/battor_error.h

Issue 1524873002: Creates a BattOrConnection for communicating with the BattOr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing dep Created 5 years 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_connection_unittest.cc ('k') | tools/battor_agent/battor_protocol_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/battor_agent/battor_error.h
diff --git a/tools/battor_agent/battor_error.h b/tools/battor_agent/battor_error.h
index bc66e16af8d345dd21906ffbee7736893e665242..2e5efac808cfd20b8c411adacb7f1686c75e0916 100644
--- a/tools/battor_agent/battor_error.h
+++ b/tools/battor_agent/battor_error.h
@@ -9,11 +9,13 @@ namespace battor {
// A BattOrError is an error that occurs when communicating with a BattOr.
enum BattOrError {
- BATTOR_ERROR_NONE,
- BATTOR_ERROR_CONNECTION_FAILED,
- BATTOR_ERROR_TIMEOUT,
+ BATTOR_ERROR_NONE = 0,
+ BATTOR_ERROR_CONNECTION_FAILED = 1,
+ BATTOR_ERROR_TIMEOUT = 2,
+ BATTOR_ERROR_SEND_ERROR = 3,
+ BATTOR_ERROR_RECEIVE_ERROR = 4,
+ BATTOR_ERROR_UNEXPECTED_MESSAGE = 5,
};
-
}
#endif // TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_
« no previous file with comments | « tools/battor_agent/battor_connection_unittest.cc ('k') | tools/battor_agent/battor_protocol_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698