| OLD | NEW |
| 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 // This is the default prefix that is prepended to ".talkgadget.google.com" | 12 // This is the default prefix that is prepended to the kTalkGadgetUrl to form |
| 13 // to form the complete talkgadget domain name. Policy settings allow admins | 13 // the complete talkgadget URL used by the host. Policy settings allow admins |
| 14 // to change the prefix that is used. | 14 // to change the prefix that is used. |
| 15 extern const char kDefaultTalkGadgetPrefix[]; | 15 extern const char kDefaultHostTalkGadgetPrefix[]; |
| 16 |
| 17 // The base talkgadget URL. |
| 18 extern const char kTalkGadgetUrl[]; |
| 16 | 19 |
| 17 // Known host exit codes. | 20 // Known host exit codes. |
| 18 // Please keep this enum in sync with: | 21 // Please keep this enum in sync with: |
| 19 // remoting/host/installer/mac/PrivilegedHelperTools/ | 22 // remoting/host/installer/mac/PrivilegedHelperTools/ |
| 20 // org.chromium.chromoting.me2me.sh | 23 // org.chromium.chromoting.me2me.sh |
| 21 // and remoting/tools/me2me_virtual_host.py. | 24 // and remoting/tools/me2me_virtual_host.py. |
| 22 enum HostExitCodes { | 25 enum HostExitCodes { |
| 23 // Error codes that don't indicate a permanent error condition. | 26 // Error codes that don't indicate a permanent error condition. |
| 24 kSuccessExitCode = 0, | 27 kSuccessExitCode = 0, |
| 25 kReservedForX11ExitCode = 1, | 28 kReservedForX11ExitCode = 1, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 38 }; | 41 }; |
| 39 | 42 |
| 40 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
| 41 // The Omaha Appid of the host. | 44 // The Omaha Appid of the host. |
| 42 extern const wchar_t kHostOmahaAppid[]; | 45 extern const wchar_t kHostOmahaAppid[]; |
| 43 #endif // defined(OS_WIN) | 46 #endif // defined(OS_WIN) |
| 44 | 47 |
| 45 } // namespace remoting | 48 } // namespace remoting |
| 46 | 49 |
| 47 #endif // REMOTING_HOST_CONSTANTS_H_ | 50 #endif // REMOTING_HOST_CONSTANTS_H_ |
| OLD | NEW |