chromium/chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/key_persistence_delegate_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 "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/key_persistence_delegate_factory.h"

#include "base/no_destructor.h"
#include "base/notreached.h"
#include "build/build_config.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/key_persistence_delegate.h"

#if BUILDFLAG(IS_WIN)
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/win_key_persistence_delegate.h"
#elif BUILDFLAG(IS_MAC)
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/mac_key_persistence_delegate.h"
#elif BUILDFLAG(IS_LINUX)
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/linux_key_persistence_delegate.h"
#endif

namespace enterprise_connectors {

namespace {

std::optional<KeyPersistenceDelegateFactory*>& GetTestInstanceStorage() {}

}  // namespace

// static
KeyPersistenceDelegateFactory* KeyPersistenceDelegateFactory::GetInstance() {}

std::unique_ptr<KeyPersistenceDelegate>
KeyPersistenceDelegateFactory::CreateKeyPersistenceDelegate() {}

// static
void KeyPersistenceDelegateFactory::SetInstanceForTesting(
    KeyPersistenceDelegateFactory* factory) {}

// static
void KeyPersistenceDelegateFactory::ClearInstanceForTesting() {}

}  // namespace enterprise_connectors