| // Copyright 2022 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; |
| |
| // These values are persisted to logs. Entries should not be renumbered and |
| // numeric values should never be reused. |
| // |
| // LINT.IfChange(SourceRegistrationError) |
| enum SourceRegistrationError { |
| kInvalidJson = 0, |
| kRootWrongType = 1, |
| |
| kDestinationMissing = 2, |
| kDestinationWrongType = 3, |
| kDestinationUntrustworthy = 4, |
| kDestinationListUntrustworthy = 5, |
| |
| kFilterDataKeyTooLong = 6, |
| kFilterDataKeyReserved = 7, |
| kFilterDataDictInvalid = 8, |
| kFilterDataListInvalid = 9, |
| kFilterDataListValueInvalid = 10, |
| |
| kAggregationKeysKeyTooLong = 11, |
| kAggregationKeysDictInvalid = 12, |
| kAggregationKeysValueInvalid = 13, |
| |
| kSourceEventIdValueInvalid = 14, |
| kPriorityValueInvalid = 15, |
| kExpiryValueInvalid = 16, |
| kEventReportWindowValueInvalid = 17, |
| kAggregatableReportWindowValueInvalid = 18, |
| kMaxEventLevelReportsValueInvalid = 19, |
| |
| kEventReportWindowsWrongType = 20, |
| kEventReportWindowsEndTimesMissing = 21, |
| kEventReportWindowsEndTimeDurationLTEStart = 22, |
| kBothEventReportWindowFieldsFound = 23, |
| kEventReportWindowsEndTimesListInvalid = 24, |
| kEventReportWindowsStartTimeInvalid = 25, |
| kEventReportWindowsEndTimeValueInvalid = 26, |
| |
| kTriggerDataMatchingValueInvalid = 27, |
| |
| // Deprecated: kTriggerSpecsWrongType = 28, |
| // Deprecated: kTriggerSpecTriggerDataMissing = 29, |
| // Deprecated: kTriggerSpecTriggerDataListInvalid = 30, |
| kTriggerDataListInvalid = 31, |
| kDuplicateTriggerData = 32, |
| // Deprecated: kTriggerSpecDuplicateTriggerData = 33, |
| |
| kExcessiveTriggerData = 34, |
| // Deprecated: kTriggerSpecExcessiveTriggerData = 35, |
| kInvalidTriggerDataForMatchingMode = 36, |
| |
| // Deprecated: kTopLevelTriggerDataAndTriggerSpecs = 37, |
| |
| // Deprecated: kSummaryOperatorValueInvalid = 38, |
| |
| // Deprecated: kSummaryBucketsListInvalid = 39, |
| // Deprecated: kSummaryBucketsValueInvalid = 40, |
| |
| kEventLevelEpsilonValueInvalid = 41, |
| |
| kDestinationLimitPriorityInvalid = 42, |
| |
| kAttributionScopeLimitInvalid = 43, |
| kAttributionScopeLimitRequired = 44, |
| kMaxEventStatesInvalid = 45, |
| kAttributionScopesInvalid = 46, |
| kAttributionScopesListInvalid = 47, |
| kAttributionScopesListValueInvalid = 48, |
| |
| kAggregatableNamedBudgetsDictInvalid = 49, |
| kAggregatableNamedBudgetsKeyTooLong = 50, |
| kAggregatableNamedBudgetsValueInvalid = 51, |
| }; |
| // LINT.ThenChange(//tools/metrics/histograms/metadata/attribution_reporting/enums.xml:ConversionSourceRegistrationError) |