[AF][Nickname] Add nickname to credit card class
Add base::string16 nickname to credit card class. Also update Compare() function (which is used in sync bridge to calculate the diff between existing cards and new synced cards) to ensure that any updates on nickname will be stored in autofill table. We use base::string16 type because it's a UI string. The follow up will be: 1. update masked_credit_card table schema with nickname column 2. store the nickname from sync response. Bug: 1059087 Change-Id: Ib01e30aa905559aee90608ddda702218d361d58b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2091716 Commit-Queue: Sujie Zhu <sujiezhu@google.com> Reviewed-by:Jared Saul <jsaul@google.com> Reviewed-by:
Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/master@{#748336}
Showing
Please register or sign in to comment