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

Side by Side Diff: tools/battor_agent/battor_error.h

Issue 1533643002: Revert of Creates a BattOrConnection for communicating with the BattOr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_ 5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_
6 #define TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_ 6 #define TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_
7 7
8 namespace battor { 8 namespace battor {
9 9
10 // A BattOrError is an error that occurs when communicating with a BattOr. 10 // A BattOrError is an error that occurs when communicating with a BattOr.
11 enum BattOrError { 11 enum BattOrError {
12 BATTOR_ERROR_NONE = 0, 12 BATTOR_ERROR_NONE,
13 BATTOR_ERROR_CONNECTION_FAILED = 1, 13 BATTOR_ERROR_CONNECTION_FAILED,
14 BATTOR_ERROR_TIMEOUT = 2, 14 BATTOR_ERROR_TIMEOUT,
15 BATTOR_ERROR_SEND_ERROR = 3,
16 BATTOR_ERROR_RECEIVE_ERROR = 4,
17 BATTOR_ERROR_UNEXPECTED_MESSAGE = 5,
18 }; 15 };
16
19 } 17 }
20 18
21 #endif // TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_ 19 #endif // TOOLS_BATTOR_AGENT_BATTOR_ERROR_H_
OLDNEW
« 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