#include "chrome/browser/enterprise/connectors/device_trust/key_management/browser/key_rotation_launcher_impl.h"
#include <optional>
#include <string>
#include <utility>
#include "base/check.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/browser/commands/key_rotation_command_factory.h"
#include "chrome/browser/enterprise/connectors/device_trust/key_management/browser/key_utils.h"
#include "components/enterprise/browser/controller/browser_dm_token_storage.h"
#include "components/policy/core/common/cloud/device_management_service.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace enterprise_connectors {
KeyRotationLauncherImpl::KeyRotationLauncherImpl(
policy::BrowserDMTokenStorage* dm_token_storage,
policy::DeviceManagementService* device_management_service,
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory)
: … { … }
KeyRotationLauncherImpl::~KeyRotationLauncherImpl() = default;
void KeyRotationLauncherImpl::LaunchKeyRotation(
const std::string& nonce,
KeyRotationCommand::Callback callback) { … }
}