Use base histogram functions in //third_party/blink/renderer/modules/mediasource
Blink allows use of the //base histogram helpers, so switch away from the Blink-specific histogram helpers and standardize on //base. The long-term goal is to remove the Blink helpers, which differ from the //base ones in some interesting and surprising ways. Miscellaneous cleanup: - use the histogram functions where appropriate (i.e. for metrics that aren't recorded on performance-critical paths) - simplify enum histogram recording by changing the enum metric to be an enum class and defining kMaxValue where needed. Bug: 742517, 1047547 Change-Id: Ie82d26a8866d005e481a67614b2756a03115d58a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2046541 Auto-Submit: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by:Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/master@{#740519}
Showing
Please register or sign in to comment