#include "components/sqlite_proto/table_manager.h"
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "sql/database.h"
namespace sqlite_proto {
DBTask;
base::SequencedTaskRunner* TableManager::GetTaskRunner() { … }
void TableManager::ScheduleDBTask(const base::Location& from_here,
DBTask task) { … }
void TableManager::ScheduleDBTaskWithReply(const base::Location& from_here,
DBTask task,
base::OnceClosure reply) { … }
void TableManager::ExecuteDBTaskOnDBSequence(DBTask task) { … }
TableManager::TableManager(
scoped_refptr<base::SequencedTaskRunner> db_task_runner)
: … { … }
TableManager::~TableManager() = default;
void TableManager::Initialize(sql::Database* db) { … }
void TableManager::SetCancelled() { … }
bool TableManager::IsCancelled() { … }
sql::Database* TableManager::DB() { … }
void TableManager::ResetDB() { … }
bool TableManager::CantAccessDatabase() { … }
}