• sandromaggi's avatar
    [Autofill Assistant] Split profiles into usage cases. · 71f8a9fc
    sandromaggi authored
    Previously the source for contacts and shipping addresses was the same
    sorted list of profiles. There may be cases where we want to sort them
    differently, which is enabled by splitting the list in two.
    
    This CL also moves the transformation logic from CreditCard / Profile
    to their destination objects (AutofillContact, AutofillAddress,
    AutofillPaymentInstrument) from the DataBinder to native/model
    directly.
    
    Bug: b/144005336
    Change-Id: I644d4b52f962582a87b8aabce5e55066e3356481
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1992082
    Commit-Queue: Sandro Maggi <sandromaggi@google.com>
    Auto-Submit: Sandro Maggi <sandromaggi@google.com>
    Reviewed-by: default avatarClemens Arbesser <arbesser@google.com>
    Cr-Commit-Position: refs/heads/master@{#730165}
    71f8a9fc
user_data_util.cc 9.81 KB