[AF] Keep profiles validity states updated.
Validate the profiles as soon as their validity states become out of date and before updating the database. Also, - Refactoring the personal data manager unittests. - Validator should have a copy of the profile, as the pointer may get out-dated. - Handle delayed validations. See go/af-pdm-scheduling for explaining the algorithm. See go/autofill-use-validation. Bug: 899254 Change-Id: If8a173302ec0766a4a549efa84faa4885d546b8c Reviewed-on: https://chromium-review.googlesource.com/c/1395832 Commit-Queue: Parastoo Geranmayeh <parastoog@google.com> Reviewed-by:Roger McFarlane <rogerm@chromium.org> Reviewed-by:
Sebastien Seguin-Gagnon <sebsg@chromium.org> Reviewed-by:
Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#626250}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment