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; |
} |