diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 19:45:04 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-04 19:45:04 +0000 |
commit | e43783403ec799f226d7b6d9dde5ecd363f0b339 (patch) | |
tree | ea812df19a608f589ae53760a4ee5c63b6cdd101 /chrome/browser/autofill/credit_card.h | |
parent | 206167f1286d23440b8fa60dfd2bf1a8e0036ce8 (diff) | |
download | chromium_src-e43783403ec799f226d7b6d9dde5ecd363f0b339.zip chromium_src-e43783403ec799f226d7b6d9dde5ecd363f0b339.tar.gz chromium_src-e43783403ec799f226d7b6d9dde5ecd363f0b339.tar.bz2 |
Autofill deprecate unique_ids in favor of guids for PersonalDataManager
Final round of unique_id deprecation. These changes migrated web_database schemas for profiles and credit cards, clean up the web_dataservice interface, bring the personal_data_manager interface inline with the GUID interfaces for web_dataservice, convert remaining unit tests to be GUID-based, and some changes to platform UI code that used unique IDs for edits.
BUG=58813
TEST=WebDataServiceTest.*, WebDatabaseTest.*, WebDatabaseMigrationTest.*, PersonalDataManagerTest.*, AutoFillTest.*, AutoFillDialogControllerTest.AddNewProfile, AutoFillDialogControllerTest.AddNewCreditCard, AutoFillProfileTest.MergeWith, ProfileSyncServiceAutofillTest.*, TwoClientLiveAutofillSyncTest.*
Review URL: http://codereview.chromium.org/4388001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/credit_card.h')
-rw-r--r-- | chrome/browser/autofill/credit_card.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h index be7579f..91fc6ce 100644 --- a/chrome/browser/autofill/credit_card.h +++ b/chrome/browser/autofill/credit_card.h @@ -14,9 +14,6 @@ // A form group that stores credit card information. class CreditCard : public FormGroup { public: - // DEPRECATED - // TODO(dhollowa): Remove unique ID and label. http://crbug.com/58813 - CreditCard(const string16& label, int unique_id); explicit CreditCard(const std::string& guid); // For use in STL containers. @@ -46,9 +43,6 @@ class CreditCard : public FormGroup { const string16& type() const { return type_; } - int unique_id() const { return unique_id_; } - void set_unique_id(int id) { unique_id_ = id; } - // The guid is the primary identifier for |CreditCard| objects. const std::string guid() const { return guid_; } void set_guid(const std::string& guid) { guid_ = guid; } @@ -149,9 +143,6 @@ class CreditCard : public FormGroup { // This is the display name of the card set by the user, e.g., Amazon Visa. string16 label_; - // The unique ID of this credit card. - int unique_id_; - // The guid of this credit card. std::string guid_; }; |