-
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.
[UPMLocalPwd] Fix the frozen progress bar in the export flow
The problem: The ExportFlow is not supposed to start the serialization until the passwords are fetched from the password store. For this reason, the parameter passwordsAvailable was introduced into the ExportFlow.startExporting. In the case when startExporting is called before passwords are available, PasswordManagerHandlerProvider will notify the PasswordMigrationWarningMediator when the passwords are fetched and the mediator will trigger the serialization on the export flow. The problem now is that we rely on that the passwordListAvailable will always be triggered, which is not the case. It's possible that our subscription to the PMHP happens after the passwords have been fetched. The solution: Introduce the isWaitingForPasswordStore in the PasswordManagerHandler and check it when starting the export flow. (cherry picked from commit af06d6d) Bug: 1462936 Change-Id: Ic87ccdb40418fdc2ba0a77a108b99f22cf1941f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4672966 Reviewed-by: Friedrich Horschig <fhorschig@chromium.org> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Ivana Žužić <izuzic@google.com> Commit-Queue: Anna Tsvirchkova <atsvirchkova@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1168168} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4679801 Reviewed-by: Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/branch-heads/5845@{#436} Cr-Branched-From: 5a5dff6-refs/heads/main@{#1160321}
- Loading branch information
Anna Tsvirchkova
authored and
Chromium LUCI CQ
committed
Jul 12, 2023
1 parent
e73b5ab
commit 086f5f0
Showing
12 changed files
with
42 additions
and
18 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