chromium/content/browser/attribution_reporting/test/configurable_storage_delegate.cc

// Copyright 2020 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/test/configurable_storage_delegate.h"

#include <stdint.h>

#include <limits>
#include <optional>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/containers/flat_set.h"
#include "base/notreached.h"
#include "base/ranges/algorithm.h"
#include "base/sequence_checker.h"
#include "base/time/time.h"
#include "base/types/expected.h"
#include "components/attribution_reporting/event_level_epsilon.h"
#include "components/attribution_reporting/event_report_windows.h"
#include "components/attribution_reporting/privacy_math.h"
#include "content/browser/attribution_reporting/attribution_config.h"
#include "content/browser/attribution_reporting/attribution_report.h"
#include "content/browser/attribution_reporting/attribution_resolver_delegate.h"
#include "content/browser/attribution_reporting/attribution_test_utils.h"

namespace content {

ConfigurableStorageDelegate::ConfigurableStorageDelegate()
    :{}

ConfigurableStorageDelegate::~ConfigurableStorageDelegate() = default;

void ConfigurableStorageDelegate::DetachFromSequence() {}

base::Time ConfigurableStorageDelegate::GetEventLevelReportTime(
    const attribution_reporting::EventReportWindows& event_report_windows,
    base::Time source_time,
    base::Time trigger_time) const {}

base::Time ConfigurableStorageDelegate::GetAggregatableReportTime(
    base::Time trigger_time) const {}

base::TimeDelta ConfigurableStorageDelegate::GetDeleteExpiredSourcesFrequency()
    const {}

base::TimeDelta
ConfigurableStorageDelegate::GetDeleteExpiredRateLimitsFrequency() const {}

base::Uuid ConfigurableStorageDelegate::NewReportID() const {}

std::optional<AttributionResolverDelegate::OfflineReportDelayConfig>
ConfigurableStorageDelegate::GetOfflineReportDelayConfig() const {}

void ConfigurableStorageDelegate::ShuffleReports(
    std::vector<AttributionReport>& reports) {}

std::optional<double> ConfigurableStorageDelegate::GetRandomizedResponseRate(
    const attribution_reporting::TriggerSpecs&,
    attribution_reporting::EventLevelEpsilon) const {}

AttributionResolverDelegate::GetRandomizedResponseResult
ConfigurableStorageDelegate::GetRandomizedResponse(
    attribution_reporting::mojom::SourceType,
    const attribution_reporting::TriggerSpecs&,
    attribution_reporting::EventLevelEpsilon,
    const std::optional<attribution_reporting::AttributionScopesData>&) {}

bool ConfigurableStorageDelegate::GenerateNullAggregatableReportForLookbackDay(
    int lookback_day,
    attribution_reporting::mojom::SourceRegistrationTimeConfig) const {}

void ConfigurableStorageDelegate::set_max_sources_per_origin(int max) {}

void ConfigurableStorageDelegate::set_max_reports_per_destination(
    AttributionReport::Type report_type,
    int max) {}

void ConfigurableStorageDelegate::
    set_max_destinations_per_source_site_reporting_site(int max) {}

void ConfigurableStorageDelegate::set_rate_limits(
    AttributionConfig::RateLimitConfig c) {}

void ConfigurableStorageDelegate::set_destination_rate_limit(
    AttributionConfig::DestinationRateLimit limit) {}

void ConfigurableStorageDelegate::set_aggregatable_debug_rate_limit(
    AttributionConfig::AggregatableDebugRateLimit limit) {}

void ConfigurableStorageDelegate::set_delete_expired_sources_frequency(
    base::TimeDelta frequency) {}

void ConfigurableStorageDelegate::set_delete_expired_rate_limits_frequency(
    base::TimeDelta frequency) {}

void ConfigurableStorageDelegate::set_report_delay(
    base::TimeDelta report_delay) {}

void ConfigurableStorageDelegate::set_offline_report_delay_config(
    std::optional<OfflineReportDelayConfig> config) {}

void ConfigurableStorageDelegate::set_reverse_reports_on_shuffle(bool reverse) {}

void ConfigurableStorageDelegate::set_randomized_response_rate(double rate) {}

void ConfigurableStorageDelegate::set_randomized_response(
    attribution_reporting::RandomizedResponse randomized_response) {}

void ConfigurableStorageDelegate::set_exceeds_channel_capacity_limit(
    bool exceeds) {}

void ConfigurableStorageDelegate::set_null_aggregatable_reports_lookback_days(
    base::flat_set<int> null_aggregatable_reports_lookback_days) {}

void ConfigurableStorageDelegate::use_realistic_report_times() {}

}  // namespace content