chromium/components/performance_manager/resource_attribution/context_collection.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 "components/performance_manager/resource_attribution/context_collection.h"

#include <utility>

#include "base/containers/contains.h"

namespace resource_attribution {

ResourceContextTypeId;

ContextCollection::ContextCollection() = default;

ContextCollection::~ContextCollection() = default;

ContextCollection::ContextCollection(const ContextCollection& other) = default;

ContextCollection& ContextCollection::operator=(
    const ContextCollection& other) = default;

void ContextCollection::AddResourceContext(const ResourceContext& context) {}

void ContextCollection::AddAllContextsOfType(ResourceContextTypeId type_id) {}

bool ContextCollection::IsEmpty() const {}

bool ContextCollection::ContainsContext(const ResourceContext& context) const {}

// static
ContextCollection ContextCollection::CreateForTesting(
    std::set<ResourceContext> resource_contexts,
    std::set<ResourceContextTypeId> all_context_types) {}

}  // namespace resource_attribution