Always preselect first manager pod, allow to select previous/next pod with up/down...
[chromium-blink-merge.git] / remoting / protocol / errors.h
blob31bf9265dd62ba76a1600dc441013e6fa553b2c0
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_PROTOCOL_ERROR_H_
6 #define REMOTING_PROTOCOL_ERROR_H_
8 namespace remoting {
9 namespace protocol {
11 // The UI implementations maintain corresponding definitions of this
12 // enumeration in webapp/error.js and android/java/res/values/strings.xml.
13 // Be sure to update these locations if you make any changes to the ordering.
14 enum ErrorCode {
15 OK = 0,
16 PEER_IS_OFFLINE,
17 SESSION_REJECTED,
18 INCOMPATIBLE_PROTOCOL,
19 AUTHENTICATION_FAILED,
20 CHANNEL_CONNECTION_ERROR,
21 SIGNALING_ERROR,
22 SIGNALING_TIMEOUT,
23 HOST_OVERLOAD,
24 UNKNOWN_ERROR,
27 } // namespace protocol
28 } // namespace remoting
30 #endif // REMOTING_PROTOCOL_ERROR_H_