Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Issue 2044373002: [Media, Autoplay] Add UMA to record autoplay source (Closed)

Created:
4 years, 6 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 6 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media, Autoplay] Add UMA to record autoplay source This CL adds UMA to record the autoplay source, which could be the autoplay attribute of HTMLMediaElement, or the `play()` method. BUG=617948 Committed: https://crrev.com/b69344ad79fc2e36f8eea0e8f0fad3905395cb48 Cr-Commit-Position: refs/heads/master@{#398855}

Patch Set 1 #

Patch Set 2 : make recordAutoplaySourceMetric() private #

Total comments: 12

Patch Set 3 : addressed Mounir's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 4 chunks +27 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Zhiqiang Zhang (Slow)
4 years, 6 months ago (2016-06-08 11:02:38 UTC) #2
mlamouri (slow - plz ping)
+isherman@ for histogarms. https://codereview.chromium.org/2044373002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2044373002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2062 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2062: recordAutoplaySourceMetric(AutoplaySourceMethod); What we call "autoplay" is ...
4 years, 6 months ago (2016-06-08 12:30:04 UTC) #4
Zhiqiang Zhang (Slow)
PTAL. Addressed Mounir's comments. https://codereview.chromium.org/2044373002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2044373002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2062 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2062: recordAutoplaySourceMetric(AutoplaySourceMethod); On 2016/06/08 12:30:03, Mounir ...
4 years, 6 months ago (2016-06-08 12:55:15 UTC) #7
Ilya Sherman
histograms lgtm
4 years, 6 months ago (2016-06-08 22:31:19 UTC) #8
mlamouri (slow - plz ping)
lgtm
4 years, 6 months ago (2016-06-09 11:07:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2044373002/80001
4 years, 6 months ago (2016-06-09 11:12:04 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-09 13:10:24 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 13:12:48 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b69344ad79fc2e36f8eea0e8f0fad3905395cb48
Cr-Commit-Position: refs/heads/master@{#398855}

Powered by Google App Engine
This is Rietveld 408576698