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_HOST_CONSTANTS_H_ | 5 #ifndef REMOTING_HOST_CONSTANTS_H_ |
6 #define REMOTING_HOST_CONSTANTS_H_ | 6 #define REMOTING_HOST_CONSTANTS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 | 9 |
10 namespace remoting { | 10 namespace remoting { |
(...skipping 11 matching lines...) Expand all Loading... |
22 enum HostExitCodes { | 22 enum HostExitCodes { |
23 // Error codes that don't indicate a permanent error condition. | 23 // Error codes that don't indicate a permanent error condition. |
24 kSuccessExitCode = 0, | 24 kSuccessExitCode = 0, |
25 kReservedForX11ExitCode = 1, | 25 kReservedForX11ExitCode = 1, |
26 | 26 |
27 // Error codes that do indicate a permanent error condition. | 27 // Error codes that do indicate a permanent error condition. |
28 kInvalidHostConfigurationExitCode = 2, | 28 kInvalidHostConfigurationExitCode = 2, |
29 kInvalidHostIdExitCode = 3, | 29 kInvalidHostIdExitCode = 3, |
30 kInvalidOauthCredentialsExitCode = 4, | 30 kInvalidOauthCredentialsExitCode = 4, |
31 kInvalidHostDomainExitCode = 5, | 31 kInvalidHostDomainExitCode = 5, |
| 32 kLoginScreenNotSupportedExitCode = 6, |
32 | 33 |
33 // The range of the exit codes that should be interpreted as a permanent error | 34 // The range of the exit codes that should be interpreted as a permanent error |
34 // condition. | 35 // condition. |
35 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode, | 36 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode, |
36 kMaxPermanentErrorExitCode = kInvalidHostDomainExitCode | 37 kMaxPermanentErrorExitCode = kLoginScreenNotSupportedExitCode |
37 }; | 38 }; |
38 | 39 |
39 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
40 // The Omaha Appid of the host. | 41 // The Omaha Appid of the host. |
41 extern const wchar_t kHostOmahaAppid[]; | 42 extern const wchar_t kHostOmahaAppid[]; |
42 #endif // defined(OS_WIN) | 43 #endif // defined(OS_WIN) |
43 | 44 |
44 } // namespace remoting | 45 } // namespace remoting |
45 | 46 |
46 #endif // REMOTING_HOST_CONSTANTS_H_ | 47 #endif // REMOTING_HOST_CONSTANTS_H_ |
OLD | NEW |