chromium/content/browser/attribution_reporting/aggregatable_debug_rate_limit_table.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/attribution_reporting/aggregatable_debug_rate_limit_table.h"

#include <stdint.h>

#include <string>

#include "base/check.h"
#include "base/check_op.h"
#include "base/memory/raw_ref.h"
#include "base/numerics/checked_math.h"
#include "base/sequence_checker.h"
#include "base/time/time.h"
#include "components/attribution_reporting/aggregatable_utils.h"
#include "components/attribution_reporting/suitable_origin.h"
#include "content/browser/attribution_reporting/aggregatable_debug_report.h"
#include "content/browser/attribution_reporting/attribution_config.h"
#include "content/browser/attribution_reporting/attribution_resolver_delegate.h"
#include "content/browser/attribution_reporting/sql_queries.h"
#include "content/browser/attribution_reporting/sql_utils.h"
#include "content/public/browser/storage_partition.h"
#include "net/base/schemeful_site.h"
#include "sql/database.h"
#include "sql/statement.h"
#include "sql/statement_id.h"
#include "sql/transaction.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"

namespace content {

AggregatableDebugRateLimitTable::AggregatableDebugRateLimitTable(
    const AttributionResolverDelegate* delegate)
    :{}

AggregatableDebugRateLimitTable::~AggregatableDebugRateLimitTable() {}

bool AggregatableDebugRateLimitTable::CreateTable(sql::Database* db) {}

bool AggregatableDebugRateLimitTable::AddRateLimit(
    sql::Database* db,
    const AggregatableDebugReport& report) {}

AggregatableDebugRateLimitTable::Result
AggregatableDebugRateLimitTable::AllowedForRateLimit(
    sql::Database* db,
    const AggregatableDebugReport& report) {}

bool AggregatableDebugRateLimitTable::DeleteExpiredRateLimits(
    sql::Database* db) {}

bool AggregatableDebugRateLimitTable::ClearAllDataAllTime(sql::Database* db) {}

bool AggregatableDebugRateLimitTable::ClearDataForOriginsInRange(
    sql::Database* db,
    base::Time delete_begin,
    base::Time delete_end,
    StoragePartition::StorageKeyMatcherFunction filter) {}

bool AggregatableDebugRateLimitTable::ClearAllDataInRange(
    sql::Database* db,
    base::Time delete_begin,
    base::Time delete_end) {}

void AggregatableDebugRateLimitTable::SetDelegate(
    const AttributionResolverDelegate& delegate) {}

}  // namespace content