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

Unified Diff: ios/chrome/browser/payments/cells/autofill_profile_item.h

Issue 2825483002: [Payment Request] Protocol for payments items with accessoryType property (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/cells/autofill_profile_item.h
diff --git a/ios/chrome/browser/payments/cells/autofill_profile_item.h b/ios/chrome/browser/payments/cells/autofill_profile_item.h
index bae30c832bf65ba6d3f345590861c87e76152a03..6ba0da85c47a0df311f850aa232039d3304bca8f 100644
--- a/ios/chrome/browser/payments/cells/autofill_profile_item.h
+++ b/ios/chrome/browser/payments/cells/autofill_profile_item.h
@@ -7,11 +7,12 @@
#import <UIKit/UIKit.h>
+#import "ios/chrome/browser/payments/cells/payments_has_accessory_type.h"
#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
// AutofillProfileItem is the model class corresponding to AutofillProfileCell.
-@interface AutofillProfileItem : CollectionViewItem
+@interface AutofillProfileItem : CollectionViewItem<PaymentsHasAccessoryType>
// Profile's name.
@property(nonatomic, copy) NSString* name;
@@ -28,9 +29,6 @@
// The notification message.
@property(nonatomic, copy) NSString* notification;
-// The accessory type for the represented cell.
-@property(nonatomic) MDCCollectionViewCellAccessoryType accessoryType;
-
@end
// AutofillProfileItem implements an MDCCollectionViewCell subclass containing

Powered by Google App Engine
This is Rietveld 408576698