chromium/components/enterprise/client_certificates/core/dm_server_client.cc

// Copyright 2024 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/enterprise/client_certificates/core/dm_server_client.h"

#include "base/containers/flat_map.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/metrics/histogram_functions.h"
#include "base/uuid.h"
#include "components/policy/core/common/cloud/dm_auth.h"
#include "services/network/public/cpp/resource_request.h"
#include "url/gurl.h"

namespace enterprise_attestation {

class DMServerClientImpl : public DMServerClient {};

// static
std::unique_ptr<DMServerClient> DMServerClient::Create(
    raw_ptr<policy::DeviceManagementService> device_management_service,
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory) {}

DMServerClientImpl::DMServerClientImpl(
    raw_ptr<policy::DeviceManagementService> device_management_service,
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory)
    :{}

DMServerClientImpl::~DMServerClientImpl() = default;

void DMServerClientImpl::OnUploadingPublicKeyCompleted(
    const std::string& job_key,
    policy::DMServerJobConfiguration::Callback callback,
    const policy::DMServerJobResult result) {}

void DMServerClientImpl::UploadBrowserPublicKey(
    const std::string& client_id,
    const std::string& dm_token,
    const std::optional<std::string>& profile_id,
    const enterprise_management::DeviceManagementRequest& upload_request,
    policy::DMServerJobConfiguration::Callback callback) {}

}  // namespace enterprise_attestation