Index: ui/latency/mojo/latency_info_struct_traits.h |
diff --git a/ui/latency/mojo/latency_info_struct_traits.h b/ui/latency/mojo/latency_info_struct_traits.h |
index 0084adc5e8a344b8038c98853b0d244caf2a2a52..b6b5edc7f1e6dae4e53e74d30174b1614fef89a1 100644 |
--- a/ui/latency/mojo/latency_info_struct_traits.h |
+++ b/ui/latency/mojo/latency_info_struct_traits.h |
@@ -5,6 +5,7 @@ |
#ifndef UI_LATENCY_MOJO_LATENCY_INFO_STRUCT_TRAITS_H_ |
#define UI_LATENCY_MOJO_LATENCY_INFO_STRUCT_TRAITS_H_ |
+#include "mojo/common/common_custom_types_struct_traits.h" |
#include "ui/gfx/geometry/mojo/geometry_struct_traits.h" |
#include "ui/latency/latency_info.h" |
#include "ui/latency/mojo/latency_info.mojom-shared.h" |
@@ -100,6 +101,8 @@ struct StructTraits<ui::mojom::LatencyInfoDataView, ui::LatencyInfo> { |
static bool terminated(const ui::LatencyInfo& info); |
static ui::mojom::SourceEventType source_event_type( |
const ui::LatencyInfo& info); |
+ static base::TimeDelta expected_queueing_time_on_dispatch( |
+ const ui::LatencyInfo& info); |
static bool Read(ui::mojom::LatencyInfoDataView data, ui::LatencyInfo* out); |
}; |