chromium/components/offline_pages/core/model/add_page_task.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/offline_pages/core/model/add_page_task.h"

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "components/offline_pages/core/offline_page_item.h"
#include "components/offline_pages/core/offline_page_metadata_store.h"
#include "components/offline_pages/core/offline_page_types.h"
#include "components/offline_pages/core/offline_store_types.h"
#include "components/offline_pages/core/offline_store_utils.h"
#include "components/offline_pages/task/task.h"
#include "sql/database.h"
#include "sql/statement.h"

namespace offline_pages {

namespace {

// Converts an ItemActionStatus to AddPageResult.
AddPageResult ItemActionStatusToAddPageResult(ItemActionStatus status) {}

ItemActionStatus AddOfflinePageSync(const OfflinePageItem& item,
                                    sql::Database* db) {}

}  // namespace

AddPageTask::AddPageTask(OfflinePageMetadataStore* store,
                         const OfflinePageItem& offline_page,
                         AddPageTaskCallback callback)
    :{}

AddPageTask::~AddPageTask() {}

void AddPageTask::Run() {}

void AddPageTask::OnAddPageDone(ItemActionStatus status) {}

void AddPageTask::InformAddPageDone(AddPageResult result) {}

}  // namespace offline_pages