From 5ba3525782b3357df1b1b5d5dade1b400581e4f7 Mon Sep 17 00:00:00 2001 From: "dhollowa@chromium.org" Date: Thu, 28 Oct 2010 16:10:55 +0000 Subject: Autofill deprecate unique_ids in favor of guids for testing_automation_provider Removes use of labels and unique_ids in the testing_automation_provider BUG=58813 TEST=none Review URL: http://codereview.chromium.org/4192005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64254 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/automation/testing_automation_provider.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome') diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index 2bcb1f1..8f648d0 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -3900,8 +3900,7 @@ TestingAutomationProvider::GetAutoFillProfilesFromList( int num_profiles = profiles.GetSize(); for (int i = 0; i < num_profiles; i++) { profiles.GetDictionary(i, &profile_info); - // Choose an id of 0 so that a unique id will be created. - AutoFillProfile profile(string16(), 0); + AutoFillProfile profile; // Loop through the possible profile types and add those provided. for (std::map::iterator type_it = autofill_type_to_string.begin(); @@ -3934,7 +3933,7 @@ std::vector TestingAutomationProvider::GetCreditCardsFromList( int num_credit_cards = cards.GetSize(); for (int i = 0; i < num_credit_cards; i++) { cards.GetDictionary(i, &card_info); - CreditCard card(string16(), 0); + CreditCard card; // Loop through the possible credit card fields and add those provided. for (std::map::iterator type_it = credit_card_type_to_string.begin(); -- cgit v1.1