1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30

content / browser / attribution_reporting / aggregatable_result.mojom [blame]

// 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;

// Represents the potential aggregatable outcomes from attempting to register
// a trigger.
//
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
//
// LINT.IfChange(AggregatableResult)
enum AggregatableResult {
  kSuccess = 0,
  kInternalError = 1,
  kNoCapacityForConversionDestination = 2,
  kNoMatchingImpressions = 3,
  kExcessiveAttributions = 4,
  kExcessiveReportingOrigins = 5,
  kNoHistograms = 6,
  kInsufficientBudget = 7,
  kNoMatchingSourceFilterData = 8,
  kNotRegistered = 9,
  kProhibitedByBrowserPolicy = 10,
  kDeduplicated = 11,
  kReportWindowPassed = 12,
  kExcessiveReports = 13,
};
// LINT.ThenChange(//tools/metrics/histograms/metadata/attribution_reporting/enums.xml:ConversionCreateAggregatableReportStatus)