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

Issue 13601002: Report UMA for Shockwave Flash and Widevine CDM. (Closed)

Created:
7 years, 8 months ago by xhwang
Modified:
7 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Report UMA for Shockwave Flash and Widevine CDM. We have tons of (a huge number!) missing plugins reported every day. The current enumerated ones only cover <1% of them. I'd like to add more emums in the list to cover more so that we have a better knowledge what's going on. We can add more if needed. I'll update the histograms.xml after this CL. TBR=jam@chromium.org BUG=226107 TEST=Tested missing WidevineCDM and Flash. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192751

Patch Set 1 #

Total comments: 17

Patch Set 2 : resolve comments #

Total comments: 2

Patch Set 3 : Updated flash mimetypes and extensions. #

Total comments: 7

Patch Set 4 : comment resolved #

Patch Set 5 : Rebase and updated unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -20 lines) Patch
M chrome/renderer/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma.h View 1 2 3 4 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 2 3 4 6 chunks +32 lines, -7 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma_unittest.cc View 1 2 3 4 4 chunks +63 lines, -11 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
xhwang
PTAL https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( For flash, do we also want ...
7 years, 8 months ago (2013-04-03 23:36:54 UTC) #1
xhwang
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( On 2013/04/03 23:36:55, xhwang wrote: > For ...
7 years, 8 months ago (2013-04-03 23:38:09 UTC) #2
ilja
I think we would want to distinguish between ppapi and npapi Flash. Adding yzshen if ...
7 years, 8 months ago (2013-04-03 23:52:55 UTC) #3
Bernhard Bauer
LGTM A general comment on the CL: The claim that plug-ins in the current enumeration ...
7 years, 8 months ago (2013-04-04 07:01:56 UTC) #4
yzshen1
> I think we would want to distinguish between ppapi and npapi Flash. Adding > ...
7 years, 8 months ago (2013-04-04 17:38:01 UTC) #5
yzshen1
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( On 2013/04/03 23:36:55, xhwang wrote: > For ...
7 years, 8 months ago (2013-04-04 17:38:11 UTC) #6
ddorwin
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( On 2013/04/04 17:38:11, yzshen1 wrote: > On ...
7 years, 8 months ago (2013-04-04 19:52:24 UTC) #7
ddorwin
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode59 chrome/renderer/plugins/plugin_uma.cc:59: MissingPluginReporter::OTHER); You need to use your new PLUGIN_TYPE_MAX here, ...
7 years, 8 months ago (2013-04-04 20:08:25 UTC) #8
Bernhard Bauer
On 2013/04/04 17:38:01, yzshen1 wrote: > > I think we would want to distinguish between ...
7 years, 8 months ago (2013-04-04 21:04:32 UTC) #9
xhwang
I'll update the tests after I land 13414007 and rebase. PTAL https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): ...
7 years, 8 months ago (2013-04-05 00:58:17 UTC) #10
ddorwin
LG except the open extension question. https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( On ...
7 years, 8 months ago (2013-04-05 04:21:37 UTC) #11
xhwang
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.cc#newcode120 chrome/renderer/plugins/plugin_uma.cc:120: MissingPluginReporter::PluginType MissingPluginReporter::SrcToPluginType( On 2013/04/05 04:21:37, ddorwin wrote: > On ...
7 years, 8 months ago (2013-04-05 05:05:21 UTC) #12
ddorwin
LGTM, assuming the large gap doesn't cause problems. https://codereview.chromium.org/13601002/diff/16001/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/16001/chrome/renderer/plugins/plugin_uma.cc#newcode22 chrome/renderer/plugins/plugin_uma.cc:22: const ...
7 years, 8 months ago (2013-04-05 05:32:17 UTC) #13
Bernhard Bauer
https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.h File chrome/renderer/plugins/plugin_uma.h (right): https://codereview.chromium.org/13601002/diff/1/chrome/renderer/plugins/plugin_uma.h#newcode26 chrome/renderer/plugins/plugin_uma.h:26: OTHER = 5, On 2013/04/05 00:58:18, xhwang wrote: > ...
7 years, 8 months ago (2013-04-05 13:29:09 UTC) #14
yzshen1
LGTM Thanks!
7 years, 8 months ago (2013-04-05 16:39:59 UTC) #15
xhwang
https://codereview.chromium.org/13601002/diff/16001/chrome/renderer/plugins/plugin_uma.cc File chrome/renderer/plugins/plugin_uma.cc (right): https://codereview.chromium.org/13601002/diff/16001/chrome/renderer/plugins/plugin_uma.cc#newcode22 chrome/renderer/plugins/plugin_uma.cc:22: const char kFlashPluginSwfMimeType[] = "application/x-shockwave-flash"; On 2013/04/05 05:32:17, ddorwin ...
7 years, 8 months ago (2013-04-05 19:00:09 UTC) #16
ddorwin
lgtm
7 years, 8 months ago (2013-04-05 21:05:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/13601002/26001
7 years, 8 months ago (2013-04-06 00:52:02 UTC) #18
commit-bot: I haz the power
Presubmit check for 13601002-26001 failed and returned exit status 1. INFO:root:Found 4 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-06 00:52:05 UTC) #19
xhwang
jam@: could you please do an OWNERS review on the DEPS file?
7 years, 8 months ago (2013-04-06 01:03:00 UTC) #20
ddorwin
lgtm
7 years, 8 months ago (2013-04-06 05:55:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/13601002/26001
7 years, 8 months ago (2013-04-06 09:28:01 UTC) #22
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, googleurl_unittests, media_unittests, ...
7 years, 8 months ago (2013-04-06 09:44:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/13601002/26001
7 years, 8 months ago (2013-04-06 09:46:38 UTC) #24
commit-bot: I haz the power
7 years, 8 months ago (2013-04-06 15:55:20 UTC) #25
Message was sent while issue was closed.
Change committed as 192751

Powered by Google App Engine
This is Rietveld 408576698