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

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: Initial 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..d3c3963034131986381c15e8c73b2443833829bd 100644
--- a/ios/chrome/browser/payments/credit_card_edit_view_controller.h
+++ b/ios/chrome/browser/payments/credit_card_edit_view_controller.h
@@ -25,6 +25,10 @@ typedef NS_ENUM(NSInteger, CreditCardEditViewControllerState) {
// local cards or when a card is being created.
- (CollectionViewItem*)serverCardSummaryItem;
+// Returns an item that displays a list of payment method type icons for the
+// accepted payment methods. Returns nil if a server card is being edited.
lpromero 2017/04/20 16:59:52 The notion of server card seems to me more like a
Moe 2017/04/21 14:14:14 Agreed. Done.
+- (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