diff options
Diffstat (limited to 'chrome/browser/autofill/fax_number.h')
-rw-r--r-- | chrome/browser/autofill/fax_number.h | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/chrome/browser/autofill/fax_number.h b/chrome/browser/autofill/fax_number.h index 864746f..7fe9a1c 100644 --- a/chrome/browser/autofill/fax_number.h +++ b/chrome/browser/autofill/fax_number.h @@ -12,29 +12,17 @@ class FormGroup; class FaxNumber : public PhoneNumber { public: - FaxNumber() {} - virtual FormGroup* Clone() const { return new FaxNumber(*this); } + FaxNumber(); + virtual ~FaxNumber(); - protected: - virtual AutoFillFieldType GetNumberType() const { - return PHONE_FAX_NUMBER; - } - - virtual AutoFillFieldType GetCityCodeType() const { - return PHONE_FAX_CITY_CODE; - } - - virtual AutoFillFieldType GetCountryCodeType() const { - return PHONE_FAX_COUNTRY_CODE; - } + virtual FormGroup* Clone() const; - virtual AutoFillFieldType GetCityAndNumberType() const { - return PHONE_FAX_CITY_AND_NUMBER; - } - - virtual AutoFillFieldType GetWholeNumberType() const { - return PHONE_FAX_WHOLE_NUMBER; - } + protected: + virtual AutoFillFieldType GetNumberType() const; + virtual AutoFillFieldType GetCityCodeType() const; + virtual AutoFillFieldType GetCountryCodeType() const; + virtual AutoFillFieldType GetCityAndNumberType() const; + virtual AutoFillFieldType GetWholeNumberType() const; private: explicit FaxNumber(const FaxNumber& phone) : PhoneNumber(phone) {} |