| // 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. |
| enum SourceRegistrationError { |
| kInvalidJson = 0, |
| kRootWrongType = 1, |
| |
| kDestinationMissing = 2, |
| kDestinationWrongType = 3, |
| kDestinationUntrustworthy = 4, |
| kDestinationListTooLong = 18, |
| |
| kFilterDataWrongType = 5, |
| kFilterDataTooManyKeys = 6, |
| kFilterDataHasSourceTypeKey = 7, |
| kFilterDataHasLookbackWindowKey = 24, |
| kFilterDataKeyTooLong = 8, |
| kFilterDataKeyReserved = 49, |
| kFilterDataListWrongType = 9, |
| kFilterDataListTooLong = 10, |
| kFilterDataValueWrongType = 11, |
| kFilterDataValueTooLong = 12, |
| |
| kAggregationKeysWrongType = 13, |
| kAggregationKeysTooManyKeys = 14, |
| kAggregationKeysKeyTooLong = 15, |
| kAggregationKeysValueWrongType = 16, |
| kAggregationKeysValueWrongFormat = 17, |
| |
| kSourceEventIdValueInvalid = 19, |
| kPriorityValueInvalid = 20, |
| kExpiryValueInvalid = 21, |
| kEventReportWindowValueInvalid = 22, |
| kAggregatableReportWindowValueInvalid = 23, |
| kMaxEventLevelReportsValueInvalid = 25, |
| |
| kEventReportWindowsWrongType = 26, |
| kEventReportWindowsStartTimeWrongType= 27, |
| kEventReportWindowsStartTimeInvalid = 28, |
| kEventReportWindowsEndTimesMissing = 29, |
| kEventReportWindowsEndTimesWrongType = 30, |
| kEventReportWindowsEndTimesListEmpty = 31, |
| kEventReportWindowsEndTimesListTooLong = 32, |
| kEventReportWindowsEndTimeValueWrongType = 33, |
| kEventReportWindowsEndTimeValueInvalid = 34, |
| kEventReportWindowsEndTimeDurationLTEStart = 35, |
| kBothEventReportWindowFieldsFound = 36, |
| |
| kTriggerDataMatchingWrongType = 37, |
| kTriggerDataMatchingUnknownValue = 38, |
| |
| kTriggerSpecsWrongType = 39, |
| kTriggerSpecWrongType = 40, |
| kTriggerSpecTriggerDataMissing = 41, |
| kTriggerSpecTriggerDataWrongType = 42, |
| kTriggerSpecTriggerDataEmpty = 43, |
| kTriggerSpecTriggerDataValueWrongType = 44, |
| kTriggerSpecTriggerDataValueOutOfRange = 45, |
| |
| kExcessiveTriggerData = 46, |
| kDuplicateTriggerData = 47, |
| kInvalidTriggerDataForMatchingMode = 48, |
| |
| kSummaryWindowOperatorWrongType = 50, |
| kSummaryWindowOperatorUnknownValue = 51, |
| |
| kSummaryBucketsWrongType = 52, |
| kSummaryBucketsEmpty = 53, |
| kSummaryBucketsTooLong = 54, |
| kSummaryBucketsValueWrongType = 55, |
| kSummaryBucketsValueOutOfRange = 56, |
| kSummaryBucketsNonIncreasing = 57, |
| |
| kEventLevelEpsilonWrongType = 58, |
| kEventLevelEpsilonValueInvalid = 59, |
| |
| kTopLevelTriggerDataAndTriggerSpecs = 60, |
| }; |