#ifndef CONTENT_BROWSER_ATTRIBUTION_REPORTING_SQL_QUERIES_H_
#define CONTENT_BROWSER_ATTRIBUTION_REPORTING_SQL_QUERIES_H_
#include "content/browser/attribution_reporting/attribution_reporting.mojom.h"
#include "content/browser/attribution_reporting/rate_limit_table.h"
namespace content::attribution_queries {
static_assert …;
inline constexpr const char kMinPrioritySql[] = …;
inline constexpr const char kGetMatchingSourcesSql[] = …;
inline constexpr const char kSelectExpiredSourcesSql[] = …;
inline constexpr const char kSelectInactiveSourcesSql[] = …;
inline constexpr const char kScanSourcesData[] = …;
inline constexpr const char kScanReportsData[] = …;
inline constexpr const char kDeleteVestigialConversionSql[] = …;
inline constexpr const char kCountActiveSourcesFromSourceOriginSql[] = …;
inline constexpr const char kCountSourcesSql[] = …;
inline constexpr const char kDedupKeySql[] = …;
inline constexpr const char kGetSourcesDataKeysSql[] = …;
static_assert …;
inline constexpr const char kGetNullReportsDataKeysSql[] = …;
inline constexpr const char kGetRateLimitDataKeysSql[] = …;
inline constexpr const char kCountReportsForDestinationSql[] = …;
inline constexpr char kNextReportTimeSql[] = …;
inline constexpr const char kSetReportTimeSql[] = …;
#define ATTRIBUTION_SOURCE_COLUMNS_SQL(prefix) …
inline constexpr const char kReadSourceToAttributeSql[] = …;
inline constexpr const char kGetActiveSourcesSql[] = …;
#define ATTRIBUTION_SELECT_REPORT_AND_SOURCE_COLUMNS_SQL …
inline constexpr const char kGetReportsSql[] = …;
inline constexpr const char kGetReportSql[] = …;
#undef ATTRIBUTION_SELECT_REPORT_AND_SOURCE_COLUMNS_SQL
inline constexpr const char kUpdateFailedReportSql[] = …;
static_assert …;
inline constexpr const char kDeletePendingEventLevelReportsForSourceSql[] = …;
static_assert …;
inline constexpr char kDeleteAggregatableReportsForDestinationLimitSql[] = …;
inline constexpr const char kRateLimitAttributionAllowedSql[] = …;
static_assert …;
#define RATE_LIMIT_SOURCE_CONDITION …
static_assert …;
static_assert …;
#define RATE_LIMIT_ATTRIBUTION_CONDITION …
inline constexpr const char kRateLimitSourceAllowedSql[] = …;
inline constexpr const char kRateLimitSourceAllowedDestinationRateLimitSql[] = …;
inline constexpr const char
kRateLimitSourceAllowedDestinationPerDayRateLimitSql[] = …;
#define RATE_LIMIT_SELECT_REPORTING_ORIGINS_QUERY …
inline constexpr const char kRateLimitSelectSourceReportingOriginsSql[] = …;
inline constexpr const char kRateLimitSelectAttributionReportingOriginsSql[] = …;
#undef RATE_LIMIT_SELECT_REPORTING_ORIGINS_QUERY
inline constexpr const char kRateLimitSelectSourceReportingOriginsBySiteSql[] = …;
static_assert …;
#define RATE_LIMIT_REPORT_ID_SET_CONDITION …
inline constexpr const char kDeleteAttributionRateLimitByReportIdSql[] = …;
inline constexpr const char kDeleteRateLimitRangeSql[] = …;
inline constexpr const char kSelectRateLimitsForDeletionSql[] = …;
inline constexpr const char kDeleteExpiredRateLimitsSql[] = …;
inline constexpr const char kDeleteRateLimitsBySourceIdSql[] = …;
inline constexpr const char kDeactivateForSourceDestinationLimitSql[] = …;
#undef RATE_LIMIT_SOURCE_CONDITION
inline constexpr const char kAggregatableDebugReportAllowedForRateLimitSql[] = …;
inline constexpr const char kDeleteExpiredAggregatableDebugRateLimitsSql[] = …;
inline constexpr const char kSelectAggregatableDebugRateLimitsForDeletionSql[] = …;
inline constexpr const char kDeleteAggregatableDebugRateLimitRangeSql[] = …;
}
#endif