| Index: ui/events/latency_info.h
|
| diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
|
| index 43a7d7b7abadca2aa6ed182988aaef6cf3b7c00c..914610f972bbf571b14cfd4db8bbb26ac2ac0504 100644
|
| --- a/ui/events/latency_info.h
|
| +++ b/ui/events/latency_info.h
|
| @@ -19,10 +19,17 @@
|
|
|
| #if !defined(OS_IOS)
|
| #include "ipc/ipc_param_traits.h" // nogncheck
|
| +#include "mojo/public/cpp/bindings/struct_traits.h" // nogncheck
|
| #endif
|
|
|
| namespace ui {
|
|
|
| +#if !defined(OS_IOS)
|
| +namespace mojom {
|
| +class LatencyInfo;
|
| +}
|
| +#endif
|
| +
|
| // When adding new components, or new metrics based on LatencyInfo,
|
| // please update latency_info.dot.
|
| enum LatencyComponentType {
|
| @@ -240,6 +247,7 @@ class EVENTS_BASE_EXPORT LatencyInfo {
|
|
|
| #if !defined(OS_IOS)
|
| friend struct IPC::ParamTraits<ui::LatencyInfo>;
|
| + friend struct mojo::StructTraits<ui::mojom::LatencyInfo, ui::LatencyInfo>;
|
| #endif
|
| };
|
|
|
|
|