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

Unified Diff: ios/chrome/browser/payments/credit_card_edit_view_controller.h

Issue 2825143002: [Payment Request] Accepted credit card type icons in the credit card editor (Closed)
Patch Set: Addressed comments Created 3 years, 8 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/payments/credit_card_edit_view_controller.h
diff --git a/ios/chrome/browser/payments/credit_card_edit_view_controller.h b/ios/chrome/browser/payments/credit_card_edit_view_controller.h
index 0e0dd13350a6dbb3b95ff4487bdc5d21a3224273..5fc5f39e5de3eeab085b3ebe3f13e56b7cb8a453 100644
--- a/ios/chrome/browser/payments/credit_card_edit_view_controller.h
+++ b/ios/chrome/browser/payments/credit_card_edit_view_controller.h
@@ -21,10 +21,13 @@ typedef NS_ENUM(NSInteger, CreditCardEditViewControllerState) {
@protocol CreditCardEditViewControllerDataSource<
PaymentRequestEditViewControllerDataSource>
-// Returns an item that identifies the server card being edited. Returns nil for
-// local cards or when a card is being created.
+// 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;

Powered by Google App Engine
This is Rietveld 408576698