chromium/components/aggregation_service/aggregation_coordinator_utils.cc

// 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.

#include "components/aggregation_service/aggregation_coordinator_utils.h"

#include <string_view>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/containers/contains.h"
#include "base/no_destructor.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_split.h"
#include "components/aggregation_service/features.h"
#include "components/attribution_reporting/is_origin_suitable.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace aggregation_service {

namespace {

std::vector<url::Origin> DefaultOrigins() {}

std::vector<url::Origin> Parse(std::string_view unparsed) {}

class CoordinatorOrigins {};

CoordinatorOrigins& GetCoordinatorOrigins() {}

}  // namespace

url::Origin GetDefaultAggregationCoordinatorOrigin() {}

bool IsAggregationCoordinatorOriginAllowed(const url::Origin& origin) {}

ScopedAggregationCoordinatorAllowlistForTesting::
    ScopedAggregationCoordinatorAllowlistForTesting(
        std::vector<url::Origin> origins)
    :{}

ScopedAggregationCoordinatorAllowlistForTesting::
    ~ScopedAggregationCoordinatorAllowlistForTesting() {}

}  // namespace aggregation_service