• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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()7 FaxNumber::FaxNumber() {}
8 
FaxNumber(const FaxNumber & fax)9 FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {}
10 
~FaxNumber()11 FaxNumber::~FaxNumber() {}
12 
operator =(const FaxNumber & fax)13 FaxNumber& FaxNumber::operator=(const FaxNumber& fax) {
14   PhoneNumber::operator=(fax);
15   return *this;
16 }
17 
GetNumberType() const18 AutofillFieldType FaxNumber::GetNumberType() const {
19   return PHONE_FAX_NUMBER;
20 }
21 
GetCityCodeType() const22 AutofillFieldType FaxNumber::GetCityCodeType() const {
23   return PHONE_FAX_CITY_CODE;
24 }
25 
GetCountryCodeType() const26 AutofillFieldType FaxNumber::GetCountryCodeType() const {
27   return PHONE_FAX_COUNTRY_CODE;
28 }
29 
GetCityAndNumberType() const30 AutofillFieldType FaxNumber::GetCityAndNumberType() const {
31   return PHONE_FAX_CITY_AND_NUMBER;
32 }
33 
GetWholeNumberType() const34 AutofillFieldType FaxNumber::GetWholeNumberType() const {
35   return PHONE_FAX_WHOLE_NUMBER;
36 }
37