Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: chrome/browser/autofill/home_phone_number.cc

Issue 7892048: Autofill: Remove fax number completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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/home_phone_number.h"
6
7 HomePhoneNumber::HomePhoneNumber(AutofillProfile* profile)
8 : PhoneNumber(profile) {
9 }
10
11 HomePhoneNumber::HomePhoneNumber(const HomePhoneNumber& phone)
12 : PhoneNumber(phone) {
13 }
14
15 HomePhoneNumber::~HomePhoneNumber() {
16 }
17
18 HomePhoneNumber& HomePhoneNumber::operator=(const HomePhoneNumber& phone) {
19 PhoneNumber::operator=(phone);
20 return *this;
21 }
22
23 AutofillFieldType HomePhoneNumber::GetNumberType() const {
24 return PHONE_HOME_NUMBER;
25 }
26
27 AutofillFieldType HomePhoneNumber::GetCityCodeType() const {
28 return PHONE_HOME_CITY_CODE;
29 }
30
31 AutofillFieldType HomePhoneNumber::GetCountryCodeType() const {
32 return PHONE_HOME_COUNTRY_CODE;
33 }
34
35 AutofillFieldType HomePhoneNumber::GetCityAndNumberType() const {
36 return PHONE_HOME_CITY_AND_NUMBER;
37 }
38
39 AutofillFieldType HomePhoneNumber::GetWholeNumberType() const {
40 return PHONE_HOME_WHOLE_NUMBER;
41 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/home_phone_number.h ('k') | chrome/browser/autofill/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698