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

Issue 8318028: Gracefully handle child process death in out-of-process plugin loading. (Closed)

Created:
9 years, 2 months ago by Robert Sesek
Modified:
9 years, 2 months ago
Reviewers:
Bernhard Bauer, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Gracefully handle child process death in out-of-process plugin loading. This also queues requests to load plugins, based on http://codereview.chromium.org/8243010/. BUG=100053 TEST=Install Sonix webcam driver on OS X Lion and try to load a Flash video. It plays. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106738

Patch Set 1 #

Patch Set 2 : Rebase, use sync messages. #

Total comments: 23

Patch Set 3 : Address nits #

Patch Set 4 : Do not send the index #

Unified diffs Side-by-side diffs Delta from patch set Stats (+613 lines, -178 lines) Patch
M build/common.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/plugin_loader_posix.h View 1 2 3 1 chunk +84 lines, -8 lines 0 comments Download
M content/browser/plugin_loader_posix.cc View 1 2 3 1 chunk +127 lines, -38 lines 0 comments Download
A content/browser/plugin_loader_posix_unittest.cc View 1 2 3 1 chunk +278 lines, -0 lines 0 comments Download
M content/browser/plugin_service.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/plugin_service.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/common/utility_messages.h View 1 2 3 2 chunks +12 lines, -10 lines 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/utility/utility_thread_impl.h View 1 chunk +1 line, -4 lines 0 comments Download
M content/utility/utility_thread_impl.cc View 1 2 3 2 chunks +16 lines, -22 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.h View 4 chunks +10 lines, -16 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.cc View 1 2 4 chunks +62 lines, -57 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_mac.mm View 1 chunk +3 lines, -5 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_posix.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_win.cc View 1 4 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Robert Sesek
9 years, 2 months ago (2011-10-17 21:53:33 UTC) #1
jam
two comments: -it makes things harder to review when you both move a file out, ...
9 years, 2 months ago (2011-10-17 23:08:38 UTC) #2
Robert Sesek
On 2011/10/17 23:08:38, John Abd-El-Malek wrote: > two comments: > -it makes things harder to ...
9 years, 2 months ago (2011-10-18 00:01:30 UTC) #3
Robert Sesek
On 2011/10/18 00:01:30, rsesek wrote: > On 2011/10/17 23:08:38, John Abd-El-Malek wrote: > > -you ...
9 years, 2 months ago (2011-10-18 17:00:26 UTC) #4
jam
I haven't looked at the change in detail yet. But I had one question: would ...
9 years, 2 months ago (2011-10-18 20:49:46 UTC) #5
Robert Sesek
On 2011/10/18 20:49:46, John Abd-El-Malek wrote: > I haven't looked at the change in detail ...
9 years, 2 months ago (2011-10-18 20:53:56 UTC) #6
jam
On Tue, Oct 18, 2011 at 1:53 PM, <rsesek@chromium.org> wrote: > On 2011/10/18 20:49:46, John ...
9 years, 2 months ago (2011-10-18 21:12:15 UTC) #7
Robert Sesek
On 2011/10/18 21:12:15, John Abd-El-Malek wrote: > On Tue, Oct 18, 2011 at 1:53 PM, ...
9 years, 2 months ago (2011-10-18 21:46:09 UTC) #8
jam
On Tue, Oct 18, 2011 at 2:46 PM, <rsesek@chromium.org> wrote: > On 2011/10/18 21:12:15, John ...
9 years, 2 months ago (2011-10-18 22:03:21 UTC) #9
Robert Sesek
On 2011/10/18 22:03:21, John Abd-El-Malek wrote: > this isn't necessary, they can be recrawled. this ...
9 years, 2 months ago (2011-10-18 22:32:13 UTC) #10
jam
lgtm sorry for the delay, I didn't see the update http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode52 ...
9 years, 2 months ago (2011-10-20 00:16:16 UTC) #11
Bernhard Bauer
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode100 content/browser/plugin_loader_posix.cc:100: if (index >= canonical_list_.size()) When can that happen? http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode109 ...
9 years, 2 months ago (2011-10-20 08:20:04 UTC) #12
Robert Sesek
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode52 content/browser/plugin_loader_posix.cc:52: DCHECK(process_host_); On 2011/10/20 00:16:16, John Abd-El-Malek wrote: > nit: ...
9 years, 2 months ago (2011-10-20 16:00:21 UTC) #13
Bernhard Bauer
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode100 content/browser/plugin_loader_posix.cc:100: if (index >= canonical_list_.size()) On 2011/10/20 16:00:21, rsesek wrote: ...
9 years, 2 months ago (2011-10-20 16:15:07 UTC) #14
Robert Sesek
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode100 content/browser/plugin_loader_posix.cc:100: if (index >= canonical_list_.size()) On 2011/10/20 16:15:08, Bernhard Bauer ...
9 years, 2 months ago (2011-10-20 16:22:36 UTC) #15
Bernhard Bauer
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode100 content/browser/plugin_loader_posix.cc:100: if (index >= canonical_list_.size()) On 2011/10/20 16:22:36, rsesek wrote: ...
9 years, 2 months ago (2011-10-20 16:27:56 UTC) #16
Robert Sesek
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode100 content/browser/plugin_loader_posix.cc:100: if (index >= canonical_list_.size()) On 2011/10/20 16:27:57, Bernhard Bauer ...
9 years, 2 months ago (2011-10-20 16:30:28 UTC) #17
Robert Sesek
http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): http://codereview.chromium.org/8318028/diff/4001/content/browser/plugin_loader_posix.cc#newcode109 content/browser/plugin_loader_posix.cc:109: ++next_load_index_; On 2011/10/20 16:30:28, rsesek wrote: > On 2011/10/20 ...
9 years, 2 months ago (2011-10-20 16:38:05 UTC) #18
Robert Sesek
OK. No longer sending the index.
9 years, 2 months ago (2011-10-20 16:46:41 UTC) #19
Bernhard Bauer
9 years, 2 months ago (2011-10-21 08:36:48 UTC) #20
On 2011/10/20 16:46:41, rsesek wrote:
> OK. No longer sending the index.

Woohoo! LGTM.

Powered by Google App Engine
This is Rietveld 408576698