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

Unified Diff: ui/events/mojo/latency_info_struct_traits.h

Issue 2768393002: Adding first_event_time and last_event_time to LatencyInfo mojom. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/mojo/latency_info.mojom ('k') | ui/events/mojo/latency_info_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/mojo/latency_info_struct_traits.h
diff --git a/ui/events/mojo/latency_info_struct_traits.h b/ui/events/mojo/latency_info_struct_traits.h
index a46905cb5f9c88225cd0b41c79d836c775939fde..62205308b05499bd6b9c134c4ffd373e5b904ba9 100644
--- a/ui/events/mojo/latency_info_struct_traits.h
+++ b/ui/events/mojo/latency_info_struct_traits.h
@@ -46,6 +46,10 @@ struct StructTraits<ui::mojom::LatencyComponentDataView,
const ui::LatencyInfo::LatencyComponent& component);
static uint32_t event_count(
const ui::LatencyInfo::LatencyComponent& component);
+ static base::TimeTicks first_event_time(
+ const ui::LatencyInfo::LatencyComponent& component);
+ static base::TimeTicks last_event_time(
+ const ui::LatencyInfo::LatencyComponent& component);
static bool Read(ui::mojom::LatencyComponentDataView data,
ui::LatencyInfo::LatencyComponent* out);
};
« no previous file with comments | « ui/events/mojo/latency_info.mojom ('k') | ui/events/mojo/latency_info_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698