blob: 3aa82d62894a4df4bbac3cb64315b99892c64173 [file] [log] [blame]
// 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 TriggerRegistrationError {
kInvalidJson = 0,
kRootWrongType = 1,
kFiltersWrongType = 2,
kFiltersListWrongType = 5,
kFiltersValueWrongType = 7,
kAggregatableValuesWrongType = 9,
kAggregatableValuesTooManyKeys = 10,
kAggregatableValuesKeyTooLong = 11,
kAggregatableValuesValueWrongType = 12,
kAggregatableValuesValueOutOfRange = 13,
kAggregatableTriggerDataListWrongType = 14,
kAggregatableTriggerDataWrongType = 16,
kAggregatableTriggerDataKeyPieceMissing = 17,
kAggregatableTriggerDataKeyPieceWrongType = 18,
kAggregatableTriggerDataKeyPieceWrongFormat = 19,
kAggregatableTriggerDataSourceKeysWrongType = 20,
kAggregatableTriggerDataSourceKeysTooManyKeys = 21,
kAggregatableTriggerDataSourceKeysKeyWrongType = 22,
kAggregatableTriggerDataSourceKeysKeyTooLong = 23,
kEventTriggerDataListWrongType = 24,
kEventTriggerDataValueInvalid = 25,
kEventTriggerDataWrongType = 26,
kEventPriorityValueInvalid = 27,
kEventDedupKeyValueInvalid = 28,
kAggregationCoordinatorWrongType = 29,
kAggregationCoordinatorUnknownValue = 30,
kAggregatableDedupKeyListWrongType = 31,
kAggregatableDedupKeyValueInvalid = 32,
kAggregatableDedupKeyWrongType = 33,
kAggregatableSourceRegistrationTimeWrongType = 34,
kAggregatableSourceRegistrationTimeUnknownValue = 35,
};