chromium/components/leveldb_proto/internal/migration_delegate.cc

// Copyright 2019 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/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) {}

}  // namespace leveldb_proto