dpwas: Move delete shared mac shim to behind shortcuts
While working on Run On OS Login for Mac, I noticed that the shared app shims were being deleted when toggling Run On OS Login. This happens because the app shims unconditionally delete the app shims. This change moves the code to delete the shared app shims behind the shortcut check. On Mac you can have both per profile shims, and shared shims, so the callbacks are chained together only on that platform. Bug: 897302 Change-Id: I318137ac0f34e4f2429a5119d47e3fe5c3c96892 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519877 Commit-Queue: Mike Jackson <mjackson@microsoft.com> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Reviewed-by:
ccameron <ccameron@chromium.org> Reviewed-by:
Phillis Tang <phillis@chromium.org> Cr-Commit-Position: refs/heads/master@{#825165}
Showing
Please register or sign in to comment