summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_profile.h
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 19:45:04 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 19:45:04 +0000
commite43783403ec799f226d7b6d9dde5ecd363f0b339 (patch)
treeea812df19a608f589ae53760a4ee5c63b6cdd101 /chrome/browser/autofill/autofill_profile.h
parent206167f1286d23440b8fa60dfd2bf1a8e0036ce8 (diff)
downloadchromium_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/autofill_profile.h')
-rw-r--r--chrome/browser/autofill/autofill_profile.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h
index 91b08fe..ea83730 100644
--- a/chrome/browser/autofill/autofill_profile.h
+++ b/chrome/browser/autofill/autofill_profile.h
@@ -21,9 +21,6 @@ typedef std::map<FieldTypeGroup, FormGroup*> FormGroupMap;
// to the requested form group type.
class AutoFillProfile : public FormGroup {
public:
- // DEPRECATED
- // TODO(dhollowa): Remove unique ID and label. http://crbug.com/58813
- AutoFillProfile(const string16& label, int unique_id);
explicit AutoFillProfile(const std::string& guid);
// For use in STL containers.
@@ -51,9 +48,6 @@ class AutoFillProfile : public FormGroup {
// profiles. See AdjustInferredLabels() further down for more description.
virtual const string16 Label() const;
- int unique_id() const { return unique_id_; }
- void set_unique_id(int id) { unique_id_ = id; }
-
// This guid is the primary identifier for |AutoFillProfile| objects.
const std::string guid() const { return guid_; }
void set_guid(const std::string& guid) { guid_ = guid; }
@@ -118,9 +112,6 @@ class AutoFillProfile : public FormGroup {
// The label presented to the user when selecting a profile.
string16 label_;
- // The unique ID of this profile.
- int unique_id_;
-
// The guid of this profile.
std::string guid_;