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

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

Issue 10829306: Make curtain-mode controllable by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing ifdef. Removed unnecessary change. Created 8 years, 4 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
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 {
(...skipping 11 matching lines...) Expand all
22 enum HostExitCodes { 22 enum HostExitCodes {
23 // Error codes that don't indicate a permanent error condition. 23 // Error codes that don't indicate a permanent error condition.
24 kSuccessExitCode = 0, 24 kSuccessExitCode = 0,
25 kReservedForX11ExitCode = 1, 25 kReservedForX11ExitCode = 1,
26 26
27 // Error codes that do indicate a permanent error condition. 27 // Error codes that do indicate a permanent error condition.
28 kInvalidHostConfigurationExitCode = 2, 28 kInvalidHostConfigurationExitCode = 2,
29 kInvalidHostIdExitCode = 3, 29 kInvalidHostIdExitCode = 3,
30 kInvalidOauthCredentialsExitCode = 4, 30 kInvalidOauthCredentialsExitCode = 4,
31 kInvalidHostDomainExitCode = 5, 31 kInvalidHostDomainExitCode = 5,
32 kLoginScreenNotSupportedExitCode = 6,
32 33
33 // The range of the exit codes that should be interpreted as a permanent error 34 // The range of the exit codes that should be interpreted as a permanent error
34 // condition. 35 // condition.
35 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode, 36 kMinPermanentErrorExitCode = kInvalidHostConfigurationExitCode,
36 kMaxPermanentErrorExitCode = kInvalidHostDomainExitCode 37 kMaxPermanentErrorExitCode = kLoginScreenNotSupportedExitCode
37 }; 38 };
38 39
39 #if defined(OS_WIN) 40 #if defined(OS_WIN)
40 // The Omaha Appid of the host. 41 // The Omaha Appid of the host.
41 extern const wchar_t kHostOmahaAppid[]; 42 extern const wchar_t kHostOmahaAppid[];
42 #endif // defined(OS_WIN) 43 #endif // defined(OS_WIN)
43 44
44 } // namespace remoting 45 } // namespace remoting
45 46
46 #endif // REMOTING_HOST_CONSTANTS_H_ 47 #endif // REMOTING_HOST_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/curtain_mode_mac.h » ('j') | remoting/host/policy_hack/policy_watcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698