#ifndef CHROME_BROWSER_COMPONENT_UPDATER_PRIVACY_SANDBOX_ATTESTATIONS_COMPONENT_INSTALLER_TEST_UTIL_H_
#define CHROME_BROWSER_COMPONENT_UPDATER_PRIVACY_SANDBOX_ATTESTATIONS_COMPONENT_INSTALLER_TEST_UTIL_H_
#include <string_view>
#include "chrome/browser/component_updater/privacy_sandbox_attestations_component_installer.h"
namespace base {
class FilePath;
class Version;
}
namespace privacy_sandbox {
class PrivacySandboxAttestationsProto;
}
namespace component_updater {
bool WritePrivacySandboxAttestationsFileForTesting(
const base::FilePath& install_dir,
std::string_view contents);
bool InstallPrivacySandboxAttestationsComponentForTesting(
const privacy_sandbox::PrivacySandboxAttestationsProto& proto,
const base::Version& version);
bool InstallPrivacySandboxAttestationsComponentForTesting(
std::string_view contents,
const base::Version& version);
base::FilePath GetPrivacySandboxAtteststionsComponentInstallDir(
const base::Version& version);
}
#endif