#include "components/leveldb_proto/internal/migration_delegate.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
namespace leveldb_proto {
MigrationDelegate::MigrationDelegate() { … }
MigrationDelegate::~MigrationDelegate() = default;
void MigrationDelegate::DoMigration(UniqueProtoDatabase* from,
UniqueProtoDatabase* to,
MigrationCallback callback) { … }
void MigrationDelegate::OnLoadKeysAndEntries(
MigrationCallback callback,
UniqueProtoDatabase* to,
bool success,
std::unique_ptr<KeyValueMap> keys_entries) { … }
void MigrationDelegate::OnUpdateEntries(MigrationCallback callback,
bool success) { … }
}