summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/autofill/autofill_dialog_controller_impl.h')
-rw-r--r--chrome/browser/ui/autofill/autofill_dialog_controller_impl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 3f48f73..23cc807 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -401,8 +401,9 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
void FillOutputForSection(DialogSection section);
// As above, but uses |compare| to determine whether a DetailInput matches
// a field. Saves any new Autofill data to the PersonalDataManager.
- void FillOutputForSectionWithComparator(DialogSection section,
- const InputFieldComparator& compare);
+ void FillOutputForSectionWithComparator(
+ DialogSection section,
+ const FormStructure::InputFieldComparator& compare);
// Returns whether |form_structure|_| has any fields that match the fieldset
// represented by |section|.
@@ -461,6 +462,10 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// Like RequestedFieldsForSection, but returns a pointer.
DetailInputs* MutableRequestedFieldsForSection(DialogSection section);
+ // Returns just the |type| attributes of RequestedFieldsForSection(section).
+ std::vector<ServerFieldType> RequestedTypesForSection(DialogSection section)
+ const;
+
// Returns the country code (e.g. "US") for |section|.
std::string CountryCodeForSection(DialogSection section);