Clear wallet data from autofill when disabled.
Re-mask all unmasked cards when the user disables autofill integration. Delete all server cards and addresses when the user disables the sync type or stops syncing. Fix a bug where addresses were always written to the DB on startup because profiles were being created differently from protos than they were from sqlite so wouldn't match. Optimize autofill profile comparisons. I was offended by the number of autofill profile and card comparisons we do at startup, the small number of items in the list means std::set is operating at a worst-case. I switched to brute-force with a "give up and rewrite the data" escape valve if you have a large number of addresses. BUG=450843 Review URL: https://codereview.chromium.org/1007003007 Cr-Commit-Position: refs/heads/master@{#321406}
Showing
Please register or sign in to comment