| Index: chrome/browser/autofill/autofill_type.h
|
| diff --git a/chrome/browser/autofill/autofill_type.h b/chrome/browser/autofill/autofill_type.h
|
| index 18d093c732a85d3ea156172d3ded1f469478b065..0fc692aa3e8dbec63f9d5c0940f525452f64e79b 100644
|
| --- a/chrome/browser/autofill/autofill_type.h
|
| +++ b/chrome/browser/autofill/autofill_type.h
|
| @@ -46,32 +46,20 @@ class AutoFillType {
|
| };
|
|
|
| struct AutoFillTypeDefinition {
|
| - AutoFillFieldType field_type;
|
| FieldTypeGroup group;
|
| FieldTypeSubGroup subgroup;
|
| - std::string name;
|
| };
|
|
|
| - AutoFillType() {}
|
| - explicit AutoFillType(AutoFillTypeDefinition* definition);
|
| explicit AutoFillType(AutoFillFieldType field_type);
|
| + AutoFillType(const AutoFillType& autofill_type);
|
| + AutoFillType& operator=(const AutoFillType& autofill_type);
|
|
|
| - AutoFillFieldType field_type() const {
|
| - return autofill_type_definition_->field_type;
|
| - }
|
| - FieldTypeGroup group() const { return autofill_type_definition_->group; }
|
| - FieldTypeSubGroup subgroup() const {
|
| - return autofill_type_definition_->subgroup;
|
| - }
|
| + AutoFillFieldType field_type() const;
|
| + FieldTypeGroup group() const;
|
| + FieldTypeSubGroup subgroup() const;
|
|
|
| private:
|
| - static void StaticInitialize();
|
| - static void InitializeFieldTypeMap();
|
| -
|
| - static bool initialized_;
|
| - static AutoFillType types_[MAX_VALID_FIELD_TYPE + 1];
|
| -
|
| - const AutoFillTypeDefinition* autofill_type_definition_;
|
| + AutoFillFieldType field_type_;
|
| };
|
|
|
| typedef AutoFillType::FieldTypeGroup FieldTypeGroup;
|
|
|