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

Issue 2814843005: media: Add incognito EME playback UMA (Closed)

Created:
3 years, 8 months ago by xhwang
Modified:
3 years, 4 months ago
CC:
apacible+watch_chromium.org, asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, erickung+watch_chromium.org, feature-media-reviews_chromium.org, jam, miu+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Add incognito EME playback UMA BUG=707866 TEST=Manually tested with EME playback in normal and incognito window.

Patch Set 1 #

Total comments: 7

Patch Set 2 : comments #

Total comments: 2

Patch Set 3 : rebase only #

Patch Set 4 : fix test #

Total comments: 2

Patch Set 5 : enum #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -24 lines) Patch
M content/browser/media/media_internals.cc View 1 2 3 12 chunks +68 lines, -24 lines 1 comment Download
M media/blink/webmediaplayer_impl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
xhwang
ddorwin: PTAL from EME's perspective dalecurtis: PTAL from UMA/MediaInternals' perspective msramek: PTAL from privacy's perspective
3 years, 8 months ago (2017-04-12 20:29:29 UTC) #2
DaleCurtis
media/ lgtm assuming privacy stamp. https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc#newcode642 content/browser/media/media_internals.cc:642: if (player_info.has_cdm && player_info.has_reached_have_enough) ...
3 years, 8 months ago (2017-04-12 21:38:19 UTC) #4
msramek
Privacy LGTM, thanks for checking! Incognito-specific metrics are allowed as per the new policy, and ...
3 years, 8 months ago (2017-04-13 14:22:11 UTC) #5
ddorwin
LGTM % comments and Dale's comments. https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc#newcode95 content/browser/media/media_internals.cc:95: bool IsIncognito(int render_process_id) ...
3 years, 8 months ago (2017-04-13 16:52:59 UTC) #6
xhwang
isherman: Please UMA OWNERS review! https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/2814843005/diff/1/content/browser/media/media_internals.cc#newcode596 content/browser/media/media_internals.cc:596: void MediaInternals::MediaInternalsUMAHandler::ReportUMAForPipelineStatus( On 2017/04/13 ...
3 years, 8 months ago (2017-04-13 22:36:34 UTC) #9
DaleCurtis
https://codereview.chromium.org/2814843005/diff/20001/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/2814843005/diff/20001/content/browser/media/media_internals.cc#newcode99 content/browser/media/media_internals.cc:99: DCHECK(render_process_host); I think these might fail actually; the message ...
3 years, 8 months ago (2017-04-13 22:46:25 UTC) #13
xhwang
rebase only
3 years, 8 months ago (2017-04-13 23:13:01 UTC) #14
Ilya Sherman
Metrics LGTM % a nit: https://codereview.chromium.org/2814843005/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2814843005/diff/60001/tools/metrics/histograms/histograms.xml#newcode26933 tools/metrics/histograms/histograms.xml:26933: +<histogram name="Media.EME.IsIncognito" enum="Boolean"> nit: ...
3 years, 8 months ago (2017-04-14 01:10:17 UTC) #21
xhwang
https://codereview.chromium.org/2814843005/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2814843005/diff/60001/tools/metrics/histograms/histograms.xml#newcode26933 tools/metrics/histograms/histograms.xml:26933: +<histogram name="Media.EME.IsIncognito" enum="Boolean"> On 2017/04/14 01:10:17, Ilya Sherman wrote: ...
3 years, 8 months ago (2017-04-14 05:00:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2814843005/80001
3 years, 8 months ago (2017-04-14 05:01:24 UTC) #27
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 8 months ago (2017-04-14 07:07:55 UTC) #30
xhwang
On 2017/04/14 07:07:55, commit-bot: I haz the power wrote: > Prior attempt to commit was ...
3 years, 8 months ago (2017-04-14 16:31:21 UTC) #31
Wez
3 years, 4 months ago (2017-08-15 20:13:51 UTC) #34
Message was sent while issue was closed.
https://codereview.chromium.org/2814843005/diff/80001/content/browser/media/m...
File content/browser/media/media_internals.cc (right):

https://codereview.chromium.org/2814843005/diff/80001/content/browser/media/m...
content/browser/media/media_internals.cc:102: // This could happen in tests.
This also happens if you start a Hangout, for example, and then close the tab -
if you have logging enabled then you'll see a slew of these messages.

Does that indicate that we're receiving an event when in fact we shouldn't have,
after the RenderProcessHost is already gone?

Or is that case valid, in which case we should cope with it and avoid even
calling this if the RenderProcessHost is already gone?

Powered by Google App Engine
This is Rietveld 408576698