The way snapshot-requests [1] are plumbed through using LatencyInfo feels a bit clunky: various places like OutputSurface etc. care about this, but not LatencyTracker or RenderWidgetHostLatencyTracker, or anything that really cares about latency. I think it would be better to move the snapshot-requests out of LatencyInfo … perhaps into CompositorFrameMetadata?
[1] https://cs.chromium.org/chromium/src/ui/latency/latency_info.h?l=192
Comment 1 by sadrul@chromium.org
, Jun 11 2018