1cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 2cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// found in the LICENSE file. 4cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 5cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#ifndef UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_H_ 6cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_H_ 7cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 8cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "ipc/ipc_message_macros.h" 9cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "ui/events/events_export.h" 10cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "ui/events/latency_info.h" 11cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 12cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#undef IPC_MESSAGE_EXPORT 13cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define IPC_MESSAGE_EXPORT EVENTS_EXPORT 14cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 15cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType, 16cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) ui::LATENCY_COMPONENT_TYPE_LAST) 17cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 18cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent) 19cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(sequence_number) 20cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(event_time) 21cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(event_count) 22cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)IPC_STRUCT_TRAITS_END() 23cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 24cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo) 25cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(latency_components) 26cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(trace_id) 27cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) IPC_STRUCT_TRAITS_MEMBER(terminated) 28cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)IPC_STRUCT_TRAITS_END() 29cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 30cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#endif // UI_EVENTS_IPC_LATENCY_INFO_PARAM_TRAITS_H_ 31