Index: components/autofill/core/browser/address.h |
diff --git a/components/autofill/core/browser/address.h b/components/autofill/core/browser/address.h |
index e55dc850a3fe11b3a4687662f6d0aec931f82f4d..db1c731d1497ff5a30a7f79a5fcab4bad7d3d693 100644 |
--- a/components/autofill/core/browser/address.h |
+++ b/components/autofill/core/browser/address.h |
@@ -10,8 +10,6 @@ |
#include "base/compiler_specific.h" |
#include "base/strings/string16.h" |
-#include "components/autofill/core/browser/autofill_type.h" |
-#include "components/autofill/core/browser/field_types.h" |
#include "components/autofill/core/browser/form_group.h" |
namespace autofill { |
@@ -26,21 +24,23 @@ class Address : public FormGroup { |
Address& operator=(const Address& address); |
// FormGroup: |
- virtual base::string16 GetRawInfo(AutofillFieldType type) const OVERRIDE; |
- virtual void SetRawInfo(AutofillFieldType type, |
+ virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE; |
+ virtual void SetRawInfo(ServerFieldType type, |
const base::string16& value) OVERRIDE; |
- virtual base::string16 GetInfo(AutofillFieldType type, |
+ virtual base::string16 GetInfo(const AutofillType& type, |
const std::string& app_locale) const OVERRIDE; |
- virtual bool SetInfo(AutofillFieldType type, |
+ virtual bool SetInfo(const AutofillType& type, |
const base::string16& value, |
const std::string& app_locale) OVERRIDE; |
- virtual void GetMatchingTypes(const base::string16& text, |
- const std::string& app_locale, |
- FieldTypeSet* matching_types) const OVERRIDE; |
+ virtual void GetMatchingTypes( |
+ const base::string16& text, |
+ const std::string& app_locale, |
+ ServerFieldTypeSet* matching_types) const OVERRIDE; |
private: |
// FormGroup: |
- virtual void GetSupportedTypes(FieldTypeSet* supported_types) const OVERRIDE; |
+ virtual void GetSupportedTypes( |
+ ServerFieldTypeSet* supported_types) const OVERRIDE; |
// The address. |
base::string16 line1_; |