Index: ios/chrome/browser/ui/payments/address_edit_mediator.h |
diff --git a/ios/chrome/browser/ui/payments/address_edit_mediator.h b/ios/chrome/browser/ui/payments/address_edit_mediator.h |
index a2898fd3847a46ad7fd66642d453825702940103..cae21460ea9c6aa95d6c84a228a45e9a7872d8c1 100644 |
--- a/ios/chrome/browser/ui/payments/address_edit_mediator.h |
+++ b/ios/chrome/browser/ui/payments/address_edit_mediator.h |
@@ -6,6 +6,7 @@ |
#define IOS_CHROME_BROWSER_UI_PAYMENTS_ADDRESS_EDIT_MEDIATOR_H_ |
#import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h" |
+#import "ios/chrome/browser/ui/payments/region_data_loader.h" |
class PaymentRequest; |
@protocol PaymentRequestEditConsumer; |
@@ -16,12 +17,22 @@ class AutofillProfile; |
// Serves as data source for AddressEditViewController. |
@interface AddressEditMediator |
- : NSObject<PaymentRequestEditViewControllerDataSource> |
+ : NSObject<PaymentRequestEditViewControllerDataSource, |
+ RegionDataLoaderConsumer> |
// The consumer for this object. This can change during the lifetime of this |
// object and may be nil. |
@property(nonatomic, weak) id<PaymentRequestEditConsumer> consumer; |
+// The map of country codes to country names. |
+@property(nonatomic, strong) NSDictionary<NSString*, NSString*>* countries; |
+ |
+// The country code for the currently selected country, if any. |
+@property(nonatomic, strong) NSString* selectedCountryCode; |
+ |
+// The list of region names used for the autofill::ADDRESS_HOME_STATE field. |
+@property(nonatomic, strong) NSArray<NSString*>* regions; |
+ |
// Initializes this object with an instance of PaymentRequest which has a copy |
// of web::PaymentRequest as provided by the page invoking the Payment Request |
// API as well as |address| which is the address to be edited, if any. |