1 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_ 6 #define COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_ 7 8 #include <stdint.h> 9 10 #include "base/containers/flat_set.h" 11 12 namespace viz { 13 14 using ResourceId = uint32_t; 15 using ResourceIdSet = base::flat_set<ResourceId>; 16 constexpr ResourceId kInvalidResourceId = 0; 17 18 } // namespace viz 19 20 #endif // COMPONENTS_VIZ_COMMON_RESOURCES_RESOURCE_ID_H_ 21