Index: ios/chrome/browser/ui/collection_view/collection_view_model.h |
diff --git a/ios/chrome/browser/ui/collection_view/collection_view_model.h b/ios/chrome/browser/ui/collection_view/collection_view_model.h |
index 274cf048f76a12e6b2779e2bbdf50652fe44acad..a69e20c832c6495d084b5a6b138f55438d388a76 100644 |
--- a/ios/chrome/browser/ui/collection_view/collection_view_model.h |
+++ b/ios/chrome/browser/ui/collection_view/collection_view_model.h |
@@ -176,6 +176,12 @@ const NSInteger kItemTypeEnumZero = 100; |
- (NSIndexPath*)indexPathForItem:(ObjectType)item |
inSectionWithIdentifier:(NSInteger)sectionIdentifier; |
+// Returns whether |item| exists. |
+- (BOOL)hasItem:(ObjectType)item; |
+ |
+// Returns the index path corresponding to the given |item|. |
+- (NSIndexPath*)indexPathForItem:(ObjectType)item; |
+ |
#pragma mark UICollectionView data sourcing |
// Returns the number of collection view sections. |