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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm

Issue 2893353002: [Payment Request] Address edit view controller (Part 2) (Closed)
Patch Set: Initial Created 3 years, 7 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: ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm
diff --git a/ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm b/ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm
index e9e0ed69d77eb7a99be447f1ed077da788ce0d60..db2192e970ea6a1b3cda33b96751b8dbf4c471d6 100644
--- a/ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm
+++ b/ios/chrome/browser/ui/autofill/autofill_ui_type_util.mm
@@ -26,16 +26,22 @@ AutofillUIType AutofillUITypeFromAutofillType(autofill::ServerFieldType type) {
return AutofillUITypeProfileFullName;
case autofill::COMPANY_NAME:
return AutofillUITypeProfileCompanyName;
+ case autofill::ADDRESS_HOME_STREET_ADDRESS:
+ return AutofillUITypeProfileHomeAddressStreet;
case autofill::ADDRESS_HOME_LINE1:
return AutofillUITypeProfileHomeAddressLine1;
case autofill::ADDRESS_HOME_LINE2:
return AutofillUITypeProfileHomeAddressLine2;
+ case autofill::ADDRESS_HOME_DEPENDENT_LOCALITY:
+ return AutofillUITypeProfileHomeAddressDependentLocality;
case autofill::ADDRESS_HOME_CITY:
return AutofillUITypeProfileHomeAddressCity;
case autofill::ADDRESS_HOME_STATE:
return AutofillUITypeProfileHomeAddressState;
case autofill::ADDRESS_HOME_ZIP:
return AutofillUITypeProfileHomeAddressZip;
+ case autofill::ADDRESS_HOME_SORTING_CODE:
+ return AutofillUITypeProfileHomeAddressSortingCode;
case autofill::ADDRESS_HOME_COUNTRY:
return AutofillUITypeProfileHomeAddressCountry;
case autofill::PHONE_HOME_WHOLE_NUMBER:
@@ -64,16 +70,22 @@ autofill::ServerFieldType AutofillTypeFromAutofillUIType(AutofillUIType type) {
return autofill::NAME_FULL;
case AutofillUITypeProfileCompanyName:
return autofill::COMPANY_NAME;
+ case AutofillUITypeProfileHomeAddressStreet:
+ return autofill::ADDRESS_HOME_STREET_ADDRESS;
case AutofillUITypeProfileHomeAddressLine1:
return autofill::ADDRESS_HOME_LINE1;
case AutofillUITypeProfileHomeAddressLine2:
return autofill::ADDRESS_HOME_LINE2;
+ case AutofillUITypeProfileHomeAddressDependentLocality:
+ return autofill::ADDRESS_HOME_DEPENDENT_LOCALITY;
case AutofillUITypeProfileHomeAddressCity:
return autofill::ADDRESS_HOME_CITY;
case AutofillUITypeProfileHomeAddressState:
return autofill::ADDRESS_HOME_STATE;
case AutofillUITypeProfileHomeAddressZip:
return autofill::ADDRESS_HOME_ZIP;
+ case AutofillUITypeProfileHomeAddressSortingCode:
+ return autofill::ADDRESS_BILLING_SORTING_CODE;
case AutofillUITypeProfileHomeAddressCountry:
return autofill::ADDRESS_HOME_COUNTRY;
case AutofillUITypeProfileHomePhoneWholeNumber:
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_ui_type.h ('k') | ios/chrome/browser/ui/autofill/cells/autofill_edit_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698