#ifndef COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_
#define COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_
#include <stdint.h>
#include <functional>
#include <limits>
#include <map>
#include "base/check_op.h"
#include "base/containers/contains.h"
#include "base/containers/flat_set.h"
#include "base/types/id_type.h"
#include "components/viz/common/viz_common_export.h"
namespace viz {
struct ResourceIdTypeMarker { … };
ResourceId;
ResourceIdSet;
inline constexpr ResourceId kInvalidResourceId(0);
inline constexpr uint32_t kNumReservedResourceIds = …;
inline constexpr ResourceId kVizReservedRangeStartId(
std::numeric_limits<uint32_t>::max() - kNumReservedResourceIds);
class VIZ_COMMON_EXPORT ResourceIdGenerator { … };
struct VIZ_COMMON_EXPORT ResourceIdHasher { … };
class VIZ_COMMON_EXPORT ReservedResourceIdTracker { … };
}
#endif