There is some existing instrumentation to get a callback when the "proceed" link is tapped, but it would be nice to run the callback with an enum kUserAction which includes closing the infobar with the x button.
The link clicked instrumentation is called via FramebustBlockMessageDelegate::OnLinkClicked, but it looks like we'd need to augment that with a close method if we want the callback to be shared.
Note, this will be used to log action metrics for the tab-under blocking experiment (linked).
Comment 1 by csharrison@chromium.org
, Nov 6 2017