| Index: remoting/host/constants.h
|
| diff --git a/remoting/host/constants.h b/remoting/host/constants.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6f36b94e86c9caa4c95988140cee9ba9ccfc1b81
|
| --- /dev/null
|
| +++ b/remoting/host/constants.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_HOST_CONSTANTS_H_
|
| +#define REMOTING_HOST_CONSTANTS_H_
|
| +
|
| +namespace remoting {
|
| +
|
| +// Known host exit codes.
|
| +enum HostExitCodes {
|
| + kSuccessExitCode = 0,
|
| + kReservedForX11ExitCode = 1,
|
| + kInvalidHostConfigurationExitCode = 2,
|
| + kInvalidHostIdExitCode = 3,
|
| + kInvalidOauthCredentialsExitCode = 4,
|
| +
|
| + // The range of the exit codes that should be interpreted as a permanent error
|
| + // condition.
|
| + kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode,
|
| + kMaxPermanentErrorExitCode = kInvalidOauthCredentialsExitCode
|
| +};
|
| +
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_HOST_CONSTANTS_H_
|
|
|