Commit 6e4fa080 authored by Yuwei Huang's avatar Yuwei Huang Committed by Chromium LUCI CQ

[remoting host][mac] Delete host settings file in uninstaller

This CL makes the host uninstaller delete the settings file.

Change-Id: If03663338817dba6b15f15ae4493e6edfce9290d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640652
Auto-Submit: Yuwei Huang <yuweih@chromium.org>
Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845769}
parent c1df7f21
......@@ -154,6 +154,7 @@ NSArray* convertToNSArray(const char** array) {
[self sudoDelete:remoting::kHostLegacyBinaryPath usingAuth:authRef];
[self sudoDelete:remoting::kOldHostHelperScriptPath usingAuth:authRef];
[self sudoDelete:remoting::kHostConfigFilePath usingAuth:authRef];
[self sudoDelete:remoting::kHostSettingsFilePath usingAuth:authRef];
[self sudoDelete:remoting::kLogFilePath usingAuth:authRef];
[self sudoDelete:remoting::kLogFileConfigPath usingAuth:authRef];
for (const char* path : remoting::kNativeMessagingManifestPaths) {
......
......@@ -17,6 +17,8 @@ extern const char kServiceName[];
extern const char kHostConfigFileName[];
extern const char kHostConfigFilePath[];
// File that stores lightweight host settings as key-value pairs. See
// HostSettings for more info.
extern const char kHostSettingsFilePath[];
// This helper script is executed as root to enable/disable/configure the host
......
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