| Index: ui/events/latency_info_param_traits_macros.h
|
| diff --git a/ui/events/latency_info_param_traits_macros.h b/ui/events/latency_info_param_traits_macros.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..84cbb03ac53ff7fef9c95ba02a0e9006e8f17d3b
|
| --- /dev/null
|
| +++ b/ui/events/latency_info_param_traits_macros.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// No include guard. This file is intended to be reused in
|
| +// "content/common/content_param_traits_macros.h" and
|
| +// "ppapi/proxy/ppapi_messages.h"
|
| +
|
| +IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType,
|
| + ui::LATENCY_COMPONENT_TYPE_LAST)
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
|
| + IPC_STRUCT_TRAITS_MEMBER(sequence_number)
|
| + IPC_STRUCT_TRAITS_MEMBER(event_time)
|
| + IPC_STRUCT_TRAITS_MEMBER(event_count)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo)
|
| + IPC_STRUCT_TRAITS_MEMBER(latency_components)
|
| + IPC_STRUCT_TRAITS_MEMBER(trace_id)
|
| + IPC_STRUCT_TRAITS_MEMBER(terminated)
|
| +IPC_STRUCT_TRAITS_END()
|
|
|