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

Issue 21512003: MHTMLGenerationManager handles the death of a render process. (Closed)

Created:
7 years, 4 months ago by qsr
Modified:
7 years, 4 months ago
Reviewers:
benjhayden, Jay Civelli
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka, darin-cc_chromium.org, jam, joi+watch-content_chromium.org
Visibility:
Public.

Description

MHTMLGenerationManager handles the death of a render process. When MHTML start to download mhtml, it does keep track of the callbacks it will need to call when the jobs are done. But if the render process dies while serializing a page, the manager will not be called, and the callback will stays stall forever. This CL make sure that MHTMLGenerationManager is getting notified when the renderer process dies and send an error for all currently active jobs. R=jcivelli@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215918

Patch Set 1 #

Total comments: 4

Patch Set 2 : Follow review #

Patch Set 3 : Makes android builder happy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -2 lines) Patch
M content/browser/download/mhtml_generation_manager.h View 1 2 4 chunks +10 lines, -2 lines 0 comments Download
M content/browser/download/mhtml_generation_manager.cc View 1 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
qsr
7 years, 4 months ago (2013-08-01 09:26:09 UTC) #1
Jay Civelli
https://codereview.chromium.org/21512003/diff/1/content/browser/download/mhtml_generation_manager.cc File content/browser/download/mhtml_generation_manager.cc (right): https://codereview.chromium.org/21512003/diff/1/content/browser/download/mhtml_generation_manager.cc#newcode90 content/browser/download/mhtml_generation_manager.cc:90: } Shouldn't we unregister for notifications for that renderer ...
7 years, 4 months ago (2013-08-01 17:57:00 UTC) #2
qsr
https://codereview.chromium.org/21512003/diff/1/content/browser/download/mhtml_generation_manager.cc File content/browser/download/mhtml_generation_manager.cc (right): https://codereview.chromium.org/21512003/diff/1/content/browser/download/mhtml_generation_manager.cc#newcode90 content/browser/download/mhtml_generation_manager.cc:90: } On 2013/08/01 17:57:00, Jay Civelli wrote: > Shouldn't ...
7 years, 4 months ago (2013-08-02 14:22:24 UTC) #3
qsr
gentle ping?
7 years, 4 months ago (2013-08-05 08:56:58 UTC) #4
Jay Civelli
lgtm
7 years, 4 months ago (2013-08-05 17:38:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/21512003/7001
7 years, 4 months ago (2013-08-06 09:28:25 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=18999
7 years, 4 months ago (2013-08-06 09:40:25 UTC) #7
qsr
+ahendrickson@chromium.org for OWNERS.
7 years, 4 months ago (2013-08-06 09:45:11 UTC) #8
benjhayden
LGTM ahendrickson has moved on to bigger and better things, and is still in OWNERS ...
7 years, 4 months ago (2013-08-06 13:47:31 UTC) #9
benjhayden
How feasible would it be to convert this to an Observer as per the recent ...
7 years, 4 months ago (2013-08-06 13:50:19 UTC) #10
qsr
On 2013/08/06 13:50:19, benjhayden_chromium wrote: > How feasible would it be to convert this to ...
7 years, 4 months ago (2013-08-06 13:58:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/21512003/7001
7 years, 4 months ago (2013-08-06 13:58:26 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-06 14:21:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/21512003/38002
7 years, 4 months ago (2013-08-06 14:26:58 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 17:24:36 UTC) #15
Message was sent while issue was closed.
Change committed as 215918

Powered by Google App Engine
This is Rietveld 408576698