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

Issue 9271054: Send replies to sync IPCs from swapped out renderers. (Closed)

Created:
8 years, 11 months ago by Charlie Reis
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Send replies to sync IPCs from swapped out renderers. BUG=93427 TEST=Go back/forward quickly with cross-process navigations. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119572

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use a sync IPC error reply instead. #

Patch Set 3 : Fix test on Mac/Win #

Total comments: 2

Patch Set 4 : Sync to latest #

Patch Set 5 : Send JS replies to right RVH. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -28 lines) Patch
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/javascript_dialogs.h View 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 3 1 chunk +14 lines, -3 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager_unittest.cc View 1 2 3 3 chunks +81 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 chunks +12 lines, -6 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 3 chunks +5 lines, -6 lines 0 comments Download
M content/public/browser/render_view_host_delegate.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_delegate.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/test/test_content_client.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Charlie Reis
This CL is still in progress, but I could use some advice. John, I'm not ...
8 years, 11 months ago (2012-01-26 00:17:52 UTC) #1
jam
http://codereview.chromium.org/9271054/diff/1/content/browser/tab_contents/tab_contents.cc File content/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/9271054/diff/1/content/browser/tab_contents/tab_contents.cc#newcode2269 content/browser/tab_contents/tab_contents.cc:2269: // to send the reply to the right RVH ...
8 years, 11 months ago (2012-01-26 00:29:20 UTC) #2
jam
Correct me if I'm wrong, but it seems there are two issues here: 1) handling ...
8 years, 11 months ago (2012-01-26 00:31:56 UTC) #3
Charlie Reis
On 2012/01/26 00:31:56, John Abd-El-Malek wrote: > Correct me if I'm wrong, but it seems ...
8 years, 11 months ago (2012-01-26 00:50:14 UTC) #4
jam
On Wed, Jan 25, 2012 at 4:50 PM, <creis@chromium.org> wrote: > On 2012/01/26 00:31:56, John ...
8 years, 11 months ago (2012-01-26 02:06:13 UTC) #5
jam
On Wed, Jan 25, 2012 at 6:06 PM, John Abd-El-Malek <jam@chromium.org> wrote: > > > ...
8 years, 11 months ago (2012-01-26 02:06:57 UTC) #6
Charlie Reis
On 2012/01/26 02:06:13, John Abd-El-Malek wrote: > > Is there a generic way to return ...
8 years, 11 months ago (2012-01-26 18:41:20 UTC) #7
Charlie Reis
New patch set uploaded. PTAL.
8 years, 11 months ago (2012-01-26 20:30:51 UTC) #8
Charlie Reis
Matt and John, any thoughts on this CL? I'd like to get it into to ...
8 years, 11 months ago (2012-01-27 18:41:31 UTC) #9
jam
the sync part looks good, but I prefer that since you already had a fix ...
8 years, 11 months ago (2012-01-27 18:44:59 UTC) #10
Matt Perry
overall LGTM https://chromiumcodereview.appspot.com/9271054/diff/6003/content/browser/tab_contents/tab_contents.cc File content/browser/tab_contents/tab_contents.cc (right): https://chromiumcodereview.appspot.com/9271054/diff/6003/content/browser/tab_contents/tab_contents.cc#newcode2072 content/browser/tab_contents/tab_contents.cc:2072: GetRenderViewHost()->JavaScriptDialogClosed(reply_msg, true, string16()); Isn't |rvh| the RVH ...
8 years, 11 months ago (2012-01-27 19:38:13 UTC) #11
Charlie Reis
On 2012/01/27 18:44:59, John Abd-El-Malek wrote: > the sync part looks good, but I prefer ...
8 years, 11 months ago (2012-01-27 20:11:30 UTC) #12
jam
lgtm thanks, I'll take care of the unload case in a followup change
8 years, 11 months ago (2012-01-27 21:19:04 UTC) #13
Charlie Reis
Thanks. Ben, can you review js_modal_dialog.cc for owners approval? Just passing an extra argument to ...
8 years, 11 months ago (2012-01-27 21:28:51 UTC) #14
Ben Goodger (Google)
lgtm
8 years, 11 months ago (2012-01-27 21:38:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/9271054/10002
8 years, 11 months ago (2012-01-27 21:44:49 UTC) #16
commit-bot: I haz the power
8 years, 11 months ago (2012-01-28 03:09:36 UTC) #17
Change committed as 119572

Powered by Google App Engine
This is Rietveld 408576698