OLD | NEW |
| (Empty) |
1 // Copyright 2017 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 #ifndef SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ | |
5 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ | |
6 | |
7 #include <stdint.h> | |
8 | |
9 namespace resource_coordinator { | |
10 | |
11 // Any new type here needs to be mirrored between coordination_unit_types.h and | |
12 // coordination_unit.mojom, and have mappings between the two defined in | |
13 // coordination_unit_struct_traits.h/.cc | |
14 enum class CoordinationUnitType : uint8_t { | |
15 kInvalidType, | |
16 kWebContents, | |
17 kFrame, | |
18 kNavigation, | |
19 kProcess, | |
20 }; | |
21 | |
22 } // resource_coordinator | |
23 | |
24 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ | |
OLD | NEW |