Index: ios/chrome/browser/ui/payments/payment_method_selection_mediator.h |
diff --git a/ios/chrome/browser/ui/payments/payment_method_selection_mediator.h b/ios/chrome/browser/ui/payments/payment_method_selection_mediator.h |
index 6eb9a32b75399fb62319719cd720a1e46d0568cf..359f0d2d6d81870bb4440fcb31e84d227a7b3746 100644 |
--- a/ios/chrome/browser/ui/payments/payment_method_selection_mediator.h |
+++ b/ios/chrome/browser/ui/payments/payment_method_selection_mediator.h |
@@ -13,9 +13,15 @@ class PaymentRequest; |
@interface PaymentMethodSelectionMediator |
: NSObject<PaymentRequestSelectorViewControllerDataSource> |
-// Index for the currently selected item or NSUIntegerMax if there is none. |
+// Redefined to be read-write. |
+@property(nonatomic, readwrite, assign) PaymentRequestSelectorState state; |
+ |
+// Redefined to be read-write. |
@property(nonatomic, readwrite, assign) NSUInteger selectedItemIndex; |
+// Creates and stores the selectable items to display in the collection. |
+- (void)loadItems; |
+ |
// 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. This object will not take ownership of |paymentRequest|. |