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

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

Issue 2827453004: [Payment Request] Refactors selector view controllers (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/payment_request_selector_view_controller_data_source.h
diff --git a/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h b/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h
index 028d9e892c8dc263ba43d7799812ab4bfcf648ee..18843bf91e69aaae6fab34a35948ca9ef05c9d3f 100644
--- a/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h
+++ b/ios/chrome/browser/payments/payment_request_selector_view_controller_data_source.h
@@ -38,7 +38,8 @@ typedef NS_ENUM(NSUInteger, PaymentRequestSelectorState) {
// The selectable items to display in the collection.
- (NSArray<CollectionViewItem<PaymentsHasAccessoryType>*>*)selectableItems;
-// The selectable item at |index| in the collection.
+// The selectable item at |index| in the collection. |index| should be smaller
+// than self.selectableItems.count.
- (CollectionViewItem<PaymentsHasAccessoryType>*)selectableItemAtIndex:
(NSUInteger)index;

Powered by Google App Engine
This is Rietveld 408576698