Generalize AutofillTable::RemoveAllAutofillProfiles()
Currently this function only works for kAccount profiles (and is only used for such). Due to the new shared table layout, it can easily be adapted to work for kLocalOrSyncable profiles too. With that, AutofillTable::ClearAutofillProfiles() (which currently only deletes local profiles) can be removed and replaced with AutofillTable::RemoveAllAutofillProfiles(kLocalOrSyncable). Bug: 1443393 Change-Id: Ifc405c78bc859f1d6cadc9225b44f080bdc6f8b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4543380 Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by:Dominic Battre <battre@chromium.org> Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/heads/main@{#1148387}
Loading
Please register or sign in to comment