chromium/components/attribution_reporting/event_level_epsilon.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_ATTRIBUTION_REPORTING_EVENT_LEVEL_EPSILON_H_
#define COMPONENTS_ATTRIBUTION_REPORTING_EVENT_LEVEL_EPSILON_H_

#include "base/component_export.h"
#include "base/types/expected.h"
#include "base/values.h"
#include "components/attribution_reporting/source_registration_error.mojom-forward.h"

namespace attribution_reporting {

// Controls the epsilon parameter used for obtaining a randomized response for
// the containing source registration.
//
// https://wicg.github.io/attribution-reporting-api/#obtain-a-randomized-source-response
class COMPONENT_EXPORT(ATTRIBUTION_REPORTING) EventLevelEpsilon {};

class COMPONENT_EXPORT(ATTRIBUTION_REPORTING)
    ScopedMaxEventLevelEpsilonForTesting {};

}  // namespace attribution_reporting

#endif  // COMPONENTS_ATTRIBUTION_REPORTING_EVENT_LEVEL_EPSILON_H_