chromium/components/sync/service/backend_migrator.cc

// Copyright 2012 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/sync/service/backend_migrator.h"

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/sequenced_task_runner.h"

namespace syncer {

MigrationObserver::~MigrationObserver() = default;

BackendMigrator::BackendMigrator(
    const std::string& name,
    DataTypeManager* manager,
    const base::RepeatingClosure& reconfigure_callback,
    const base::RepeatingClosure& migration_done_callback)
    :{}

BackendMigrator::~BackendMigrator() = default;

// Helper macros to log with the syncer thread name; useful when there
// are multiple syncer threads involved.

#define SLOG

#define SDVLOG

void BackendMigrator::MigrateTypes(DataTypeSet types) {}

void BackendMigrator::AddMigrationObserver(MigrationObserver* observer) {}

void BackendMigrator::RemoveMigrationObserver(MigrationObserver* observer) {}

void BackendMigrator::ChangeState(State new_state) {}

bool BackendMigrator::TryStart() {}

void BackendMigrator::RestartMigration() {}

void BackendMigrator::OnConfigureDone(
    const DataTypeManager::ConfigureResult& result) {}

void BackendMigrator::OnConfigureDoneImpl(
    const DataTypeManager::ConfigureResult& result) {}

BackendMigrator::State BackendMigrator::state() const {}

DataTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const {}

#undef SDVLOG

#undef SLOG

}  // namespace syncer