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

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
« no previous file with comments | « no previous file | chrome/test/data/autofill/form_phones.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider.cc (revision 79656)
+++ chrome/browser/automation/testing_automation_provider.cc (working copy)
@@ -4320,6 +4320,7 @@
std::map<AutofillFieldType, std::string>
TestingAutomationProvider::GetAutofillFieldToStringMap() {
std::map<AutofillFieldType, std::string> autofill_type_to_string;
+ // Strings ordered by order of fields when adding a profile in Autofill prefs.
autofill_type_to_string[NAME_FIRST] = "NAME_FIRST";
autofill_type_to_string[NAME_MIDDLE] = "NAME_MIDDLE";
autofill_type_to_string[NAME_LAST] = "NAME_LAST";
@@ -4331,10 +4332,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698