Commit 9cdc65f2 authored by S. Ganesh's avatar S. Ganesh Committed by Commit Bot

Make installation of the elevation service optional.

There are cases where the elevation service may fail to install, for
instance, if security software prevents installation.

Bug: 1023080
Change-Id: Ibab20f2ee44395254ef702a460f8fad60836e682
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2168825Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Commit-Queue: S. Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763421}
parent fb883458
......@@ -411,9 +411,10 @@ void AddElevationServiceWorkItems(const base::FilePath& elevation_service_path,
}
list->AddWorkItem(new InstallServiceWorkItem(
install_static::GetElevationServiceName(),
install_static::GetElevationServiceDisplayName(),
base::CommandLine(elevation_service_path)));
install_static::GetElevationServiceName(),
install_static::GetElevationServiceDisplayName(),
base::CommandLine(elevation_service_path)))
->set_best_effort(true);
list->AddCreateRegKeyWorkItem(root, clsid_reg_path, WorkItem::kWow64Default);
list->AddSetRegValueWorkItem(root, clsid_reg_path, WorkItem::kWow64Default,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment