#include "chrome/browser/enterprise/connectors/device_trust/key_management/installer/key_rotation_manager.h"
#include <memory>
#include <utility>
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_features.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/network/key_network_delegate.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/key_persistence_delegate.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence/key_persistence_delegate_factory.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/installer/key_rotation_manager_impl.h"
#include "components/enterprise/client_certificates/core/cloud_management_delegate.h"
#include "key_rotation_manager.h"
namespace enterprise_connectors {
namespace {
std::unique_ptr<KeyRotationManager>& GetKeyRotationManagerFromStorage() { … }
}
std::unique_ptr<KeyRotationManager> KeyRotationManager::Create(
std::unique_ptr<KeyNetworkDelegate> network_delegate) { … }
std::unique_ptr<KeyRotationManager> KeyRotationManager::Create(
std::unique_ptr<enterprise_attestation::CloudManagementDelegate>
cloud_delegate) { … }
std::unique_ptr<KeyRotationManager> KeyRotationManager::CreateForTesting(
std::unique_ptr<KeyNetworkDelegate> network_delegate,
std::unique_ptr<KeyPersistenceDelegate> persistence_delegate) { … }
std::unique_ptr<KeyRotationManager> KeyRotationManager::CreateForTesting(
std::unique_ptr<enterprise_attestation::CloudManagementDelegate>
cloud_delegate,
std::unique_ptr<KeyPersistenceDelegate> persistence_delegate) { … }
void KeyRotationManager::SetForTesting(
std::unique_ptr<KeyRotationManager> key_rotation_manager) { … }
}