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

Unified Diff: components/offline_items_collection/core/test_support/mock_offline_content_provider.h

Issue 2811803006: Add support for pulling icons for OfflineItems (Closed)
Patch Set: More findbugs 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: components/offline_items_collection/core/test_support/mock_offline_content_provider.h
diff --git a/components/offline_items_collection/core/test_support/mock_offline_content_provider.h b/components/offline_items_collection/core/test_support/mock_offline_content_provider.h
index 5e4e0d599fe7593f54d885b8409376db38a707ff..c0c49a4cedb449cc1aa9d76757d58204fee43443 100644
--- a/components/offline_items_collection/core/test_support/mock_offline_content_provider.h
+++ b/components/offline_items_collection/core/test_support/mock_offline_content_provider.h
@@ -44,6 +44,8 @@ class MockOfflineContentProvider : public OfflineContentProvider {
MOCK_METHOD1(PauseDownload, void(const ContentId&));
MOCK_METHOD1(ResumeDownload, void(const ContentId&));
MOCK_METHOD1(GetItemById, const OfflineItem*(const ContentId&));
+ MOCK_METHOD2(GetVisualsForItem,
+ void(const ContentId&, const VisualsCallback&));
MOCK_METHOD0(GetAllItems, OfflineItemList());
void AddObserver(Observer* observer) override;
void RemoveObserver(Observer* observer) override;

Powered by Google App Engine
This is Rietveld 408576698