#include "chrome/browser/privacy_budget/privacy_budget_ukm_entry_filter.h"
#include <algorithm>
#include <memory>
#include "base/containers/flat_set.h"
#include "base/rand_util.h"
#include "base/time/time.h"
#include "chrome/browser/privacy_budget/encountered_surface_tracker.h"
#include "chrome/browser/privacy_budget/identifiability_study_state.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/metrics/public/mojom/ukm_interface.mojom.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_study_settings.h"
#include "third_party/blink/public/common/privacy_budget/identifiable_surface.h"
#include "third_party/blink/public/common/privacy_budget/identifiable_token.h"
PrivacyBudgetUkmEntryFilter::PrivacyBudgetUkmEntryFilter(
IdentifiabilityStudyState* state)
: … { … }
bool PrivacyBudgetUkmEntryFilter::FilterEntry(
ukm::mojom::UkmEntry* entry,
base::flat_set<uint64_t>* removed_metric_hashes) { … }
void PrivacyBudgetUkmEntryFilter::OnStoreRecordingsInReport() { … }