| Index: chrome/browser/autofill/autofill_field.h
|
| diff --git a/chrome/browser/autofill/autofill_field.h b/chrome/browser/autofill/autofill_field.h
|
| index a875c9944bfe48823fd15d45c57ae9c8fd4cd12e..08ed126ad1d457b09099170ecd965319dfbeec7b 100644
|
| --- a/chrome/browser/autofill/autofill_field.h
|
| +++ b/chrome/browser/autofill/autofill_field.h
|
| @@ -22,11 +22,13 @@ class AutofillField : public webkit_glue::FormField {
|
|
|
| const string16& unique_name() const { return unique_name_; }
|
|
|
| + const string16& section() const { return section_; }
|
| AutofillFieldType heuristic_type() const { return heuristic_type_; }
|
| AutofillFieldType server_type() const { return server_type_; }
|
| const FieldTypeSet& possible_types() const { return possible_types_; }
|
|
|
| // Sets the heuristic type of this field, validating the input.
|
| + void set_section(const string16& section) { section_ = section; }
|
| void set_heuristic_type(AutofillFieldType type);
|
| void set_server_type(AutofillFieldType type) { server_type_ = type; }
|
| void set_possible_types(const FieldTypeSet& possible_types) {
|
| @@ -52,6 +54,10 @@ class AutofillField : public webkit_glue::FormField {
|
| // The unique name of this field, generated by Autofill.
|
| string16 unique_name_;
|
|
|
| + // The unique identifier for the section (e.g. billing vs. shipping address)
|
| + // that this field belongs to.
|
| + string16 section_;
|
| +
|
| // The type of the field, as determined by the Autofill server.
|
| AutofillFieldType server_type_;
|
|
|
|
|