cros: use callback to record TapDragging started uma
changes: Instead of using ScopedUmaRecorder, which is essentially implementing in a "callback" way. This CL replaces it with base::OnceCallback, which makes code more concise. Bug: 817643 Test: covered by tests Change-Id: Id99e9c08e8fe49886ca7c30a5901fb4128b04a42 Reviewed-on: https://chromium-review.googlesource.com/957816 Commit-Queue: Qiang Xu <warx@google.com> Reviewed-by:James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#542546}
Showing
Please register or sign in to comment