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

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

Issue 10829467: [Chromoting] Introducing refcount-based life time management of the message loops in the service (d… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {
11 11
12 // Known host exit codes. 12 // Known host exit codes.
13 // Please keep this enum in sync with: 13 // Please keep this enum in sync with:
14 // remoting/host/installer/mac/PrivilegedHelperTools/ 14 // remoting/host/installer/mac/PrivilegedHelperTools/
15 // org.chromium.chromoting.me2me.sh 15 // org.chromium.chromoting.me2me.sh
16 // and remoting/tools/me2me_virtual_host.py. 16 // and remoting/tools/me2me_virtual_host.py.
17 enum HostExitCodes { 17 enum HostExitCodes {
18 // Error codes that don't indicate a permanent error condition. 18 // Error codes that don't indicate a permanent error condition.
19 kSuccessExitCode = 0, 19 kSuccessExitCode = 0,
20 kReservedForX11ExitCode = 1, 20 kReservedForX11ExitCode = 1,
21 kHostInitializationFailed = 7,
21 22
22 // Error codes that do indicate a permanent error condition. 23 // Error codes that do indicate a permanent error condition.
23 kInvalidHostConfigurationExitCode = 2, 24 kInvalidHostConfigurationExitCode = 2,
24 kInvalidHostIdExitCode = 3, 25 kInvalidHostIdExitCode = 3,
25 kInvalidOauthCredentialsExitCode = 4, 26 kInvalidOauthCredentialsExitCode = 4,
26 kInvalidHostDomainExitCode = 5, 27 kInvalidHostDomainExitCode = 5,
27 kLoginScreenNotSupportedExitCode = 6, 28 kLoginScreenNotSupportedExitCode = 6,
28 29
29 // The range of the exit codes that should be interpreted as a permanent error 30 // The range of the exit codes that should be interpreted as a permanent error
30 // condition. 31 // condition.
31 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode, 32 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode,
32 kMaxPermanentErrorExitCode = kLoginScreenNotSupportedExitCode 33 kMaxPermanentErrorExitCode = kLoginScreenNotSupportedExitCode
33 }; 34 };
34 35
35 #if defined(OS_WIN) 36 #if defined(OS_WIN)
36 // The Omaha Appid of the host. 37 // The Omaha Appid of the host.
37 extern const wchar_t kHostOmahaAppid[]; 38 extern const wchar_t kHostOmahaAppid[];
38 #endif // defined(OS_WIN) 39 #endif // defined(OS_WIN)
39 40
40 } // namespace remoting 41 } // namespace remoting
41 42
42 #endif // REMOTING_HOST_CONSTANTS_H_ 43 #endif // REMOTING_HOST_CONSTANTS_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session_unittest.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698