#include "components/offline_items_collection/core/test_support/mock_offline_content_provider.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
namespace offline_items_collection {
MockOfflineContentProvider::MockObserver::MockObserver() = default;
MockOfflineContentProvider::MockObserver::~MockObserver() = default;
MockOfflineContentProvider::MockOfflineContentProvider() { … }
MockOfflineContentProvider::~MockOfflineContentProvider() = default;
void MockOfflineContentProvider::SetItems(const OfflineItemList& items) { … }
void MockOfflineContentProvider::SetVisuals(
std::map<ContentId, OfflineItemVisuals> visuals) { … }
void MockOfflineContentProvider::NotifyOnItemsAdded(
const OfflineItemList& items) { … }
void MockOfflineContentProvider::NotifyOnItemRemoved(const ContentId& id) { … }
void MockOfflineContentProvider::NotifyOnItemUpdated(
const OfflineItem& item,
const std::optional<UpdateDelta>& update_delta) { … }
void MockOfflineContentProvider::GetVisualsForItem(const ContentId& id,
GetVisualsOptions options,
VisualsCallback callback) { … }
void MockOfflineContentProvider::GetAllItems(MultipleItemCallback callback) { … }
void MockOfflineContentProvider::GetItemById(const ContentId& id,
SingleItemCallback callback) { … }
}