media: Report initial video height to UMA

Desktop / Chromium - xhwang [chromium.org] - 19 April 2017 03:29 EDT

Also fix the issue where the initial video natural size is not reported to MediaLog.

BUG=709354 TEST=Manually tested

Review-Url: https://codereview.chromium.org/2814043005 Cr-Commit-Position: refs/heads/master@{#465518}

6080265 media: Report initial video height to UMA
media/blink/webmediaplayer_impl.cc | 45 +++++++++++++++++++++++++++------
media/blink/webmediaplayer_impl.h | 5 ++++
tools/metrics/histograms/histograms.xml | 16 ++++++++++++
3 files changed, 58 insertions(+), 8 deletions(-)

Upstream: git.chromium.org


  • Share