Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dPWA] Explicitly pass source to uninstall, and require install source.
This patch fixes the incorrect assumption that we can determine the installation source from the uninstallation location, and makes the installation source a bit more required for install tasks and options. This also updates some variable names from install_source to install_surface, which is a more accurate name. Work to rename the whole enum is in https://crbug.com/1313273. The only functional change in this CL is in externally_managed_app_install_task.cc:187, which sets the source of the uninstall correctly now. This fixes an issue where replaced placeholder apps aren't uninstalled correctly. All other changes are purely refactoring. Bug: 1312061 Change-Id: I82968bc91e12e8d60736ed32af9782312941d98e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3570646 Reviewed-by: Evan Stade <estade@chromium.org> Reviewed-by: Tim Sergeant <tsergeant@chromium.org> Reviewed-by: Jon Mann <jonmann@chromium.org> Auto-Submit: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Edman Anjos <edman@chromium.org> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by: Tommy Martino <tmartino@chromium.org> Reviewed-by: Aga Wronska <agawronska@chromium.org> Reviewed-by: Phillis Tang <phillis@chromium.org> Reviewed-by: Glenn Hartmann <hartmanng@chromium.org> Commit-Queue: Glenn Hartmann <hartmanng@chromium.org> Cr-Commit-Position: refs/heads/main@{#989943}
- Loading branch information
Showing
30 changed files
with
329 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.