diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-28 16:10:55 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-28 16:10:55 +0000 |
commit | 5ba3525782b3357df1b1b5d5dade1b400581e4f7 (patch) | |
tree | 77e71c37ef4742aaddeeb8188da92e4a7c7591f0 /chrome | |
parent | 2679db248df9c1a1e80e7ba97aac10fe8d15aebd (diff) | |
download | chromium_src-5ba3525782b3357df1b1b5d5dade1b400581e4f7.zip chromium_src-5ba3525782b3357df1b1b5d5dade1b400581e4f7.tar.gz chromium_src-5ba3525782b3357df1b1b5d5dade1b400581e4f7.tar.bz2 |
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
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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<AutoFillFieldType, std::wstring>::iterator type_it = autofill_type_to_string.begin(); @@ -3934,7 +3933,7 @@ std::vector<CreditCard> 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<AutoFillFieldType, std::wstring>::iterator type_it = credit_card_type_to_string.begin(); |