-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split profile deletion code out of ProfileManager
This CL splits some logic related to profile deletion to separate files. This hopefully makes the code more readable, as the ProfileManager was very large and poorly organized. It should be a pure refactoring with no behavior change. This is mostly a code move, although some other minor changes were required, like moving a few functions from the unnamed namespace to the `ProfileManager` API. It also removes `ScheduleProfileForDeletion()` from the public API, as it was only called by tests. The tests were updated to call `MaybeScheduleProfileForDeletion()` instead. In a follow-up change, the KeepAlive management in `DeleteProfileHelper` will be improved to fix a bug where Lacros exits immediately at startup while trying to delete a profile. Bug: 1382815 Change-Id: I49b4ecee7a83dcce3a0d6826982780ba8dbd0be3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4055710 Commit-Queue: David Roger <droger@chromium.org> Reviewed-by: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1076189}
- Loading branch information
David Roger
authored and
Chromium LUCI CQ
committed
Nov 28, 2022
1 parent
66a22da
commit 2373065
Showing
25 changed files
with
876 additions
and
649 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
Oops, something went wrong.