summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/credit_card.h
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 23:17:34 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 23:17:34 +0000
commit027dd44a72b43d91eb6185a9be73cc9ae616b485 (patch)
treedbc63b73f7d2c2dbdba12afff0e82590654a88e6 /chrome/browser/autofill/credit_card.h
parent0e34852ad6c4d5bc35f7000392467837211c9a87 (diff)
downloadchromium_src-027dd44a72b43d91eb6185a9be73cc9ae616b485.zip
chromium_src-027dd44a72b43d91eb6185a9be73cc9ae616b485.tar.gz
chromium_src-027dd44a72b43d91eb6185a9be73cc9ae616b485.tar.bz2
Autofill cleanup of labels
This removes remaining vestiges of profile and credit card labels as a means for identification. Labels do remain in the profile and credit card classes but are private, not persisted to the database, and created upon demand. This also cleans up the web_data_service and web_database methods that used labels as identifiers. BUG=72929 TEST=WebDataServiceAutofillTest.*:WebDatabaseTest.* and miscellaneous others. Review URL: http://codereview.chromium.org/6480073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card.h')
-rw-r--r--chrome/browser/autofill/credit_card.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h
index 951b605..e7368e4 100644
--- a/chrome/browser/autofill/credit_card.h
+++ b/chrome/browser/autofill/credit_card.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.
@@ -64,7 +64,6 @@ class CreditCard : public FormGroup {
// Used by tests.
bool operator==(const CreditCard& credit_card) const;
bool operator!=(const CreditCard& credit_card) const;
- void set_label(const string16& label) { label_ = label; }
// Returns true if |value| is a credit card number. Uses the Luhn formula to
// validate the number.