#include <string>
#include <utility>
#include "components/consent_auditor/consent_auditor.h"
#include "components/consent_auditor/fake_consent_auditor.h"
#include "components/sync/protocol/user_consent_specifics.pb.h"
#include "components/sync/protocol/user_consent_types.pb.h"
namespace {
consent_auditor::ConsentStatus ConvertConsentStatus(
sync_pb::UserConsentTypes::ConsentStatus consent_status) { … }
}
namespace consent_auditor {
FakeConsentAuditor::FakeConsentAuditor() = default;
FakeConsentAuditor::~FakeConsentAuditor() = default;
void FakeConsentAuditor::RecordSyncConsent(
const CoreAccountId& account_id,
const sync_pb::UserConsentTypes::SyncConsent& consent) { … }
void FakeConsentAuditor::RecordAssistantActivityControlConsent(
const CoreAccountId& account_id,
const sync_pb::UserConsentTypes::AssistantActivityControlConsent& consent) { … }
void FakeConsentAuditor::RecordAccountPasswordsConsent(
const CoreAccountId& account_id,
const sync_pb::UserConsentTypes::AccountPasswordsConsent& consent) { … }
void FakeConsentAuditor::RecordGaiaConsent(
const CoreAccountId& account_id,
consent_auditor::Feature feature,
const std::vector<int>& description_grd_ids,
int confirmation_grd_id,
consent_auditor::ConsentStatus status) { … }
base::WeakPtr<syncer::DataTypeControllerDelegate>
FakeConsentAuditor::GetControllerDelegate() { … }
}