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 |
| 5 #ifndef SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_STRUCT_TRAITS
_H_ |
| 6 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_STRUCT_TRAITS
_H_ |
| 7 |
| 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "ipc/param_traits_macros.h" |
| 10 #include "services/resource_coordinator/public/cpp/coordination_unit_events.h" |
| 11 #include "services/resource_coordinator/public/interfaces/coordination_unit.mojo
m.h" |
| 12 |
| 13 IPC_ENUM_TRAITS_MIN_MAX_VALUE(resource_coordinator::EventType, |
| 14 resource_coordinator::INVALID_EVENT, |
| 15 resource_coordinator::NUM_EVENTS - 1) |
| 16 |
| 17 IPC_ENUM_TRAITS_MIN_MAX_VALUE(resource_coordinator::CoordinationUnitType, |
| 18 resource_coordinator::INVALID_TYPE, |
| 19 resource_coordinator::NUM_TYPES - 1) |
| 20 |
| 21 IPC_STRUCT_TRAITS_BEGIN(resource_coordinator::CoordinationUnitID) |
| 22 IPC_STRUCT_TRAITS_MEMBER(type) |
| 23 IPC_STRUCT_TRAITS_MEMBER(id) |
| 24 IPC_STRUCT_TRAITS_END() |
| 25 |
| 26 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_STRUCT_TRA
ITS_H_ |
OLD | NEW |