| Index: chrome/browser/autofill/form_structure.h
|
| diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
|
| index 92e4de9ed1ad13e46c2332cf0341640fdbf0eb60..11c0b2cb5c3fc0d91d927605257b811006ac3f43 100644
|
| --- a/chrome/browser/autofill/form_structure.h
|
| +++ b/chrome/browser/autofill/form_structure.h
|
| @@ -155,6 +155,20 @@ class FormStructure {
|
| bool EncodeFormRequest(EncodeRequestType request_type,
|
| buzz::XmlElement* encompassing_xml_element) const;
|
|
|
| + // Classifies each field in |fields_| based upon its |autocompletetype|
|
| + // attribute, if the attribute is available. The association is stored into
|
| + // |map|. Fills |found_attribute| with |true| if the attribute is available
|
| + // (and non-empty) for at least one field. Fills |found_sections| with |true|
|
| + // if the attribute specifies a section for at least one field.
|
| + void ParseAutocompletetypeAttributes(bool* found_attribute,
|
| + bool* found_sections);
|
| +
|
| + // Classifies each field in |fields_| into a logical section.
|
| + // Sections are identified by the heuristic that a logical section should not
|
| + // include multiple fields of the same autofill type (with some exceptions, as
|
| + // described in the implementation).
|
| + void IdentifySections();
|
| +
|
| // The name of the form.
|
| string16 form_name_;
|
|
|
|
|