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

Side by Side Diff: chrome/browser/autofill/fax_number.h

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/credit_card.cc ('k') | chrome/browser/autofill/fax_number.cc » ('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 #ifndef CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_
6 #define CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ 6 #define CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/autofill/phone_number.h" 9 #include "chrome/browser/autofill/phone_number.h"
10 10
11 class FormGroup; 11 class FormGroup;
12 12
13 class FaxNumber : public PhoneNumber { 13 class FaxNumber : public PhoneNumber {
14 public: 14 public:
15 FaxNumber(); 15 FaxNumber();
16 explicit FaxNumber(const FaxNumber& fax);
16 virtual ~FaxNumber(); 17 virtual ~FaxNumber();
17 18
18 virtual FormGroup* Clone() const; 19 FaxNumber& operator=(const FaxNumber& fax);
19 20
20 protected: 21 protected:
21 virtual AutofillFieldType GetNumberType() const; 22 virtual AutofillFieldType GetNumberType() const;
22 virtual AutofillFieldType GetCityCodeType() const; 23 virtual AutofillFieldType GetCityCodeType() const;
23 virtual AutofillFieldType GetCountryCodeType() const; 24 virtual AutofillFieldType GetCountryCodeType() const;
24 virtual AutofillFieldType GetCityAndNumberType() const; 25 virtual AutofillFieldType GetCityAndNumberType() const;
25 virtual AutofillFieldType GetWholeNumberType() const; 26 virtual AutofillFieldType GetWholeNumberType() const;
26
27 private:
28 explicit FaxNumber(const FaxNumber& phone) : PhoneNumber(phone) {}
29 void operator=(const FaxNumber& phone);
30 }; 27 };
31 28
32 #endif // CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ 29 #endif // CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/credit_card.cc ('k') | chrome/browser/autofill/fax_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698