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

Unified Diff: chrome/browser/autofill/fax_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: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/fax_number.cc
diff --git a/chrome/browser/autofill/fax_number.cc b/chrome/browser/autofill/fax_number.cc
index d1ea3d2251dad3db30317ba0b156e4c00f1e93f0..ed4869fea6e3c8d7c9853c98b8f721dce6470503 100644
--- a/chrome/browser/autofill/fax_number.cc
+++ b/chrome/browser/autofill/fax_number.cc
@@ -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.
@@ -6,10 +6,13 @@
FaxNumber::FaxNumber() {}
+FaxNumber::FaxNumber(const FaxNumber& phone) : PhoneNumber(phone) {}
Ilya Sherman 2011/03/09 00:50:50 nit: perhaps "fax" rather than "phone"? (and below
dhollowa 2011/03/09 01:55:47 Done.
+
FaxNumber::~FaxNumber() {}
-FormGroup* FaxNumber::Clone() const {
- return new FaxNumber(*this);
+FaxNumber& FaxNumber::operator=(const FaxNumber& phone) {
+ PhoneNumber::operator=(phone);
+ return *this;
}
AutofillFieldType FaxNumber::GetNumberType() const {

Powered by Google App Engine
This is Rietveld 408576698