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
   31
   32

content / browser / attribution_reporting / store_source_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 outcomes from attempting to register a source.
//
// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
//
// LINT.IfChange(StoreSourceResult)
enum StoreSourceResult {
  kSuccess = 0,
  kInternalError = 1,
  kInsufficientSourceCapacity = 2,
  kInsufficientUniqueDestinationCapacity = 3,
  kExcessiveReportingOrigins = 4,
  kProhibitedByBrowserPolicy = 5,
  kSuccessNoised = 6,
  kDestinationReportingLimitReached = 7,
  kDestinationGlobalLimitReached = 8,
  kDestinationBothLimitsReached = 9,
  kReportingOriginsPerSiteLimitReached = 10,
  kExceedsMaxChannelCapacity = 11,
  // Reserved: 12
  kExceedsMaxTriggerStateCardinality = 13,
  kDestinationPerDayReportingLimitReached = 14,
  kExceedsMaxScopesChannelCapacity = 15,
  kExceedsMaxEventStatesLimit = 16,
};
// LINT.ThenChange(//tools/metrics/histograms/metadata/attribution_reporting/enums.xml:ConversionStorageSourceStatus)