chromium/components/attribution_reporting/test_utils.cc

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

#include "components/attribution_reporting/test_utils.h"

#include <optional>
#include <ostream>
#include <string>
#include <utility>
#include <vector>

#include "base/ranges/algorithm.h"
#include "base/time/time.h"
#include "base/values.h"
#include "components/attribution_reporting/aggregatable_debug_reporting_config.h"
#include "components/attribution_reporting/aggregatable_dedup_key.h"
#include "components/attribution_reporting/aggregatable_trigger_config.h"
#include "components/attribution_reporting/aggregatable_trigger_data.h"
#include "components/attribution_reporting/aggregatable_values.h"
#include "components/attribution_reporting/aggregation_keys.h"
#include "components/attribution_reporting/attribution_scopes_data.h"
#include "components/attribution_reporting/attribution_scopes_set.h"
#include "components/attribution_reporting/destination_set.h"
#include "components/attribution_reporting/event_report_windows.h"
#include "components/attribution_reporting/event_trigger_data.h"
#include "components/attribution_reporting/filters.h"
#include "components/attribution_reporting/max_event_level_reports.h"
#include "components/attribution_reporting/os_registration.h"
#include "components/attribution_reporting/privacy_math.h"
#include "components/attribution_reporting/source_registration.h"
#include "components/attribution_reporting/source_type.h"
#include "components/attribution_reporting/source_type.mojom-forward.h"
#include "components/attribution_reporting/suitable_origin.h"
#include "components/attribution_reporting/summary_buckets.h"
#include "components/attribution_reporting/trigger_config.h"
#include "components/attribution_reporting/trigger_registration.h"
#include "net/base/schemeful_site.h"
#include "url/origin.h"

namespace attribution_reporting {

FiltersDisjunction FiltersForSourceType(
    mojom::SourceType source_type,
    std::optional<base::TimeDelta> lookback_window) {}

TriggerSpecs SpecsFromWindowList(const std::vector<int>& windows_per_type,
                                 bool collapse_into_single_spec,
                                 MaxEventLevelReports max_event_level_reports) {}

std::ostream& operator<<(std::ostream& out,
                         const AggregationKeys& aggregation_keys) {}

std::ostream& operator<<(std::ostream& out, const FilterData& filter_data) {}

std::ostream& operator<<(std::ostream& out, const FilterPair& filters) {}

std::ostream& operator<<(std::ostream& out,
                         const DestinationSet& destination_set) {}

std::ostream& operator<<(std::ostream& out,
                         const EventReportWindows& event_report_windows) {}

std::ostream& operator<<(std::ostream& out,
                         const AttributionScopesSet& attribution_scopes_set) {}

std::ostream& operator<<(std::ostream& out,
                         const AttributionScopesData& attribution_scopes_data) {}

std::ostream& operator<<(std::ostream& out, const SourceRegistration& s) {}

std::ostream& operator<<(std::ostream& out, const AggregatableValues& values) {}

std::ostream& operator<<(std::ostream& out,
                         const AggregatableTriggerData& trigger_data) {}

std::ostream& operator<<(std::ostream& out,
                         const EventTriggerData& event_trigger) {}

std::ostream& operator<<(std::ostream& out, const TriggerRegistration& reg) {}

std::ostream& operator<<(std::ostream& out, const SuitableOrigin& origin) {}

std::ostream& operator<<(std::ostream& out,
                         const AggregatableDedupKey& aggregatable_dedup_key) {}

std::ostream& operator<<(std::ostream& out, const OsRegistrationItem& item) {}

std::ostream& operator<<(std::ostream& out, const SummaryBuckets& buckets) {}

std::ostream& operator<<(std::ostream& out, const TriggerSpec& spec) {}

std::ostream& operator<<(std::ostream& out, const TriggerSpecs& specs) {}

std::ostream& operator<<(std::ostream& out,
                         const TriggerSpecs::const_iterator& it) {}

std::ostream& operator<<(
    std::ostream& out,
    const AggregatableTriggerConfig& aggregatable_trigger_config) {}

std::ostream& operator<<(std::ostream& out, const ParseError&) {}

std::ostream& operator<<(std::ostream& out, const FakeEventLevelReport& r) {}

std::ostream& operator<<(std::ostream& out, const RandomizedResponseData& r) {}

std::ostream& operator<<(std::ostream& out,
                         const AggregatableDebugReportingConfig& v) {}

std::ostream& operator<<(std::ostream& out,
                         const SourceAggregatableDebugReportingConfig& v) {}

}  // namespace attribution_reporting