chromium/components/trusted_vault/frontend_trusted_vault_connection.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/trusted_vault/frontend_trusted_vault_connection.h"

#include <memory>

#include "base/memory/raw_ptr.h"
#include "components/trusted_vault/command_line_switches.h"
#include "components/trusted_vault/trusted_vault_access_token_fetcher.h"
#include "components/trusted_vault/trusted_vault_access_token_fetcher_frontend.h"
#include "components/trusted_vault/trusted_vault_connection_impl.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"

namespace trusted_vault {

namespace {

// Exposes a `TrustedVaultAccessTokenFetcherImpl` while keeping ownership of
// it and its `TrustedVaultAccessTokenFetcherFrontend`.
class AccessTokenFetcherWrapper : public TrustedVaultAccessTokenFetcher {};

}  // namespace

std::unique_ptr<TrustedVaultConnection> NewFrontendTrustedVaultConnection(
    SecurityDomainId security_domain,
    signin::IdentityManager* identity_manager,
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory) {}

}  // namespace trusted_vault