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

Issue 10048003: The Chromoting service should not start automatically unless it was configured from the webapp to d… (Closed)

Created:
8 years, 8 months ago by alexeypa (please no reviews)
Modified:
8 years, 8 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

The Chromoting service should not start automatically unless it was configured from the webapp to do so. This way the service will not try to load unconfigured host after reboot. The installer should also respect this preserving the service start type when upgrading the installation. The service should also stop automatically if a configuration error was detected. The UI will restart the service once configuration is recreated. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131997

Patch Set 1 #

Total comments: 24

Patch Set 2 : CR feedback #

Total comments: 9

Patch Set 3 : Make sure we don't trip over DCHECKs while shutting the service down. #

Patch Set 4 : Make sure that the installer does not try to start the service when uninstalling the host. #

Patch Set 5 : More CR feedback. Making sure the the start service script runs elevated. #

Patch Set 6 : rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -31 lines) Patch
M remoting/host/elevated_controller_win.cc View 1 2 3 4 3 chunks +43 lines, -1 line 0 comments Download
M remoting/host/host_service_win.h View 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/host/host_service_win.cc View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M remoting/host/installer/chromoting.wxs View 1 2 3 4 3 chunks +37 lines, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M remoting/host/wts_session_process_launcher_win.h View 1 2 3 4 chunks +17 lines, -14 lines 0 comments Download
M remoting/host/wts_session_process_launcher_win.cc View 1 2 3 4 11 chunks +56 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
alexeypa (please no reviews)
Please take a look.
8 years, 8 months ago (2012-04-10 20:27:27 UTC) #1
Wez
https://chromiumcodereview.appspot.com/10048003/diff/1/remoting/host/elevated_controller_win.cc File remoting/host/elevated_controller_win.cc (right): https://chromiumcodereview.appspot.com/10048003/diff/1/remoting/host/elevated_controller_win.cc#newcode232 remoting/host/elevated_controller_win.cc:232: SERVICE_WIN32_OWN_PROCESS, nit: Use SERVICE_NO_CHANGE here, so the installer controls ...
8 years, 8 months ago (2012-04-10 21:26:20 UTC) #2
alexeypa (please no reviews)
PTAL. https://chromiumcodereview.appspot.com/10048003/diff/1/remoting/host/elevated_controller_win.cc File remoting/host/elevated_controller_win.cc (right): https://chromiumcodereview.appspot.com/10048003/diff/1/remoting/host/elevated_controller_win.cc#newcode232 remoting/host/elevated_controller_win.cc:232: SERVICE_WIN32_OWN_PROCESS, On 2012/04/10 21:26:20, Wez wrote: > nit: ...
8 years, 8 months ago (2012-04-10 22:18:16 UTC) #3
alexeypa (please no reviews)
PTAL.
8 years, 8 months ago (2012-04-10 22:18:20 UTC) #4
Wez
https://chromiumcodereview.appspot.com/10048003/diff/2002/remoting/host/wts_console_monitor_win.h File remoting/host/wts_console_monitor_win.h (right): https://chromiumcodereview.appspot.com/10048003/diff/2002/remoting/host/wts_console_monitor_win.h#newcode27 remoting/host/wts_console_monitor_win.h:27: // Requests removal of a previously registered observer. What's ...
8 years, 8 months ago (2012-04-11 01:01:23 UTC) #5
alexeypa (please no reviews)
PTAL. https://chromiumcodereview.appspot.com/10048003/diff/2002/remoting/host/wts_console_monitor_win.h File remoting/host/wts_console_monitor_win.h (right): https://chromiumcodereview.appspot.com/10048003/diff/2002/remoting/host/wts_console_monitor_win.h#newcode27 remoting/host/wts_console_monitor_win.h:27: // Requests removal of a previously registered observer. ...
8 years, 8 months ago (2012-04-11 17:39:39 UTC) #6
alexeypa (please no reviews)
Ping. This has to be in before Friday. The sooner the better actually.
8 years, 8 months ago (2012-04-11 21:22:35 UTC) #7
alexeypa (please no reviews)
On 2012/04/11 21:22:35, alexeypa wrote: > Ping. This has to be in before Friday. The ...
8 years, 8 months ago (2012-04-11 22:34:57 UTC) #8
Wez
LGTM!
8 years, 8 months ago (2012-04-11 22:46:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10048003/13005
8 years, 8 months ago (2012-04-11 23:04:39 UTC) #10
Wez
On 2012/04/11 22:46:30, Wez wrote: > LGTM! Thanks for making those changes, BTW. :)
8 years, 8 months ago (2012-04-11 23:09:43 UTC) #11
commit-bot: I haz the power
Try job failure for 10048003-13005 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-11 23:28:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10048003/13005
8 years, 8 months ago (2012-04-11 23:31:06 UTC) #13
commit-bot: I haz the power
Try job failure for 10048003-13005 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-12 03:34:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10048003/13005
8 years, 8 months ago (2012-04-12 08:27:15 UTC) #15
commit-bot: I haz the power
Try job failure for 10048003-13005 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-12 11:32:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10048003/13005
8 years, 8 months ago (2012-04-12 13:48:07 UTC) #17
commit-bot: I haz the power
8 years, 8 months ago (2012-04-12 16:30:36 UTC) #18
Change committed as 131997

Powered by Google App Engine
This is Rietveld 408576698