Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: ui/latency/ipc/latency_info_param_traits_macros.h

Issue 2914023002: Remove LatencyInfo::sequence_number. (May break metrics).
Patch Set: Rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_ 5 #ifndef UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
6 #define UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_ 6 #define UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
7 7
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ui/latency/latency_info.h" 9 #include "ui/latency/latency_info.h"
10 10
11 IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType, 11 IPC_ENUM_TRAITS_MAX_VALUE(ui::LatencyComponentType,
12 ui::LATENCY_COMPONENT_TYPE_LAST) 12 ui::LATENCY_COMPONENT_TYPE_LAST)
13 13
14 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent) 14 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
15 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
16 IPC_STRUCT_TRAITS_MEMBER(event_time) 15 IPC_STRUCT_TRAITS_MEMBER(event_time)
17 IPC_STRUCT_TRAITS_MEMBER(event_count) 16 IPC_STRUCT_TRAITS_MEMBER(event_count)
18 IPC_STRUCT_TRAITS_MEMBER(first_event_time) 17 IPC_STRUCT_TRAITS_MEMBER(first_event_time)
19 IPC_STRUCT_TRAITS_MEMBER(last_event_time) 18 IPC_STRUCT_TRAITS_MEMBER(last_event_time)
20 IPC_STRUCT_TRAITS_END() 19 IPC_STRUCT_TRAITS_END()
21 20
22 IPC_ENUM_TRAITS_MAX_VALUE(ui::SourceEventType, 21 IPC_ENUM_TRAITS_MAX_VALUE(ui::SourceEventType,
23 ui::SourceEventType::SOURCE_EVENT_TYPE_LAST) 22 ui::SourceEventType::SOURCE_EVENT_TYPE_LAST)
24 23
25 #endif // UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_ 24 #endif // UI_LATENCY_IPC_LATENCY_INFO_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698