Index: components/offline_items_collection/core/throttled_offline_content_provider_unittest.cc |
diff --git a/components/offline_items_collection/core/throttled_offline_content_provider_unittest.cc b/components/offline_items_collection/core/throttled_offline_content_provider_unittest.cc |
index 414247b35c54eb35f9ad82c45b3aa3f7cf85d52d..912e930cc2c3b63d49858d0bf3f912d9de073cd3 100644 |
--- a/components/offline_items_collection/core/throttled_offline_content_provider_unittest.cc |
+++ b/components/offline_items_collection/core/throttled_offline_content_provider_unittest.cc |
@@ -105,15 +105,16 @@ TEST_F(ThrottledOfflineContentProviderTest, TestBasicPassthrough) { |
EXPECT_CALL(wrapped_provider_, CancelDownload(id)); |
EXPECT_CALL(wrapped_provider_, PauseDownload(id)); |
EXPECT_CALL(wrapped_provider_, ResumeDownload(id)); |
+ EXPECT_CALL(wrapped_provider_, GetVisualsForItem(id, _)); |
EXPECT_CALL(wrapped_provider_, GetItemById(id)).WillRepeatedly(Return(&item)); |
EXPECT_CALL(wrapped_provider_, GetAllItems()).WillRepeatedly(Return(items)); |
- |
wrapped_provider_.NotifyOnItemsAvailable(); |
provider_.OpenItem(id); |
provider_.RemoveItem(id); |
provider_.CancelDownload(id); |
provider_.PauseDownload(id); |
provider_.ResumeDownload(id); |
+ provider_.GetVisualsForItem(id, OfflineContentProvider::VisualsCallback()); |
EXPECT_EQ(&item, provider_.GetItemById(id)); |
EXPECT_EQ(items, provider_.GetAllItems()); |
} |