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

Issue 126289: Graceful handling of extension process crashes (Closed)

Created:
11 years, 6 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews
Visibility:
Public.

Description

Display an infobar alert when extension process crashes. Also correctly handle crashes in task manager. The infobar allows user to restart the extension process. TEST=Install buildbot extension, see its content in the shelf. Open task manager, kill extension process. Click "restart" in the infobar that should appear. The extension content in the shelf should re-appear after the crash. http://crbug.com/14111 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18809

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -32 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 5 chunks +73 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_view.h View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_view.cc View 4 chunks +46 lines, -30 lines 0 comments Download
M chrome/browser/task_manager_resource_providers.cc View 1 3 chunks +16 lines, -2 lines 0 comments Download
M chrome/common/notification_type.h View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Paweł Hajdan Jr.
Please review: erikkay: extension restarting ben: UI (screenshot in the bugtracker) jcampan: Task Manager bits
11 years, 6 months ago (2009-06-18 16:31:51 UTC) #1
Erik does not do reviews
I like the cleanup in ExtensionView. http://codereview.chromium.org/126289/diff/2001/2005 File chrome/browser/extensions/extension_host.cc (right): http://codereview.chromium.org/126289/diff/2001/2005#newcode52 Line 52: IDR_INFOBAR_PLUGIN_CRASHED); add ...
11 years, 6 months ago (2009-06-18 16:55:39 UTC) #2
Glen Murphy
> http://codereview.chromium.org/126289/diff/2001/2005#newcode146 > Line 146: TabContents* current_tab = GetBrowser()->GetSelectedTabContents(); > I'll defer to the Ben ...
11 years, 6 months ago (2009-06-18 17:23:24 UTC) #3
Paweł Hajdan Jr.
On 2009/06/18 16:55:39, Erik Kay wrote: > I like the cleanup in ExtensionView. > > ...
11 years, 6 months ago (2009-06-18 19:47:03 UTC) #4
Erik does not do reviews
LGTM from my perspective, although it looks like you should add a TODO and file ...
11 years, 6 months ago (2009-06-18 19:54:29 UTC) #5
jcampan
Changes to task_manager_resource_providers.cc LGTM
11 years, 6 months ago (2009-06-18 22:40:05 UTC) #6
Paweł Hajdan Jr.
11 years, 6 months ago (2009-06-19 05:58:06 UTC) #7
beng/glen/nickbaum: ping. Does the UI look ok? You can see a screenshot at
http://code.google.com/p/chromium/issues/detail?id=14111#c3

Powered by Google App Engine
This is Rietveld 408576698