Index: ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h |
diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h |
index 37f120f01a64ec359aea554a8cd7354ef2882965..f761b679486de3a714dbd1af78c28105c4ce52e4 100644 |
--- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h |
+++ b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h |
@@ -7,6 +7,7 @@ |
#import "ios/chrome/browser/web_state_list/web_state_list_observer_bridge.h" |
+@class SnapshotCache; |
@protocol TabCollectionConsumer; |
class WebStateList; |
@@ -21,6 +22,9 @@ class WebStateList; |
// list. |
@property(nonatomic, weak) id<TabCollectionConsumer> consumer; |
+// Takes a snapshot of the active webState and updates the consumer. |
+- (void)takeSnapshotWithCache:(SnapshotCache*)snapshotCache; |
+ |
// Stops observing all objects. |
- (void)disconnect; |