OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_PROTOCOL_ERROR_H_ | 5 #ifndef REMOTING_PROTOCOL_ERROR_H_ |
6 #define REMOTING_PROTOCOL_ERROR_H_ | 6 #define REMOTING_PROTOCOL_ERROR_H_ |
7 | 7 |
8 namespace remoting { | 8 namespace remoting { |
9 namespace protocol { | 9 namespace protocol { |
10 | 10 |
11 enum ErrorCode { | 11 enum ErrorCode { |
12 OK = 0, | 12 OK = 0, |
13 PEER_IS_OFFLINE, | 13 PEER_IS_OFFLINE, |
14 SESSION_REJECTED, | 14 SESSION_REJECTED, |
15 INCOMPATIBLE_PROTOCOL, | 15 INCOMPATIBLE_PROTOCOL, |
16 AUTHENTICATION_FAILED, | 16 AUTHENTICATION_FAILED, |
17 CHANNEL_CONNECTION_ERROR, | 17 CHANNEL_CONNECTION_ERROR, |
18 SIGNALING_ERROR, | 18 SIGNALING_ERROR, |
19 SIGNALING_TIMEOUT, | 19 SIGNALING_TIMEOUT, |
20 HOST_IS_DISABLED, | 20 HOST_OVERLOAD, |
21 UNKNOWN_ERROR, | 21 UNKNOWN_ERROR, |
22 }; | 22 }; |
23 | 23 |
24 } // namespace protocol | 24 } // namespace protocol |
25 } // namespace remoting | 25 } // namespace remoting |
26 | 26 |
27 #endif // REMOTING_PROTOCOL_ERROR_H_ | 27 #endif // REMOTING_PROTOCOL_ERROR_H_ |
OLD | NEW |