Index: components/offline_items_collection/core/offline_content_aggregator_unittest.cc |
diff --git a/components/offline_items_collection/core/offline_content_aggregator_unittest.cc b/components/offline_items_collection/core/offline_content_aggregator_unittest.cc |
index 361934084453b308d79fab96a625c10af07bb0e1..45d77fd42e2bee695148351eed2f48199099bb26 100644 |
--- a/components/offline_items_collection/core/offline_content_aggregator_unittest.cc |
+++ b/components/offline_items_collection/core/offline_content_aggregator_unittest.cc |
@@ -299,6 +299,8 @@ TEST_F(OfflineContentAggregatorTest, ActionPropagatesToRightProvider) { |
EXPECT_CALL(provider2, ResumeDownload(id2)).Times(1); |
EXPECT_CALL(provider1, PauseDownload(id1)).Times(1); |
EXPECT_CALL(provider2, PauseDownload(id2)).Times(1); |
+ EXPECT_CALL(provider1, GetVisualsForItem(id1, _)).Times(1); |
+ EXPECT_CALL(provider2, GetVisualsForItem(id2, _)).Times(1); |
aggregator_.OpenItem(id1); |
aggregator_.OpenItem(id2); |
aggregator_.RemoveItem(id1); |
@@ -309,6 +311,8 @@ TEST_F(OfflineContentAggregatorTest, ActionPropagatesToRightProvider) { |
aggregator_.ResumeDownload(id2); |
aggregator_.PauseDownload(id1); |
aggregator_.PauseDownload(id2); |
+ aggregator_.GetVisualsForItem(id1, OfflineContentProvider::VisualsCallback()); |
+ aggregator_.GetVisualsForItem(id2, OfflineContentProvider::VisualsCallback()); |
} |
TEST_F(OfflineContentAggregatorTest, ActionPropagatesAfterInitialize) { |