// 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. #ifndef COMPONENTS_PERFORMANCE_MANAGER_RESOURCE_ATTRIBUTION_CONTEXT_COLLECTION_H_ #define COMPONENTS_PERFORMANCE_MANAGER_RESOURCE_ATTRIBUTION_CONTEXT_COLLECTION_H_ #include <bitset> #include <set> #include "components/performance_manager/public/resource_attribution/resource_contexts.h" #include "third_party/abseil-cpp/absl/types/variant.h" namespace resource_attribution { // A mixed collection of individual ResourceContext's and // ResourceContextTypeId's. // // ResourceContextTypeId's are integers that map to specific context types (ie. // alternatives in the ResourceContext variant). In this collection they // represent "all contexts of the given type", which is a set that changes over // time as contexts are created and deleted. class ContextCollection { … }; } // namespace resource_attribution #endif // COMPONENTS_PERFORMANCE_MANAGER_RESOURCE_ATTRIBUTION_CONTEXT_COLLECTION_H_