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

Issue 561643002: Encrypted Media: Add UMA for system code. (Closed)

Created:
6 years, 3 months ago by xhwang
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Encrypted Media: Add UMA for system code. Choose to put the UMA reporting code in content_decryptor_delegate.cc because: - It's hard to do UMA in CdmAdapter due to pp::UMAPrivate limitations. - I want to report system code for OnPromiseRejected() and OnSessionError() in one file. So I can't do it in CdmPromise. BUG=412987 TEST=Tested by hacking Chromium to provide a wrong license. Then check about://histograms and I see the histogram generated. Committed: https://crrev.com/f1914fab8e95ac880b28dd521299f5fc3f72704d Cr-Commit-Position: refs/heads/master@{#294478}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M content/renderer/pepper/content_decryptor_delegate.cc View 1 5 chunks +17 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +10 lines, -0 lines 1 comment Download

Messages

Total messages: 14 (3 generated)
xhwang
PTAL
6 years, 3 months ago (2014-09-10 21:14:17 UTC) #2
ddorwin
The code looks fine, but I'm not sure we can include media/crypto/ files here. It's ...
6 years, 3 months ago (2014-09-10 21:24:34 UTC) #3
xhwang
comments addressed
6 years, 3 months ago (2014-09-10 22:08:55 UTC) #4
xhwang
PTAL again. https://codereview.chromium.org/561643002/diff/1/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/561643002/diff/1/content/renderer/pepper/content_decryptor_delegate.cc#newcode12 content/renderer/pepper/content_decryptor_delegate.cc:12: #include "content/renderer/media/crypto/key_systems.h" On 2014/09/10 21:24:34, ddorwin wrote: ...
6 years, 3 months ago (2014-09-10 22:09:34 UTC) #5
ddorwin
lgtm
6 years, 3 months ago (2014-09-10 22:27:27 UTC) #6
xhwang
dmichael: Please OWNERS review content/renderer/pepper/content_decryptor_delegate.cc. isherman: Please OWNERS review tools/metrics/histograms/histograms.xml
6 years, 3 months ago (2014-09-10 23:43:18 UTC) #8
Ilya Sherman
LGTM % a suggestion: https://codereview.chromium.org/561643002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/561643002/diff/20001/tools/metrics/histograms/histograms.xml#newcode11308 tools/metrics/histograms/histograms.xml:11308: +<histogram name="Media.EME.Unknown.SystemCode" units="system code"> For ...
6 years, 3 months ago (2014-09-11 05:15:29 UTC) #9
dmichael (off chromium)
OWNERS lgtm, but +1 to Ilya's suggestion.
6 years, 3 months ago (2014-09-11 19:14:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561643002/20001
6 years, 3 months ago (2014-09-11 20:07:58 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 985c0d6f37c121d894ff5cf45b38b45684018d94
6 years, 3 months ago (2014-09-11 22:22:38 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 22:31:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f1914fab8e95ac880b28dd521299f5fc3f72704d
Cr-Commit-Position: refs/heads/master@{#294478}

Powered by Google App Engine
This is Rietveld 408576698