#include "components/trusted_vault/trusted_vault_service.h"
#include <memory>
#include <utility>
#include "base/notreached.h"
#include "components/trusted_vault/trusted_vault_client.h"
namespace trusted_vault {
TrustedVaultService::TrustedVaultService(
std::unique_ptr<TrustedVaultClient> chrome_sync_security_domain_client)
: … { … }
#if BUILDFLAG(IS_CHROMEOS)
TrustedVaultService::TrustedVaultService(
std::unique_ptr<TrustedVaultClient> chrome_sync_security_domain_client,
std::unique_ptr<TrustedVaultClient> passkeys_security_domain_client)
: chrome_sync_security_domain_client_(
std::move(chrome_sync_security_domain_client)),
passkeys_security_domain_client_(
std::move(passkeys_security_domain_client)) {
CHECK(chrome_sync_security_domain_client_);
}
#endif
TrustedVaultService::~TrustedVaultService() = default;
trusted_vault::TrustedVaultClient* TrustedVaultService::GetTrustedVaultClient(
SecurityDomainId security_domain) { … }
}