forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Passwords] Delete sync-ed entries if recently restored from backup
Analogous to crrev.com/c/4727928 (bookmarks) and crrev.com/c/4748239 (reading list), ported here for passwords. The new logic is guarded behind feature flags (one of which is a dedicated kill switch for passwords). The design follows the very same principles (see description of the patches linked above), and the implementation is essentially identical to the one for reading list. Specifically, ModelTypeSyncBridge::ApplyDisableSyncChanges() is guaranteed to be invoked in all relevant cases. However, determining whether the new behavior should be triggered requires careful guarding during ModelReadyToSync(). Bug: 1468502 Change-Id: I32311efebc5ffa8af5021d3fecf8480e84a597dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4753585 Reviewed-by: Maria Kazinova <kazinova@google.com> Auto-Submit: Marc Treib <treib@chromium.org> Commit-Queue: John Wu <jzw@chromium.org> Reviewed-by: John Wu <jzw@chromium.org> Reviewed-by: Rushan Suleymanov <rushans@google.com> Reviewed-by: Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/main@{#1180970}
- Loading branch information
Marc Treib
authored and
Chromium LUCI CQ
committed
Aug 8, 2023
1 parent
be2b40e
commit 1153b2f
Showing
15 changed files
with
281 additions
and
111 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
Oops, something went wrong.