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

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

Issue 6650014: Autofill extend profiles to include multi-valued fields, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 9 years, 9 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/home_phone_number.h ('k') | chrome/browser/autofill/phone_number.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/autofill/home_phone_number.h" 5 #include "chrome/browser/autofill/home_phone_number.h"
6 6
7 FormGroup* HomePhoneNumber::Clone() const { 7 HomePhoneNumber::HomePhoneNumber() {}
8 return new HomePhoneNumber(*this); 8
9 HomePhoneNumber::HomePhoneNumber(const HomePhoneNumber& phone)
10 : PhoneNumber(phone) {
11 }
12
13 HomePhoneNumber::~HomePhoneNumber() {}
14
15 HomePhoneNumber& HomePhoneNumber::operator=(const HomePhoneNumber& phone) {
16 PhoneNumber::operator=(phone);
17 return *this;
9 } 18 }
10 19
11 AutofillFieldType HomePhoneNumber::GetNumberType() const { 20 AutofillFieldType HomePhoneNumber::GetNumberType() const {
12 return PHONE_HOME_NUMBER; 21 return PHONE_HOME_NUMBER;
13 } 22 }
14 23
15 AutofillFieldType HomePhoneNumber::GetCityCodeType() const { 24 AutofillFieldType HomePhoneNumber::GetCityCodeType() const {
16 return PHONE_HOME_CITY_CODE; 25 return PHONE_HOME_CITY_CODE;
17 } 26 }
18 27
19 AutofillFieldType HomePhoneNumber::GetCountryCodeType() const { 28 AutofillFieldType HomePhoneNumber::GetCountryCodeType() const {
20 return PHONE_HOME_COUNTRY_CODE; 29 return PHONE_HOME_COUNTRY_CODE;
21 } 30 }
22 31
23 AutofillFieldType HomePhoneNumber::GetCityAndNumberType() const { 32 AutofillFieldType HomePhoneNumber::GetCityAndNumberType() const {
24 return PHONE_HOME_CITY_AND_NUMBER; 33 return PHONE_HOME_CITY_AND_NUMBER;
25 } 34 }
26 35
27 AutofillFieldType HomePhoneNumber::GetWholeNumberType() const { 36 AutofillFieldType HomePhoneNumber::GetWholeNumberType() const {
28 return PHONE_HOME_WHOLE_NUMBER; 37 return PHONE_HOME_WHOLE_NUMBER;
29 } 38 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/home_phone_number.h ('k') | chrome/browser/autofill/phone_number.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698