| OLD | NEW |
| 1 // Copyright (c) 2011 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/field_types.h" |
| 9 #include "chrome/browser/autofill/phone_number.h" | 10 #include "chrome/browser/autofill/phone_number.h" |
| 10 | 11 |
| 11 class FormGroup; | |
| 12 | |
| 13 class FaxNumber : public PhoneNumber { | 12 class FaxNumber : public PhoneNumber { |
| 14 public: | 13 public: |
| 15 FaxNumber(); | 14 FaxNumber(); |
| 16 FaxNumber(const FaxNumber& fax); | 15 FaxNumber(const FaxNumber& fax); |
| 17 virtual ~FaxNumber(); | 16 virtual ~FaxNumber(); |
| 18 | 17 |
| 19 FaxNumber& operator=(const FaxNumber& fax); | 18 FaxNumber& operator=(const FaxNumber& fax); |
| 20 | 19 |
| 21 protected: | 20 protected: |
| 22 virtual AutofillFieldType GetNumberType() const; | 21 virtual AutofillFieldType GetNumberType() const; |
| 23 virtual AutofillFieldType GetCityCodeType() const; | 22 virtual AutofillFieldType GetCityCodeType() const; |
| 24 virtual AutofillFieldType GetCountryCodeType() const; | 23 virtual AutofillFieldType GetCountryCodeType() const; |
| 25 virtual AutofillFieldType GetCityAndNumberType() const; | 24 virtual AutofillFieldType GetCityAndNumberType() const; |
| 26 virtual AutofillFieldType GetWholeNumberType() const; | 25 virtual AutofillFieldType GetWholeNumberType() const; |
| 27 }; | 26 }; |
| 28 | 27 |
| 29 #endif // CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ | 28 #endif // CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ |
| OLD | NEW |