#include "chrome/browser/privacy_sandbox/privacy_sandbox_notice_confirmation.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_countries.h"
#include "chrome/browser/privacy_sandbox/privacy_sandbox_countries_impl.h"
#include "components/privacy_sandbox/privacy_sandbox_features.h"
namespace privacy_sandbox {
namespace {
PrivacySandboxCountries& GetPrivacySandboxCountries() { … }
enum class ConfirmationType { … };
bool IsFeatureParamEnabled(ConfirmationType confirmation_type) { … }
void EmitHistogram(ConfirmationType confirmation_type, bool value) { … }
template <typename FilterFunction>
bool IsConfirmationRequired(ConfirmationType confirmation_type,
FilterFunction filter_function) { … }
}
bool IsConsentRequired() { … }
bool IsNoticeRequired() { … }
bool IsRestrictedNoticeRequired() { … }
}