Chromium Code Reviews| Index: remoting/host/constants.h |
| diff --git a/remoting/host/constants.h b/remoting/host/constants.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..02f89766ec7083debd23c2dda6f54aa40ce47a83 |
| --- /dev/null |
| +++ b/remoting/host/constants.h |
| @@ -0,0 +1,17 @@ |
| +// 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 exit codes. |
| +const int kSuccessExitCode = 0; |
|
Sergey Ulanov
2012/04/17 17:24:24
Make it enum?
alexeypa (please no reviews)
2012/04/17 18:35:53
Done.
|
| +const int kInvalidHostConfigurationExitCode = 1; |
|
Lambros
2012/04/17 18:04:03
Please could you also update the me2me_virtual_hos
alexeypa (please no reviews)
2012/04/17 18:35:53
Done.
|
| +const int kInvalidHostIdExitCode = 2; |
| + |
|
Sergey Ulanov
2012/04/17 17:24:24
Please add one more for invalid OAuth credentials.
alexeypa (please no reviews)
2012/04/17 17:45:01
You must have been reading my thoughts. I'm actual
alexeypa (please no reviews)
2012/04/17 18:35:53
Done.
|
| +} // namespace remoting |
| + |
| +#endif // REMOTING_HOST_CONSTANTS_H_ |