chromium/components/sync/test/fake_sync_engine_factory.cc

// Copyright 2021 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/test/fake_sync_engine_factory.h"

#include <utility>

#include "base/test/bind.h"
#include "components/sync/test/fake_sync_engine.h"

namespace syncer {

FakeSyncEngineFactory::FakeSyncEngineFactory() = default;

FakeSyncEngineFactory::~FakeSyncEngineFactory() = default;

void FakeSyncEngineFactory::AllowFakeEngineInitCompletion(bool allow) {}

std::unique_ptr<SyncEngine> FakeSyncEngineFactory::CreateSyncEngine(
    const std::string& name,
    const signin::GaiaIdHash& gaia_id_hash,
    syncer::SyncInvalidationsService* sync_invalidations_service) {}

bool FakeSyncEngineFactory::HasTransportDataIncludingFirstSync(
    const signin::GaiaIdHash& gaia_id_hash) {}

void FakeSyncEngineFactory::CleanupOnDisableSync() {}

void FakeSyncEngineFactory::ClearTransportDataForAccount(
    const signin::GaiaIdHash& gaia_id_hash) {}

}  // namespace syncer