This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the startup type to auto in windows setup.
This is safe to do because the custom action is only executed if the startup type was already auto at the beginning of the installation. Review URL: https://codereview.chromium.org/1071013002 Cr-Commit-Position: refs/heads/master@{#324369} (cherry picked from commit 56cc1c6) Stop the daemon process from repeatedly starting up and shutting down the network process when the host has been unregistered. We have two bugs in the chromoting host that caused the repeated startup and shutdown of the network process when the host has be unregistered: 1. The host process never exits naturally. As a result, the WorkerProcessLauncher in the daemon process never receives the exit code and thus isn't aware that a "permanent" error occured. 2. If a host has service account enabled, it gets kInvalidOauthCredentialsExitCode instead of kInvalidHostIdExitCode if the host has been unregistered in the service directory. But we only disable the service upon the latter. Issue 1 is a regression from https://codereview.chromium.org/891663005 which added a dangling reference to the UrlRequestContextGetterin HostProcessMain. This leaked object will also keep the Network task runner, and thus the UI task runner alive. So the message loop in HostProcessMain never quits. I created crbug.com/475213 to track the original DCHECK. Review URL: https://codereview.chromium.org/1061903002 Cr-Commit-Position: refs/heads/master@{#324377} (cherry picked from commit 82a08f2) [email protected] BUG=472884,472887 Review URL: https://codereview.chromium.org/1073353002 Cr-Commit-Position: refs/branch-heads/2357@{#46} Cr-Branched-From: 59d4494-refs/heads/master@{#323860}
- Loading branch information