Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 6685077: Two sets of Autofill tests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider.cc (revision 79474)
+++ chrome/browser/automation/testing_automation_provider.cc (working copy)
@@ -4312,6 +4312,7 @@
}
/* static */
+// Strings ordered by order of fields when adding a profile in Autofill prefs.
dennis_jeffrey 2011/03/27 16:42:35 Recommend moving this comment down below right abo
dyu1 2011/03/29 03:07:52 Done.
std::map<AutofillFieldType, std::string>
TestingAutomationProvider::GetAutofillFieldToStringMap() {
std::map<AutofillFieldType, std::string> autofill_type_to_string;
@@ -4326,10 +4327,14 @@
autofill_type_to_string[ADDRESS_HOME_STATE] = "ADDRESS_HOME_STATE";
autofill_type_to_string[ADDRESS_HOME_ZIP] = "ADDRESS_HOME_ZIP";
autofill_type_to_string[ADDRESS_HOME_COUNTRY] = "ADDRESS_HOME_COUNTRY";
+ autofill_type_to_string[PHONE_HOME_COUNTRY_CODE] =
+ "PHONE_HOME_COUNTRY_CODE";
+ autofill_type_to_string[PHONE_HOME_CITY_CODE] = "PHONE_HOME_CITY_CODE";
autofill_type_to_string[PHONE_HOME_WHOLE_NUMBER] =
"PHONE_HOME_WHOLE_NUMBER";
+ autofill_type_to_string[PHONE_FAX_COUNTRY_CODE] = "PHONE_FAX_COUNTRY_CODE";
+ autofill_type_to_string[PHONE_FAX_CITY_CODE] = "PHONE_FAX_CITY_CODE";
autofill_type_to_string[PHONE_FAX_WHOLE_NUMBER] = "PHONE_FAX_WHOLE_NUMBER";
- autofill_type_to_string[NAME_FIRST] = "NAME_FIRST";
return autofill_type_to_string;
}
« no previous file with comments | « no previous file | chrome/test/data/autofill/form_phones.html » ('j') | chrome/test/functional/autofill_dataset_generator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698