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 namespace resource_coordinator { |
| 8 |
| 9 // Do not assign values to these enum elements as the IPC macros in |
| 10 // coordination_unit_struct_traits.h relies on NUM_TYPES-1 being the |
| 11 // last valid element. |
| 12 enum class CoordinationUnitType : uint8_t { |
| 13 INVALID_TYPE, |
| 14 WEBCONTENTS, |
| 15 FRAME, |
| 16 NAVIGATION, |
| 17 PROCESS, |
| 18 NUM_TYPES |
| 19 }; |
| 20 |
| 21 } // resource_coordinator |
| 22 |
| 23 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ |
OLD | NEW |