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

Side by Side Diff: chrome/browser/autofill/fax_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
« no previous file with comments | « chrome/browser/autofill/fax_number.h ('k') | chrome/browser/autofill/field_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/fax_number.h"
6
7 FaxNumber::FaxNumber(AutofillProfile* profile) : PhoneNumber(profile) {
8 }
9
10 FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {
11 }
12
13 FaxNumber::~FaxNumber() {
14 }
15
16 FaxNumber& FaxNumber::operator=(const FaxNumber& fax) {
17 PhoneNumber::operator=(fax);
18 return *this;
19 }
20
21 AutofillFieldType FaxNumber::GetNumberType() const {
22 return PHONE_FAX_NUMBER;
23 }
24
25 AutofillFieldType FaxNumber::GetCityCodeType() const {
26 return PHONE_FAX_CITY_CODE;
27 }
28
29 AutofillFieldType FaxNumber::GetCountryCodeType() const {
30 return PHONE_FAX_COUNTRY_CODE;
31 }
32
33 AutofillFieldType FaxNumber::GetCityAndNumberType() const {
34 return PHONE_FAX_CITY_AND_NUMBER;
35 }
36
37 AutofillFieldType FaxNumber::GetWholeNumberType() const {
38 return PHONE_FAX_WHOLE_NUMBER;
39 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/fax_number.h ('k') | chrome/browser/autofill/field_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698