[Autofill Assistant] Split AutofillAction into UseAddress and UseCard.
This CL splits the current AutofillAction into UseAddressAction and UseCreditCardAction. Also splitting the unit tests. Also fixing a small issue in client memory when checking has_selected_address for an address key that exists but the contents are a nullptr. Pending a next CL: refactor the fallback and required fields to share the logic. Right now after the split, the code will be temporarily duplicated. Bug: b/141362833 Change-Id: I34fae5e1234695e679e571ea0e888c2b0e6230bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855960 Commit-Queue: Marian Fechete <marianfe@google.com> Reviewed-by:Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#705504}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment