| // 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. | |
| module attribution_reporting.mojom; | |
| // Controls how event-level triggers contribute to a summary. | |
| // Corresponds to | |
| // https://wicg.github.io/attribution-reporting-api/#summary-operator | |
| enum SummaryOperator { | |
| // The summary is incremented by 1. | |
| kCount = 0, | |
| // The summary is incremented by the trigger's value field. | |
| kValueSum = 1, | |
| }; |