#include "components/offline_pages/core/model/visuals_availability_task.h"
#include "base/functional/bind.h"
#include "components/offline_pages/core/offline_page_metadata_store.h"
#include "sql/database.h"
#include "sql/statement.h"
#include "sql/transaction.h"
namespace offline_pages {
namespace {
VisualsAvailability VisualsAvailableSync(int64_t offline_id,
sql::Database* db) { … }
}
VisualsAvailabilityTask::VisualsAvailabilityTask(
OfflinePageMetadataStore* store,
int64_t offline_id,
VisualsAvailableCallback exists_callback)
: … { … }
VisualsAvailabilityTask::~VisualsAvailabilityTask() = default;
void VisualsAvailabilityTask::Run() { … }
void VisualsAvailabilityTask::OnVisualsAvailable(
VisualsAvailability availability) { … }
}