Skip to content
Commit 2fbce7b6 authored by Florian Leimgruber's avatar Florian Leimgruber Committed by Chromium LUCI CQ
Browse files

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: default avatarDominic Battre <battre@chromium.org>
Commit-Queue: Florian Leimgruber <fleimgruber@google.com>
Cr-Commit-Position: refs/heads/main@{#1148387}
parent 9df49da7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment