#include "storage/browser/database/databases_table.h"
#include <stdint.h>
#include "base/check.h"
#include "sql/statement.h"
namespace storage {
DatabaseDetails::DatabaseDetails() = default;
DatabaseDetails::DatabaseDetails(const DatabaseDetails& other) = default;
DatabaseDetails::~DatabaseDetails() = default;
bool DatabasesTable::Init() { … }
int64_t DatabasesTable::GetDatabaseID(const std::string& origin_identifier,
const std::u16string& database_name) { … }
bool DatabasesTable::GetDatabaseDetails(const std::string& origin_identifier,
const std::u16string& database_name,
DatabaseDetails* details) { … }
bool DatabasesTable::InsertDatabaseDetails(const DatabaseDetails& details) { … }
bool DatabasesTable::UpdateDatabaseDetails(const DatabaseDetails& details) { … }
bool DatabasesTable::DeleteDatabaseDetails(
const std::string& origin_identifier,
const std::u16string& database_name) { … }
bool DatabasesTable::GetAllOriginIdentifiers(
std::vector<std::string>* origin_identifiers) { … }
bool DatabasesTable::GetAllDatabaseDetailsForOriginIdentifier(
const std::string& origin_identifier,
std::vector<DatabaseDetails>* details_vector) { … }
bool DatabasesTable::DeleteOriginIdentifier(
const std::string& origin_identifier) { … }
}