diff options
author | dcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 23:05:28 +0000 |
---|---|---|
committer | dcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 23:05:28 +0000 |
commit | 912a4ba318d214b2f0e3a0ebcd2009204017a742 (patch) | |
tree | 045805d8a9a1ab88b6bfa122734fbcbf7586cdc9 /remoting/host/constants.h | |
parent | 6315d166de217368aac830d79d0d26a6e408adef (diff) | |
download | chromium_src-912a4ba318d214b2f0e3a0ebcd2009204017a742.zip chromium_src-912a4ba318d214b2f0e3a0ebcd2009204017a742.tar.gz chromium_src-912a4ba318d214b2f0e3a0ebcd2009204017a742.tar.bz2 |
Chromoting: Stop the Mac daemon if a permanent error is encountered
Launchd is no longer responsible for reloading the daemon. This responsibility
now belongs to the helper script which will compare the host's exit code against
the permanent error range to decide whether the host should be restarted.
BUG=123715
TEST=manual: enable, disable, sigterm host, sigterm script, change pin, force segfault host, force auth-error host, disable & reboot, enable & reboot
Review URL: http://codereview.chromium.org/10383003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/constants.h')
-rw-r--r-- | remoting/host/constants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/host/constants.h b/remoting/host/constants.h index 6f36b94..9654aff 100644 --- a/remoting/host/constants.h +++ b/remoting/host/constants.h @@ -8,6 +8,9 @@ namespace remoting { // Known host exit codes. +// Please keep this enum in sync with: +// remoting/host/installer/mac/PrivilegedHelperTools/ +// org.chromium.chromoting.me2me.sh enum HostExitCodes { kSuccessExitCode = 0, kReservedForX11ExitCode = 1, |