[WebAppProvider] Fixing OS hooks to not be called for sync install
This patch adds a check for |locally_installed| in the post-finalize step of the WebAppInstallTask callback chain. Instead of calling InstallOsHooks, it skips that (as the web app is not locally installed). This also updates the TestOsIntegrationManager to store a little more data, and make the TestWebAppProviderCreator take a RepeatingCallback to support multiple profiles. TBR: loyso@chromium.org Bug: 1143023 Change-Id: I18f3864e909980a892f6f669fa4029b098b43d01 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505685 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by:Phillis Tang <phillis@chromium.org> Cr-Commit-Position: refs/heads/master@{#824979}
Showing
Please register or sign in to comment