1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/autofill/fax_number.h" 6 FaxNumber()7FaxNumber::FaxNumber() {} 8 FaxNumber(const FaxNumber & fax)9FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {} 10 ~FaxNumber()11FaxNumber::~FaxNumber() {} 12 operator =(const FaxNumber & fax)13FaxNumber& FaxNumber::operator=(const FaxNumber& fax) { 14 PhoneNumber::operator=(fax); 15 return *this; 16 } 17 GetNumberType() const18AutofillFieldType FaxNumber::GetNumberType() const { 19 return PHONE_FAX_NUMBER; 20 } 21 GetCityCodeType() const22AutofillFieldType FaxNumber::GetCityCodeType() const { 23 return PHONE_FAX_CITY_CODE; 24 } 25 GetCountryCodeType() const26AutofillFieldType FaxNumber::GetCountryCodeType() const { 27 return PHONE_FAX_COUNTRY_CODE; 28 } 29 GetCityAndNumberType() const30AutofillFieldType FaxNumber::GetCityAndNumberType() const { 31 return PHONE_FAX_CITY_AND_NUMBER; 32 } 33 GetWholeNumberType() const34AutofillFieldType FaxNumber::GetWholeNumberType() const { 35 return PHONE_FAX_WHOLE_NUMBER; 36 } 37