| Index: components/autofill/core/browser/autofill_profile.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
|
| index e54c9fdab7d779a7538e5f10b9283c578f8b3754..35bc59046802fa12cf50b6bb841fbdaaa3c447a3 100644
|
| --- a/components/autofill/core/browser/autofill_profile.cc
|
| +++ b/components/autofill/core/browser/autofill_profile.cc
|
| @@ -309,6 +309,14 @@ bool AutofillProfile::SetInfo(const AutofillType& type,
|
| return form_group->SetInfo(type, trimmed_value, app_locale);
|
| }
|
|
|
| +void AutofillProfile::GetSupportedTypes(
|
| + ServerFieldTypeSet* supported_types) const {
|
| + FormGroupList info = FormGroups();
|
| + for (const auto* form_group : info) {
|
| + form_group->GetSupportedTypes(supported_types);
|
| + }
|
| +}
|
| +
|
| bool AutofillProfile::IsEmpty(const std::string& app_locale) const {
|
| ServerFieldTypeSet types;
|
| GetNonEmptyTypes(app_locale, &types);
|
| @@ -709,14 +717,6 @@ void AutofillProfile::RecordAndLogUse() {
|
| RecordUse();
|
| }
|
|
|
| -void AutofillProfile::GetSupportedTypes(
|
| - ServerFieldTypeSet* supported_types) const {
|
| - FormGroupList info = FormGroups();
|
| - for (const auto* form_group : info) {
|
| - form_group->GetSupportedTypes(supported_types);
|
| - }
|
| -}
|
| -
|
| // static
|
| void AutofillProfile::CreateInferredLabelsHelper(
|
| const std::vector<AutofillProfile*>& profiles,
|
|
|