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

Issue 13548005: Add UMA reporting on failure to load ppapi plugins. (Closed)

Created:
7 years, 8 months ago by xhwang
Modified:
7 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add UMA reporting on failure to load ppapi plugins. The UMA histogram name is appended with library names. Since we only have limited number of ppapi plugins this shouldn't be an issue for the server to handle. BUG=226107 TEST=Tested Widevine CDM loading. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194494

Patch Set 1 #

Patch Set 2 : rebase only #

Patch Set 3 : fix gypi #

Total comments: 4

Patch Set 4 : merge include_dir #

Patch Set 5 : Add todo. #

Patch Set 6 : fix include dir #

Patch Set 7 : CL refacted. #

Total comments: 14

Patch Set 8 : comments resolved #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : Also report loading error for flash. #

Total comments: 8

Patch Set 11 : use FactoryGet #

Patch Set 12 : status -> result #

Total comments: 2

Patch Set 13 : remove empty line in DEPS #

Patch Set 14 : Report from PpapiThread. #

Total comments: 4

Patch Set 15 : comment resolved #

Total comments: 2

Patch Set 16 : nit #

Patch Set 17 : Updated histograms.xml #

Patch Set 18 : ppapi -> PPAPI #

Total comments: 6

Patch Set 19 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -1 line) Patch
M content/ppapi_plugin/ppapi_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +13 lines, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +31 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (0 generated)
xhwang
PTAL
7 years, 8 months ago (2013-04-03 16:32:45 UTC) #1
ddorwin
LGTM % comments https://codereview.chromium.org/13548005/diff/26001/content/content_ppapi_plugin.gypi File content/content_ppapi_plugin.gypi (right): https://codereview.chromium.org/13548005/diff/26001/content/content_ppapi_plugin.gypi#newcode15 content/content_ppapi_plugin.gypi:15: '<(INTERMEDIATE_DIR)', add after line 30 instead ...
7 years, 8 months ago (2013-04-04 19:30:14 UTC) #2
xhwang
+piman for OWNERS review. https://codereview.chromium.org/13548005/diff/26001/content/content_ppapi_plugin.gypi File content/content_ppapi_plugin.gypi (right): https://codereview.chromium.org/13548005/diff/26001/content/content_ppapi_plugin.gypi#newcode15 content/content_ppapi_plugin.gypi:15: '<(INTERMEDIATE_DIR)', On 2013/04/04 19:30:14, ddorwin ...
7 years, 8 months ago (2013-04-04 19:42:45 UTC) #3
piman
widevine shouldn't be a dependency of content - can we move that logic to chrome?
7 years, 8 months ago (2013-04-04 21:16:58 UTC) #4
xhwang
On 2013/04/04 21:16:58, piman wrote: > widevine shouldn't be a dependency of content - can ...
7 years, 8 months ago (2013-04-04 22:40:22 UTC) #5
piman
On 2013/04/04 22:40:22, xhwang wrote: > On 2013/04/04 21:16:58, piman wrote: > > widevine shouldn't ...
7 years, 8 months ago (2013-04-04 23:11:45 UTC) #6
xhwang
On 2013/04/04 23:11:45, piman wrote: > On 2013/04/04 22:40:22, xhwang wrote: > > On 2013/04/04 ...
7 years, 8 months ago (2013-04-04 23:31:29 UTC) #7
xhwang
I have refactored this CL. Now we use chrome_content_plugin_client.cc to report UMA instead of in ...
7 years, 8 months ago (2013-04-06 19:58:09 UTC) #8
ddorwin
LG. Thanks. https://codereview.chromium.org/13548005/diff/35001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/35001/content/ppapi_plugin/ppapi_thread.cc#newcode266 content/ppapi_plugin/ppapi_thread.cc:266: // Get the GetInterface function (required). Unrelated ...
7 years, 8 months ago (2013-04-08 18:04:34 UTC) #9
piman
+jam for content/public changes. https://codereview.chromium.org/13548005/diff/35001/content/public/plugin/content_plugin_client.h File content/public/plugin/content_plugin_client.h (right): https://codereview.chromium.org/13548005/diff/35001/content/public/plugin/content_plugin_client.h#newcode19 content/public/plugin/content_plugin_client.h:19: UNKNOWN_ERROR, You don't use this. ...
7 years, 8 months ago (2013-04-08 19:38:43 UTC) #10
xhwang
PTAL again https://codereview.chromium.org/13548005/diff/35001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/35001/content/ppapi_plugin/ppapi_thread.cc#newcode328 content/ppapi_plugin/ppapi_thread.cc:328: LOG(WARNING) << "No PPP_InitializeBroker in plugin library"; ...
7 years, 8 months ago (2013-04-09 00:34:10 UTC) #11
piman
LGTM modulo comments that John might have re: content/public.
7 years, 8 months ago (2013-04-09 00:40:02 UTC) #12
ddorwin
https://codereview.chromium.org/13548005/diff/51001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/51001/content/ppapi_plugin/ppapi_thread.cc#newcode341 content/ppapi_plugin/ppapi_thread.cc:341: ReportLoadResult(path, ContentPluginClient::ENTRY_POINT_MISSING); Is this a missing entry point or ...
7 years, 8 months ago (2013-04-09 00:50:40 UTC) #13
xhwang
https://codereview.chromium.org/13548005/diff/51001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/51001/content/ppapi_plugin/ppapi_thread.cc#newcode341 content/ppapi_plugin/ppapi_thread.cc:341: ReportLoadResult(path, ContentPluginClient::ENTRY_POINT_MISSING); On 2013/04/09 00:50:40, ddorwin wrote: > Is ...
7 years, 8 months ago (2013-04-09 00:54:05 UTC) #14
xhwang
Added Flash check in addition to Widevine. +isherman for confirming the use of UMA_HISTOGRAM_* in ...
7 years, 8 months ago (2013-04-09 01:36:53 UTC) #15
ddorwin
Cool. https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc#newcode75 chrome/plugin/chrome_content_plugin_client.cc:75: // |name| must be const string based on ...
7 years, 8 months ago (2013-04-09 01:44:11 UTC) #16
Ilya Sherman
LGTM for UMA histogram usage, with a suggestion: https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc#newcode78 chrome/plugin/chrome_content_plugin_client.cc:78: if ...
7 years, 8 months ago (2013-04-09 01:49:22 UTC) #17
xhwang
PTAL again. https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc File chrome/plugin/chrome_content_plugin_client.cc (right): https://codereview.chromium.org/13548005/diff/82001/chrome/plugin/chrome_content_plugin_client.cc#newcode75 chrome/plugin/chrome_content_plugin_client.cc:75: // |name| must be const string based ...
7 years, 8 months ago (2013-04-09 03:59:42 UTC) #18
ddorwin
lgtm
7 years, 8 months ago (2013-04-09 15:23:42 UTC) #19
xhwang
jam@: could you please do an OWNERS review on content/public/* ?
7 years, 8 months ago (2013-04-09 15:43:04 UTC) #20
jam
it's unclear to me why you're changing chrome? i.e. why not just send these uma ...
7 years, 8 months ago (2013-04-09 16:17:01 UTC) #21
xhwang
> it's unclear to me why you're changing chrome? i.e. why not just send these ...
7 years, 8 months ago (2013-04-09 16:28:05 UTC) #22
jam
On 2013/04/09 16:28:05, xhwang wrote: > > it's unclear to me why you're changing chrome? ...
7 years, 8 months ago (2013-04-09 17:02:11 UTC) #23
xhwang
On 2013/04/09 17:02:11, jam wrote: > On 2013/04/09 16:28:05, xhwang wrote: > > > it's ...
7 years, 8 months ago (2013-04-09 17:14:12 UTC) #24
jam
On 2013/04/09 17:14:12, xhwang wrote: > On 2013/04/09 17:02:11, jam wrote: > > On 2013/04/09 ...
7 years, 8 months ago (2013-04-09 17:22:05 UTC) #25
xhwang
On 2013/04/09 17:22:05, jam wrote: > On 2013/04/09 17:14:12, xhwang wrote: > > On 2013/04/09 ...
7 years, 8 months ago (2013-04-09 18:30:47 UTC) #26
Ilya Sherman
On 2013/04/09 17:22:05, jam wrote: > On 2013/04/09 17:14:12, xhwang wrote: > > On 2013/04/09 ...
7 years, 8 months ago (2013-04-09 20:52:08 UTC) #27
jam
On 2013/04/09 20:52:08, Ilya Sherman wrote: > On 2013/04/09 17:22:05, jam wrote: > > On ...
7 years, 8 months ago (2013-04-09 20:56:25 UTC) #28
Ilya Sherman
On 2013/04/09 20:56:25, jam wrote: > On 2013/04/09 20:52:08, Ilya Sherman wrote: > > On ...
7 years, 8 months ago (2013-04-09 21:00:00 UTC) #29
jam
> Can't an arbitrary developer write a ppapi plugin that users install? What > makes ...
7 years, 8 months ago (2013-04-09 22:59:00 UTC) #30
ddorwin
On 2013/04/09 18:30:47, xhwang wrote: > Plugin.PluginLoadResult.PepperFlashPlayer.plugin > Plugin.PluginLoadResult.pepflashplayer.dll > Plugin.PluginLoadResult.libpepflashplayer.so > Plugin.PluginLoadResult.widevinecdmadapter.plugin > Plugin.PluginLoadResult.widevinecdmadapter.dll ...
7 years, 8 months ago (2013-04-10 00:49:41 UTC) #31
jam
> Does anyone know if individual .nexe files pass through here? no
7 years, 8 months ago (2013-04-10 01:06:50 UTC) #32
xhwang
On 2013/04/10 00:49:41, ddorwin wrote: > On 2013/04/09 18:30:47, xhwang wrote: > > Plugin.PluginLoadResult.PepperFlashPlayer.plugin > ...
7 years, 8 months ago (2013-04-10 01:08:53 UTC) #33
jam
On 2013/04/10 01:08:53, xhwang wrote: > On 2013/04/10 00:49:41, ddorwin wrote: > > On 2013/04/09 ...
7 years, 8 months ago (2013-04-10 02:41:41 UTC) #34
Ilya Sherman
On 2013/04/10 02:41:41, jam wrote: > On 2013/04/10 01:08:53, xhwang wrote: > > On 2013/04/10 ...
7 years, 8 months ago (2013-04-10 02:50:13 UTC) #35
jam
On 2013/04/10 02:50:13, Ilya Sherman wrote: > Reducing the number of histogram names helps keep ...
7 years, 8 months ago (2013-04-10 15:20:52 UTC) #36
xhwang
ddorwin/piman: Change back to report UMA from PpapiThread based on offline discussion. PTAL! Thanks a ...
7 years, 8 months ago (2013-04-15 20:19:51 UTC) #37
piman
lgtm
7 years, 8 months ago (2013-04-15 20:27:09 UTC) #38
ddorwin
https://codereview.chromium.org/13548005/diff/113001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/113001/content/ppapi_plugin/ppapi_thread.cc#newcode364 content/ppapi_plugin/ppapi_thread.cc:364: ReportLoadResult(path, LOAD_SUCCESS); Since the comment above applies to the ...
7 years, 8 months ago (2013-04-15 20:34:36 UTC) #39
xhwang
https://codereview.chromium.org/13548005/diff/113001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/113001/content/ppapi_plugin/ppapi_thread.cc#newcode364 content/ppapi_plugin/ppapi_thread.cc:364: ReportLoadResult(path, LOAD_SUCCESS); On 2013/04/15 20:34:36, ddorwin wrote: > Since ...
7 years, 8 months ago (2013-04-15 20:53:19 UTC) #40
ddorwin
lgtm https://codereview.chromium.org/13548005/diff/119001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/119001/content/ppapi_plugin/ppapi_thread.cc#newcode363 content/ppapi_plugin/ppapi_thread.cc:363: ReportLoadResult(path, LOAD_SUCCESS); nit: I meant this should probably ...
7 years, 8 months ago (2013-04-15 20:54:50 UTC) #41
xhwang
https://codereview.chromium.org/13548005/diff/119001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/13548005/diff/119001/content/ppapi_plugin/ppapi_thread.cc#newcode363 content/ppapi_plugin/ppapi_thread.cc:363: ReportLoadResult(path, LOAD_SUCCESS); On 2013/04/15 20:54:50, ddorwin wrote: > nit: ...
7 years, 8 months ago (2013-04-15 20:56:45 UTC) #42
xhwang
jar/ddorwin: please take a look at the histograms.xml file. The histogram name now use an ...
7 years, 8 months ago (2013-04-16 17:08:02 UTC) #43
ddorwin
lgtm
7 years, 8 months ago (2013-04-16 17:23:35 UTC) #44
jar (doing other things)
notes on xml file below. https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml#newcode5254 tools/metrics/histograms/histograms.xml:5254: <fieldtrial name="PpapiPluginName"> One subtle ...
7 years, 8 months ago (2013-04-16 18:07:45 UTC) #45
xhwang
https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml#newcode5254 tools/metrics/histograms/histograms.xml:5254: <fieldtrial name="PpapiPluginName"> On 2013/04/16 18:07:45, jar wrote: > One ...
7 years, 8 months ago (2013-04-16 19:02:21 UTC) #46
jar (doing other things)
histograms LGTM Comment for Isherman to ponder as well below. https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml#newcode5254 ...
7 years, 8 months ago (2013-04-16 21:12:33 UTC) #47
Ilya Sherman
https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/13548005/diff/77003/tools/metrics/histograms/histograms.xml#newcode5254 tools/metrics/histograms/histograms.xml:5254: <fieldtrial name="PpapiPluginName"> On 2013/04/16 21:12:33, jar wrote: > hmm... ...
7 years, 8 months ago (2013-04-16 21:58:04 UTC) #48
xhwang
7 years, 8 months ago (2013-04-17 00:10:04 UTC) #49
Message was sent while issue was closed.
Committed patchset #19 manually as r194494 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698