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

Issue 9958104: Log when a browser plugin hangs (Closed)

Created:
8 years, 8 months ago by whyuan
Modified:
8 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Ilya Sherman, kaiwang, ramant (doing other things), Jeff Bailey (chromium)
Visibility:
Public.

Description

Log when a browser plugin hangs Add an API to webplugin_delegate_impl to get the plugin version from the window, similar to the way to get the plugin name. Update hung_plugin_action to log when a browser plugin hangs and log the version of the plugin is Google Talk Plugin. BUG= TEST=try bot and manual test on Google Talk Plugin hangs Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133292

Patch Set 1 #

Total comments: 6

Patch Set 2 : update based on jam@'s review comments #

Total comments: 2

Patch Set 3 : Use UMA_HISTOGRAM_ENUMERATION to log 10 versions of GTalk plugin #

Total comments: 4

Patch Set 4 : Reduce the bucket size of logging GTalk plugin hang from 37 to 11 #

Patch Set 5 : update comment of GetGTalkPluginVersion #

Patch Set 6 : replace std::wstring with string16 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -33 lines) Patch
M chrome/browser/hang_monitor/hung_plugin_action.h View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/hang_monitor/hung_plugin_action.cc View 1 2 3 4 5 4 chunks +64 lines, -10 lines 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/webplugin_delegate_impl_win.cc View 1 2 3 4 5 6 chunks +45 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
jam
some nits https://chromiumcodereview.appspot.com/9958104/diff/1/webkit/plugins/npapi/webplugin_delegate_impl.h File webkit/plugins/npapi/webplugin_delegate_impl.h (right): https://chromiumcodereview.appspot.com/9958104/diff/1/webkit/plugins/npapi/webplugin_delegate_impl.h#newcode99 webkit/plugins/npapi/webplugin_delegate_impl.h:99: string16* plugin_name); nit: plugin_version https://chromiumcodereview.appspot.com/9958104/diff/1/webkit/plugins/npapi/webplugin_delegate_impl_win.cc File webkit/plugins/npapi/webplugin_delegate_impl_win.cc ...
8 years, 8 months ago (2012-04-03 16:18:02 UTC) #1
James Cook
Did you mean a different James? I'm not familiar with this code.
8 years, 8 months ago (2012-04-03 16:34:08 UTC) #2
whyuan
https://chromiumcodereview.appspot.com/9958104/diff/1/webkit/plugins/npapi/webplugin_delegate_impl.h File webkit/plugins/npapi/webplugin_delegate_impl.h (right): https://chromiumcodereview.appspot.com/9958104/diff/1/webkit/plugins/npapi/webplugin_delegate_impl.h#newcode99 webkit/plugins/npapi/webplugin_delegate_impl.h:99: string16* plugin_name); On 2012/04/03 16:18:02, John Abd-El-Malek wrote: > ...
8 years, 8 months ago (2012-04-03 17:35:07 UTC) #3
jar (doing other things)
Please do not land (per comments below). Ilya: Do you have comments or suggestions that ...
8 years, 8 months ago (2012-04-03 19:20:38 UTC) #4
Ilya Sherman
Rather than creating histograms for this, have you considered adding a hang count to the ...
8 years, 8 months ago (2012-04-03 19:31:17 UTC) #5
whyuan
limit to log 10 versions of gtalk plugin PTAL On Apr 3, 2012 12:20 PM, ...
8 years, 8 months ago (2012-04-09 06:57:57 UTC) #6
jar (doing other things)
Small nits below. I'm now fine with the use of histograms, but you should get ...
8 years, 8 months ago (2012-04-11 22:26:59 UTC) #7
whyuan
https://chromiumcodereview.appspot.com/9958104/diff/7001/chrome/browser/hang_monitor/hung_plugin_action.cc File chrome/browser/hang_monitor/hung_plugin_action.cc (right): https://chromiumcodereview.appspot.com/9958104/diff/7001/chrome/browser/hang_monitor/hung_plugin_action.cc#newcode51 chrome/browser/hang_monitor/hung_plugin_action.cc:51: } else if (gtalk_plugin_version > GTALK_PLUGIN_VERSION_MAX) { On 2012/04/11 ...
8 years, 8 months ago (2012-04-12 21:02:18 UTC) #8
jar (doing other things)
histogram changes L G T M.... so please get jam to ok it. Thanks!
8 years, 8 months ago (2012-04-12 23:10:51 UTC) #9
jam
lgtm
8 years, 8 months ago (2012-04-17 23:17:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/whyuan@google.com/9958104/16001
8 years, 8 months ago (2012-04-20 16:39:19 UTC) #11
commit-bot: I haz the power
Presubmit check for 9958104-16001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-20 16:39:23 UTC) #12
whyuan
Replace std::wstring with string16. PTAL On 2012/04/17 23:17:14, John Abd-El-Malek wrote: > lgtm
8 years, 8 months ago (2012-04-20 18:19:54 UTC) #13
jam
lgtm
8 years, 8 months ago (2012-04-20 19:15:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/whyuan@google.com/9958104/32001
8 years, 8 months ago (2012-04-20 19:40:38 UTC) #15
commit-bot: I haz the power
8 years, 8 months ago (2012-04-20 23:02:31 UTC) #16
Change committed as 133292

Powered by Google App Engine
This is Rietveld 408576698