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

Issue 760853003: Adds histograms for casting feature of Video Player (Closed)

Created:
6 years ago by yoshiki
Modified:
6 years ago
Reviewers:
Ilya Sherman, fukino
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds histograms for casting feature of Video Player BUG=415386 TEST=browser_test passes Committed: https://crrev.com/6717449ee689fdfaa59d54118f9e8ace29031217 Cr-Commit-Position: refs/heads/master@{#307859}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Modify the description of the histogram #

Total comments: 13

Patch Set 3 : Addressed comment #

Patch Set 4 : Addressed the comments #

Total comments: 4

Patch Set 5 : Addressed the comments #

Patch Set 6 : Move back the place of the recordCastVideoLength (per offline discussion with fukino@) #

Total comments: 6

Patch Set 7 : Addressed the comments by isherman #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -9 lines) Patch
M tools/metrics/actions/actions.xml View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +52 lines, -0 lines 0 comments Download
M ui/file_manager/video_player/js/cast/cast_video_element.js View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/file_manager/video_player/js/cast/caster.js View 1 2 3 6 chunks +45 lines, -9 lines 0 comments Download
M ui/file_manager/video_player/js/video_player.js View 1 4 chunks +10 lines, -0 lines 0 comments Download
A ui/file_manager/video_player/js/video_player_metrics.js View 1 2 3 4 1 chunk +137 lines, -0 lines 0 comments Download
M ui/file_manager/video_player/js/video_player_scripts.js View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/file_manager/video_player/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (13 generated)
yoshiki
@fukino-san, PTAL at video player part? Thanks.
6 years ago (2014-12-01 02:42:06 UTC) #3
fukino
On 2014/12/01 02:42:06, yoshiki wrote: > @fukino-san, PTAL at video player part? Thanks. Some tests ...
6 years ago (2014-12-01 03:14:03 UTC) #4
yoshiki
On 2014/12/01 03:14:03, fukino wrote: > On 2014/12/01 02:42:06, yoshiki wrote: > > @fukino-san, PTAL ...
6 years ago (2014-12-01 04:02:56 UTC) #5
fukino
video_player lgtm.
6 years ago (2014-12-01 04:33:15 UTC) #6
yoshiki
@isherman: could you take a look and approve this change? Thanks.
6 years ago (2014-12-02 13:33:33 UTC) #8
Ilya Sherman
https://codereview.chromium.org/760853003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/760853003/diff/20001/tools/metrics/histograms/histograms.xml#newcode39232 tools/metrics/histograms/histograms.xml:39232: +<histogram name="VideoPlayer.CastedVideoLength"> nit: Please add a units attribute. https://codereview.chromium.org/760853003/diff/20001/tools/metrics/histograms/histograms.xml#newcode39262 ...
6 years ago (2014-12-02 23:45:10 UTC) #9
yoshiki
@isherman: PTAL again? Thanks. https://codereview.chromium.org/760853003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/760853003/diff/20001/tools/metrics/histograms/histograms.xml#newcode39232 tools/metrics/histograms/histograms.xml:39232: +<histogram name="VideoPlayer.CastedVideoLength"> On 2014/12/02 23:45:10, ...
6 years ago (2014-12-08 02:52:29 UTC) #13
Ilya Sherman
Thanks. I'm not very familiar with the JavaScript code, so please ask a team member ...
6 years ago (2014-12-09 01:57:49 UTC) #14
yoshiki
@fukino-san, I changed the code a lot. Could you take a look again? Thanks. https://codereview.chromium.org/760853003/diff/100001/tools/metrics/actions/actions.xml ...
6 years ago (2014-12-10 03:20:50 UTC) #19
fukino
https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/cast/cast_video_element.js File ui/file_manager/video_player/js/cast/cast_video_element.js (right): https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/cast/cast_video_element.js#newcode489 ui/file_manager/video_player/js/cast/cast_video_element.js:489: metrics.recordCastedVideoLength(media.media.duration); Is it possible to record casted video's length ...
6 years ago (2014-12-10 06:49:51 UTC) #20
yoshiki
@fukino-san, Thanks for reviewing. PTAL again? https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/cast/cast_video_element.js File ui/file_manager/video_player/js/cast/cast_video_element.js (right): https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/cast/cast_video_element.js#newcode489 ui/file_manager/video_player/js/cast/cast_video_element.js:489: metrics.recordCastedVideoLength(media.media.duration); On 2014/12/10 ...
6 years ago (2014-12-10 07:20:27 UTC) #21
fukino
https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/video_player_metrics.js File ui/file_manager/video_player/js/video_player_metrics.js (right): https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/video_player_metrics.js#newcode21 ui/file_manager/video_player/js/video_player_metrics.js:21: SKIPPED: 0, On 2014/12/10 07:20:26, yoshiki wrote: > On ...
6 years ago (2014-12-10 08:01:47 UTC) #22
yoshiki
@fukino-san, PTAL. Thanks. https://codereview.chromium.org/760853003/diff/200009/ui/file_manager/video_player/js/video_player_metrics.js#newcode21 ui/file_manager/video_player/js/video_player_metrics.js:21: SKIPPED: 0, On 2014/12/10 08:01:47, fukino wrote: > On 2014/12/10 ...
6 years ago (2014-12-10 09:33:19 UTC) #25
fukino
https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js File ui/file_manager/video_player/js/cast/cast_video_element.js (right): https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js#newcode230 ui/file_manager/video_player/js/cast/cast_video_element.js:230: metrics.recordCastedVideoLength(this.currentMediaDuration_); On 2014/12/10 09:33:19, yoshiki wrote: > On 2014/12/10 ...
6 years ago (2014-12-10 10:16:43 UTC) #26
yoshiki
On 2014/12/10 10:16:43, fukino wrote: > https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js > File ui/file_manager/video_player/js/cast/cast_video_element.js (right): > > https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js#newcode230 > ...
6 years ago (2014-12-10 11:58:20 UTC) #27
yoshiki
すみません見逃してました。 急かしてしまってごめんなさい。ブランチカットまでに入れたいので… On Wed, Dec 10, 2014 at 7:16 PM, <fukino@chromium.org> wrote: > > https://codereview.chromium.org/760853003/diff/220001/ui/ ...
6 years ago (2014-12-10 12:00:27 UTC) #28
yoshiki
On 2014/12/10 12:00:27, yoshiki wrote: > すみません見逃してました。 > > 急かしてしまってごめんなさい。ブランチカットまでに入れたいので… Please ignore the comment above. ...
6 years ago (2014-12-10 12:05:17 UTC) #29
fukino
Thank you for explanation. lgtm! https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js File ui/file_manager/video_player/js/cast/cast_video_element.js (right): https://codereview.chromium.org/760853003/diff/220001/ui/file_manager/video_player/js/cast/cast_video_element.js#newcode230 ui/file_manager/video_player/js/cast/cast_video_element.js:230: metrics.recordCastedVideoLength(this.currentMediaDuration_); On 2014/12/10 10:16:42, ...
6 years ago (2014-12-10 12:18:31 UTC) #30
yoshiki
@isherman: could you take a look again? @fukino-san: Thank you for quick review!
6 years ago (2014-12-10 12:26:15 UTC) #31
Ilya Sherman
LGTM % my remaining comments. Thanks. https://codereview.chromium.org/760853003/diff/280001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/760853003/diff/280001/tools/metrics/actions/actions.xml#newcode11381 tools/metrics/actions/actions.xml:11381: Chrome OS Video ...
6 years ago (2014-12-10 23:29:28 UTC) #32
yoshiki
Thanks all! https://codereview.chromium.org/760853003/diff/280001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/760853003/diff/280001/tools/metrics/actions/actions.xml#newcode11381 tools/metrics/actions/actions.xml:11381: Chrome OS Video Player: the error happens ...
6 years ago (2014-12-11 03:26:40 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760853003/300001
6 years ago (2014-12-11 03:28:23 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:300001)
6 years ago (2014-12-11 04:29:51 UTC) #36
commit-bot: I haz the power
6 years ago (2014-12-11 04:30:37 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6717449ee689fdfaa59d54118f9e8ace29031217
Cr-Commit-Position: refs/heads/master@{#307859}

Powered by Google App Engine
This is Rietveld 408576698