diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 22:52:54 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 22:52:54 +0000 |
commit | 2a13edde1666eda54128b60789823e86049d1fea (patch) | |
tree | de1f6e4fc4b828e38f3fee6f9fca6387af3ad74f /chrome/browser/autofill/credit_card.h | |
parent | 03c8a79efcec77699f77ced8c25c056967a9f241 (diff) | |
download | chromium_src-2a13edde1666eda54128b60789823e86049d1fea.zip chromium_src-2a13edde1666eda54128b60789823e86049d1fea.tar.gz chromium_src-2a13edde1666eda54128b60789823e86049d1fea.tar.bz2 |
Autofill address and credit card data separately.
Our autofill UI for filling the billing address and credit card information
simultaneously quickly gets out of hand for users with multiple address and
credit card profiles. We want a clean, simple UI; so we will just fill one
part of the form or the other; but not both.
This cl also removes the billing address drop down from the Autofill preferences "Add credit card" dialog.
BUG=57976
TEST=unit_tests --gtest_filter=*AutoFill*
unit_tests --gtest_filter=*Autofill*
Review URL: http://codereview.chromium.org/3961004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card.h')
-rw-r--r-- | chrome/browser/autofill/credit_card.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h index f437a90..67bfa2f 100644 --- a/chrome/browser/autofill/credit_card.h +++ b/chrome/browser/autofill/credit_card.h @@ -45,7 +45,6 @@ class CreditCard : public FormGroup { string16 LastFourDigits() const; const string16& type() const { return type_; } - int billing_address_id() const { return billing_address_id_; } int unique_id() const { return unique_id_; } void set_unique_id(int id) { unique_id_ = id; } @@ -54,11 +53,6 @@ class CreditCard : public FormGroup { const std::string guid() const { return guid_; } void set_guid(const std::string& guid) { guid_ = guid; } - // The caller should verify that the corresponding AutoFillProfile exists. - void set_billing_address_id(int address_id) { - billing_address_id_ = address_id; - } - // For use in STL containers. void operator=(const CreditCard&); @@ -147,10 +141,6 @@ class CreditCard : public FormGroup { // This is the display name of the card set by the user, e.g., Amazon Visa. string16 label_; - // The billing address. This is the unique ID of the AutoFillProfile that - // contains the corresponding billing address. - int billing_address_id_; - // The unique ID of this credit card. int unique_id_; |