Index: ui/events/latency_info.cc |
diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc |
index b75af66ed74c1541eb172489ad0ebbf80c514857..738d0a748fba5e24e9880661a88df610133a1375 100644 |
--- a/ui/events/latency_info.cc |
+++ b/ui/events/latency_info.cc |
@@ -21,10 +21,14 @@ const char* GetComponentName(ui::LatencyComponentType type) { |
CASE_TYPE(INPUT_EVENT_LATENCY_UI_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_RENDERING_SCHEDULED_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_ACKED_TOUCH_COMPONENT); |
+ CASE_TYPE(WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_MOUSE_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_GESTURE_COMPONENT); |
CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT); |
+ CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_COMMIT_FAILED_COMPONENT); |
+ CASE_TYPE(INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT); |
+ CASE_TYPE(LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT); |
default: |
DLOG(WARNING) << "Unhandled LatencyComponentType.\n"; |
break; |
@@ -39,6 +43,9 @@ bool IsTerminalComponent(ui::LatencyComponentType type) { |
case ui::INPUT_EVENT_LATENCY_TERMINATED_TOUCH_COMPONENT: |
case ui::INPUT_EVENT_LATENCY_TERMINATED_GESTURE_COMPONENT: |
case ui::INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT: |
+ case ui::INPUT_EVENT_LATENCY_TERMINATED_COMMIT_FAILED_COMPONENT: |
+ case ui::INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT: |
+ case ui::LATENCY_INFO_LIST_TERMINATED_OVERFLOW_COMPONENT: |
return true; |
default: |
return false; |