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

Issue 2064083002: media: Add Rappor reporting in MediaLog (Closed)

Created:
4 years, 6 months ago by xhwang
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Add Rappor reporting in MediaLog Today in media/ we can report rappor using MediaClient. However, this requires the caller to know about the URL to report. This works at high levels (e.g. WebMediaPlayer*), but doesn't work well at lower levels, e.g. demuxers, decoders, where URL knowledge is not passed down. On the other hand, MediaLog has been passed around in media code in a lot of places. This CL addes rappor reporting to MediaLog so that we can easily repport rappor in a lot of places. In the future we may want to rename MediaLog to MediaMetrics. BUG=499949 TEST=Tested the new metric added. Committed: https://crrev.com/2178f439e04043d88cef11310e7fd45d26095fa6 Cr-Commit-Position: refs/heads/master@{#400302}

Patch Set 1 #

Patch Set 2 : more fixes #

Patch Set 3 : more fixes #

Total comments: 7

Patch Set 4 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -17 lines) Patch
M content/renderer/media/render_media_log.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M content/renderer/media/render_media_log.cc View 1 2 3 chunks +16 lines, -2 lines 0 comments Download
M content/renderer/media/render_media_log_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M media/base/media_log.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/media_log.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 3 chunks +9 lines, -6 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 5 chunks +14 lines, -4 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
xhwang
PTAL After this, we can add a lot of Rappor metrics within our pipeline, e.g. ...
4 years, 6 months ago (2016-06-15 00:19:07 UTC) #2
DaleCurtis
lgtm https://chromiumcodereview.appspot.com/2064083002/diff/40001/media/base/media_log.h File media/base/media_log.h (right): https://chromiumcodereview.appspot.com/2064083002/diff/40001/media/base/media_log.h#newcode53 media/base/media_log.h:53: virtual void RecordRapporWithSecurityOrigin(const std::string& metric); On 2016/06/15 at ...
4 years, 6 months ago (2016-06-15 00:33:47 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064083002/40001
4 years, 6 months ago (2016-06-15 00:33:49 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/176130) linux_chromium_asan_rel_ng on ...
4 years, 6 months ago (2016-06-15 00:49:38 UTC) #7
xhwang
https://chromiumcodereview.appspot.com/2064083002/diff/40001/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (right): https://chromiumcodereview.appspot.com/2064083002/diff/40001/media/filters/gpu_video_decoder.cc#newcode82 media/filters/gpu_video_decoder.cc:82: media_log_(media_log), On 2016/06/15 00:33:47, DaleCurtis wrote: > Need to ...
4 years, 6 months ago (2016-06-15 04:48:49 UTC) #8
xhwang
holte@chromium.org: Please OWNERS review rappor.xml change!
4 years, 6 months ago (2016-06-15 04:50:31 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064083002/60001
4 years, 6 months ago (2016-06-15 04:51:03 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 05:57:10 UTC) #14
Steven Holte
lgtm
4 years, 6 months ago (2016-06-16 00:16:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064083002/60001
4 years, 6 months ago (2016-06-16 04:14:12 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/201601)
4 years, 6 months ago (2016-06-16 04:20:32 UTC) #20
xhwang
nasko: Please OWNERS review two-line changes in content/renderer/render_frame_impl.cc. Thanks!
4 years, 6 months ago (2016-06-16 04:25:37 UTC) #22
xhwang
It seems nasko is busy. jam: Could you please OWNERS review two-line changes in content/renderer/render_frame_impl.cc. ...
4 years, 6 months ago (2016-06-16 16:27:57 UTC) #24
jam
lgtm
4 years, 6 months ago (2016-06-16 18:20:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064083002/60001
4 years, 6 months ago (2016-06-16 21:35:15 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-16 23:45:15 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 23:47:08 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2178f439e04043d88cef11310e7fd45d26095fa6
Cr-Commit-Position: refs/heads/master@{#400302}

Powered by Google App Engine
This is Rietveld 408576698