#include "components/offline_items_collection/core/offline_content_provider.h"
#include "base/observer_list.h"
namespace offline_items_collection {
OfflineContentProvider::OfflineContentProvider() = default;
OfflineContentProvider::~OfflineContentProvider() { … }
void OfflineContentProvider::AddObserver(Observer* observer) { … }
void OfflineContentProvider::RemoveObserver(Observer* observer) { … }
bool OfflineContentProvider::HasObserver(Observer* observer) { … }
void OfflineContentProvider::NotifyItemsAdded(const OfflineItemList& items) { … }
void OfflineContentProvider::NotifyItemRemoved(const ContentId& id) { … }
void OfflineContentProvider::NotifyItemUpdated(
const OfflineItem& item,
const std::optional<UpdateDelta>& update_delta) { … }
}