Index: chrome/browser/autofill/fax_number.h |
diff --git a/chrome/browser/autofill/fax_number.h b/chrome/browser/autofill/fax_number.h |
index 75d65750aae5ddc56960f683f54e15312f9009b8..3fdc59e70e88bed99548da719387144bec5ff8e0 100644 |
--- a/chrome/browser/autofill/fax_number.h |
+++ b/chrome/browser/autofill/fax_number.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -13,9 +13,10 @@ class FormGroup; |
class FaxNumber : public PhoneNumber { |
public: |
FaxNumber(); |
+ explicit FaxNumber(const FaxNumber& fax); |
virtual ~FaxNumber(); |
- virtual FormGroup* Clone() const; |
+ FaxNumber& operator=(const FaxNumber& fax); |
protected: |
virtual AutofillFieldType GetNumberType() const; |
@@ -23,10 +24,6 @@ class FaxNumber : public PhoneNumber { |
virtual AutofillFieldType GetCountryCodeType() const; |
virtual AutofillFieldType GetCityAndNumberType() const; |
virtual AutofillFieldType GetWholeNumberType() const; |
- |
- private: |
- explicit FaxNumber(const FaxNumber& phone) : PhoneNumber(phone) {} |
- void operator=(const FaxNumber& phone); |
}; |
#endif // CHROME_BROWSER_AUTOFILL_FAX_NUMBER_H_ |