#include "components/sqlite_proto/proto_table_manager.h"
#include "base/strings/stringprintf.h"
#include "base/task/sequenced_task_runner.h"
#include "sql/database.h"
#include "sql/meta_table.h"
#include "sql/statement.h"
#include "sql/transaction.h"
namespace sqlite_proto {
namespace {
const char kCreateProtoTableStatementTemplate[] = …;
}
ProtoTableManager::ProtoTableManager(
scoped_refptr<base::SequencedTaskRunner> db_task_runner)
: … { … }
ProtoTableManager::~ProtoTableManager() = default;
void ProtoTableManager::InitializeOnDbSequence(
sql::Database* db,
base::span<const std::string> table_names,
int schema_version) { … }
void ProtoTableManager::CreateOrClearTablesIfNecessary() { … }
void ProtoTableManager::WillShutdown() { … }
}