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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/home_phone_number.cc
diff --git a/chrome/browser/autofill/home_phone_number.cc b/chrome/browser/autofill/home_phone_number.cc
index fb19c8d6b89588501c49a7df42fba3d1441f4de9..9425df549e3a643b9ec21af55af4189a2326b41e 100644
--- a/chrome/browser/autofill/home_phone_number.cc
+++ b/chrome/browser/autofill/home_phone_number.cc
@@ -1,11 +1,20 @@
-// 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.
#include "chrome/browser/autofill/home_phone_number.h"
-FormGroup* HomePhoneNumber::Clone() const {
- return new HomePhoneNumber(*this);
+HomePhoneNumber::HomePhoneNumber() {}
+
+HomePhoneNumber::HomePhoneNumber(const HomePhoneNumber& phone)
+ : PhoneNumber(phone) {
+}
+
+HomePhoneNumber::~HomePhoneNumber() {}
+
+HomePhoneNumber& HomePhoneNumber::operator=(const HomePhoneNumber& phone) {
+ PhoneNumber::operator=(phone);
+ return *this;
}
AutofillFieldType HomePhoneNumber::GetNumberType() const {
« 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