| Index: ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h
|
| diff --git a/ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h b/ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h
|
| index f8b72208de9458b9e14b46ed5f224448bfa5821f..406aca3402c671e835df7daaadeeb018fb936505 100644
|
| --- a/ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h
|
| +++ b/ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h
|
| @@ -9,34 +9,10 @@
|
|
|
| #import "ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h"
|
|
|
| -@class CollectionViewItem;
|
| -
|
| -// The possible states the view controller can be in.
|
| -typedef NS_ENUM(NSInteger, CreditCardEditViewControllerState) {
|
| - // The view controller is used to create a new credit card.
|
| - CreditCardEditViewControllerStateCreate,
|
| - // The view controller is used to edit a credit card.
|
| - CreditCardEditViewControllerStateEdit,
|
| -};
|
| -
|
| // Data source protocol for CreditCardEditViewController.
|
| @protocol CreditCardEditViewControllerDataSource<
|
| PaymentRequestEditViewControllerDataSource>
|
|
|
| -// The current state of the view controller.
|
| -@property(nonatomic, assign) CreditCardEditViewControllerState state;
|
| -
|
| -// Returns an item that identifies the credit card being edited. May return nil.
|
| -- (CollectionViewItem*)serverCardSummaryItem;
|
| -
|
| -// Returns an item that displays a list of payment method type icons for the
|
| -// accepted payment methods. May return nil.
|
| -- (CollectionViewItem*)acceptedPaymentMethodsItem;
|
| -
|
| -// Returns the billing address label from an autofill profile with the given
|
| -// guid. Returns nil if the profile does not have an address.
|
| -- (NSString*)billingAddressLabelForProfileWithGUID:(NSString*)profileGUID;
|
| -
|
| // Returns the credit card type icon corresponding to |cardNumber|.
|
| - (UIImage*)cardTypeIconFromCardNumber:(NSString*)cardNumber;
|
|
|
|
|