| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef REMOTING_HOST_HOST_EXIT_CODES_H_ | |
| 6 #define REMOTING_HOST_HOST_EXIT_CODES_H_ | |
| 7 | |
| 8 namespace remoting { | |
| 9 | |
| 10 // Known host exit codes. Please keep this enum in sync with: | |
| 11 // remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2
me.sh | |
| 12 // and remoting/tools/me2me_virtual_host.py. | |
| 13 enum HostExitCodes { | |
| 14 // Error codes that don't indicate a permanent error condition. | |
| 15 kSuccessExitCode = 0, | |
| 16 kReservedForX11ExitCode = 1, | |
| 17 kHostInitializationFailed = 7, | |
| 18 | |
| 19 // Error codes that do indicate a permanent error condition. | |
| 20 kInvalidHostConfigurationExitCode = 2, | |
| 21 kInvalidHostIdExitCode = 3, | |
| 22 kInvalidOauthCredentialsExitCode = 4, | |
| 23 kInvalidHostDomainExitCode = 5, | |
| 24 kLoginScreenNotSupportedExitCode = 6, | |
| 25 | |
| 26 // The range of the exit codes that should be interpreted as a permanent error | |
| 27 // condition. | |
| 28 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode, | |
| 29 kMaxPermanentErrorExitCode = kLoginScreenNotSupportedExitCode | |
| 30 }; | |
| 31 | |
| 32 } // namespace remoting | |
| 33 | |
| 34 #endif // REMOTING_HOST_HOST_EXIT_CODES_H_ | |
| OLD | NEW |