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

Side by Side Diff: trunk/src/remoting/host/installer/mac/PrivilegedHelperTools/org.chromium.chromoting.me2me.sh

Issue 209043004: Revert 259287 "Add breakpad support for me2me and it2me native m..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Version = @@VERSION@@ 7 # Version = @@VERSION@@
8 8
9 NAME=org.chromium.chromoting 9 NAME=org.chromium.chromoting
10 HOST_BUNDLE_NAME=ChromeRemoteDesktopHost.bundle
11 PREFPANE_BUNDLE_NAME=ChromeRemoteDesktop.prefPane
12 CONFIG_DIR=/Library/PrivilegedHelperTools 10 CONFIG_DIR=/Library/PrivilegedHelperTools
11 HOST_EXE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/MacOS/remoting_me2me_host
12 PLIST_FILE=$CONFIG_DIR/$NAME.me2me_host.app/Contents/Info.plist
13 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled 13 ENABLED_FILE=$CONFIG_DIR/$NAME.me2me_enabled
14 CONFIG_FILE=$CONFIG_DIR/$NAME.json 14 CONFIG_FILE=$CONFIG_DIR/$NAME.json
15 HOST_EXE=$CONFIG_DIR/$HOST_BUNDLE_NAME/Contents/MacOS/remoting_me2me_host 15 PREF_PANE_BUNDLE=/Library/PreferencePanes/$NAME.prefPane
16 PLIST_FILE=$CONFIG_DIR/$HOST_BUNDLE_NAME/Contents/Info.plist
17 PREF_PANE_BUNDLE=/Library/PreferencePanes/$PREFPANE_BUNDLE_NAME
18 16
19 # The exit code returned by 'wait' when a process is terminated by SIGTERM. 17 # The exit code returned by 'wait' when a process is terminated by SIGTERM.
20 SIGTERM_EXIT_CODE=143 18 SIGTERM_EXIT_CODE=143
21 19
22 # Range of exit codes returned by the host to indicate that a permanent error 20 # Range of exit codes returned by the host to indicate that a permanent error
23 # has occurred and that the host should not be restarted. Please, keep these 21 # has occurred and that the host should not be restarted. Please, keep these
24 # constants in sync with remoting/host/host_exit_codes.h. 22 # constants in sync with remoting/host/host_exit_codes.h.
25 MIN_PERMANENT_ERROR_EXIT_CODE=100 23 MIN_PERMANENT_ERROR_EXIT_CODE=100
26 MAX_PERMANENT_ERROR_EXIT_CODE=105 24 MAX_PERMANENT_ERROR_EXIT_CODE=105
27 25
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 # stdin until the pipe is broken. 152 # stdin until the pipe is broken.
155 cat 2>/dev/null || true 153 cat 2>/dev/null || true
156 open "$PREF_PANE_BUNDLE" 154 open "$PREF_PANE_BUNDLE"
157 elif [[ "$1" = "--run-from-launchd" ]]; then 155 elif [[ "$1" = "--run-from-launchd" ]]; then
158 echo Host started for user $USER at $"$(date)" 156 echo Host started for user $USER at $"$(date)"
159 run_host 157 run_host
160 else 158 else
161 echo $$ 159 echo $$
162 exit 1 160 exit 1
163 fi 161 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698