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