#include "components/enterprise/client_certificates/core/profile_cloud_management_delegate.h"
#include "base/check.h"
#include "components/enterprise/browser/identifiers/profile_id_service.h"
#include "components/policy/core/common/cloud/cloud_policy_core.h"
#include "components/policy/core/common/cloud/cloud_policy_manager.h"
#include "components/policy/core/common/cloud/cloud_policy_store.h"
#include "components/policy/core/common/cloud/profile_cloud_policy_manager.h"
#include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
#include "components/policy/proto/device_management_backend.pb.h"
namespace enterprise_attestation {
ProfileCloudManagementDelegate::ProfileCloudManagementDelegate(
std::unique_ptr<enterprise_core::DependencyFactory> dependency_factory,
enterprise::ProfileIdService* profile_id_service,
std::unique_ptr<DMServerClient> dmserver_client)
: … { … }
ProfileCloudManagementDelegate::~ProfileCloudManagementDelegate() = default;
std::optional<std::string> ProfileCloudManagementDelegate::GetDMToken() const { … }
void ProfileCloudManagementDelegate::UploadBrowserPublicKey(
const enterprise_management::DeviceManagementRequest& upload_request,
policy::DMServerJobConfiguration::Callback callback) { … }
const enterprise_management::PolicyData*
ProfileCloudManagementDelegate::GetPolicyData() const { … }
std::optional<std::string> ProfileCloudManagementDelegate::GetClientID() const { … }
}