#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "test_util.h"
#include <array>
#include <optional>
#include <string>
#include "base/check.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/process/launch.h"
#include "base/strings/string_number_conversions.h"
#include "device/fido/cable/cable_discovery_data.h"
#include "device/fido/enclave/types.h"
#include "device/fido/fido_constants.h"
#include "net/base/port_util.h"
#include "url/gurl.h"
#if BUILDFLAG(IS_WIN)
#include <windows.h>
#endif
std::pair<base::Process, uint16_t> StartWebAuthnEnclave(base::FilePath cwd) { … }
device::enclave::ScopedEnclaveOverride TestWebAuthnEnclaveIdentity(
uint16_t port) { … }
std::unique_ptr<device::cablev2::Pairing> TestPhone(const char* name,
uint8_t public_key,
base::Time last_updated,
int channel_priority) { … }