Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: remoting/host/host_exit_codes.h

Issue 10988004: Revert 158366 - Cleanups in Chromoting Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « remoting/host/heartbeat_sender.cc ('k') | remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698