-
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.
ProfileTokenQuality: Persist new observations
crrev.com/c/4720559 added the ability to store observations in AutofillTable. This CL adds the corresponding UpdateProfile() call via the PDM whenever new observations are collected on form submit. The PDM rejects updates if the updated profile EqualsForUpdatePurposes() with the existing profile that the PDM is aware of. As such, this function is updated to take observations into consideration. The updates caused by this logic won't modify the modification date of the updated profile, since AutofillProfile::operator== doesn't consider changes in the observations. See: https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/personal_data_manager.cc;l=2588-2592;drc=cdd964007eb01c64477e65df08f088b500ed229d Bug: 1453650 Change-Id: Iacedd7798b9c59c3731018a81741e87f11f58785 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4984032 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Christoph Schwering <schwering@google.com> Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1216872}
- Loading branch information
1 parent
18b0048
commit 88aa86f
Showing
5 changed files
with
71 additions
and
3 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