summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/home_phone_number.cc
blob: f48efa8cc5b3d2c1971082e10b0c9808a03bc61d (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
// Copyright (c) 2010 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/home_phone_number.h"

FormGroup* HomePhoneNumber::Clone() const {
  return new HomePhoneNumber(*this);
}

AutoFillFieldType HomePhoneNumber::GetNumberType() const {
  return PHONE_HOME_NUMBER;
}

AutoFillFieldType HomePhoneNumber::GetCityCodeType() const {
  return PHONE_HOME_CITY_CODE;
}

AutoFillFieldType HomePhoneNumber::GetCountryCodeType() const {
  return PHONE_HOME_COUNTRY_CODE;
}

AutoFillFieldType HomePhoneNumber::GetCityAndNumberType() const {
  return PHONE_HOME_CITY_AND_NUMBER;
}

AutoFillFieldType HomePhoneNumber::GetWholeNumberType() const {
  return PHONE_HOME_WHOLE_NUMBER;
}