[aw] Fix edge case in Visibility metrics logging
When visibility metrics are written to histograms only the currently tracked visibility bucket is logged. This can lead to some data loss. This patch changes the behaviour of the record implemeantation to write any outstanding data for all buckets. Also fixed a couple of spelling errors in comments. R=tobiasjs@chromium.org Bug: 1139372 Change-Id: Idad1e18c9f581dab2579bce315b7b5f0750c736e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2480565Reviewed-by:Tobias Sargeant <tobiasjs@chromium.org> Commit-Queue: Idries Hamadi <idries@google.com> Auto-Submit: Idries Hamadi <idries@google.com> Cr-Commit-Position: refs/heads/master@{#819398}
Showing
Please register or sign in to comment