#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 { … }
ContextCollection ContextCollection::CreateForTesting(
std::set<ResourceContext> resource_contexts,
std::set<ResourceContextTypeId> all_context_types) { … }
}