| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "ui/events/mojo/latency_info_struct_traits.h" | 5 #include "ui/latency/mojo/latency_info_struct_traits.h" |
| 6 | 6 |
| 7 #include "ipc/ipc_message_utils.h" | 7 #include "ipc/ipc_message_utils.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 ui::mojom::LatencyComponentType UILatencyComponentTypeToMojo( | 13 ui::mojom::LatencyComponentType UILatencyComponentTypeToMojo( |
| 14 ui::LatencyComponentType type) { | 14 ui::LatencyComponentType type) { |
| 15 switch (type) { | 15 switch (type) { |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 out->input_coordinates_size_ = | 291 out->input_coordinates_size_ = |
| 292 static_cast<uint32_t>(input_coordinate_array.size); | 292 static_cast<uint32_t>(input_coordinate_array.size); |
| 293 | 293 |
| 294 out->trace_id_ = data.trace_id(); | 294 out->trace_id_ = data.trace_id(); |
| 295 out->coalesced_ = data.coalesced(); | 295 out->coalesced_ = data.coalesced(); |
| 296 out->terminated_ = data.terminated(); | 296 out->terminated_ = data.terminated(); |
| 297 return true; | 297 return true; |
| 298 } | 298 } |
| 299 | 299 |
| 300 } // namespace mojo | 300 } // namespace mojo |
| OLD | NEW |