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 2954623003: PlzNavigate: implement REUSE_COMMITTED_OR_PENDING_SITE for redirects (Closed)

Created:
3 years, 6 months ago by clamy
Modified:
3 years, 5 months ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, rdsmith+watch_chromium.org, loading-reviews_chromium.org, mmenke
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: implement REUSE_COMMITTED_OR_PENDING_SITE for redirects This CL is a follow up of the implementation of ProcessReusePolicy::REUSE_COMMITTED_OR_PENDING_SITE (https://codereview.chromium.org/2857213005/). It adds cross-site redirects that should be committed by an existing SiteInstance to the list of expected sites tracked per RenderProcessHost in RenderProcessHostImpl. BUG=705318 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2954623003 Cr-Commit-Position: refs/heads/master@{#483726} Committed: https://chromium.googlesource.com/chromium/src/+/0304a310bb32a007c09041384cd58f5a38d18e47

Patch Set 1 #

Total comments: 22

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Total comments: 12

Patch Set 4 : Addressed comments #

Total comments: 4

Patch Set 5 : Addressed Charlie's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -64 lines) Patch
M content/browser/frame_host/navigation_handle_impl.h View 1 2 3 4 3 chunks +10 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 4 chunks +16 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_request.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 2 chunks +20 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 2 chunks +63 lines, -44 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_unittest.cc View 4 chunks +93 lines, -7 lines 0 comments Download
M content/public/test/navigation_simulator.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (19 generated)
clamy
@creis, nasko: PTAL. This is a first version of a CL for processes, SW and ...
3 years, 6 months ago (2017-06-23 12:44:48 UTC) #6
nasko
I still need to wrap my mind around the UpdateSiteURL pieces, but I wanted to ...
3 years, 6 months ago (2017-06-23 20:23:23 UTC) #9
Charlie Reis
Nice. I didn't get a chance to look closely at render_frame_host_manager.cc or the test yet, ...
3 years, 5 months ago (2017-06-27 04:24:54 UTC) #10
clamy
Thanks! https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_handle_impl.h File content/browser/frame_host/navigation_handle_impl.h (right): https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_handle_impl.h#newcode287 content/browser/frame_host/navigation_handle_impl.h:287: RenderProcessHost* new_expected_render_process_host, On 2017/06/27 04:24:53, Charlie Reis (slow) ...
3 years, 5 months ago (2017-06-27 15:23:05 UTC) #13
clamy
https://codereview.chromium.org/2954623003/diff/40001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2954623003/diff/40001/content/browser/frame_host/navigation_request.cc#newcode566 content/browser/frame_host/navigation_request.cc:566: site_instance->HasProcess() ? site_instance : nullptr; Note: I'm not storing ...
3 years, 5 months ago (2017-06-27 16:43:33 UTC) #16
Charlie Reis
Thanks! One more concern about double creation of BrowsingInstances, and a few additional questions. https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_request.cc ...
3 years, 5 months ago (2017-06-27 18:46:35 UTC) #17
clamy
Thanks! https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_request.cc#newcode560 content/browser/frame_host/navigation_request.cc:560: *this); On 2017/06/27 18:46:34, Charlie Reis (slow) wrote: ...
3 years, 5 months ago (2017-06-28 14:08:32 UTC) #20
Charlie Reis
Thanks! LGTM, but we should either use the speculative SiteInstance at commit or include a ...
3 years, 5 months ago (2017-06-28 17:05:23 UTC) #23
clamy
Thanks! https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2954623003/diff/1/content/browser/frame_host/navigation_request.cc#newcode560 content/browser/frame_host/navigation_request.cc:560: *this); On 2017/06/28 17:05:22, Charlie Reis (slow) wrote: ...
3 years, 5 months ago (2017-06-30 15:13:00 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2954623003/80001
3 years, 5 months ago (2017-06-30 15:14:08 UTC) #27
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 16:26:45 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0304a310bb32a007c09041384cd5...

Powered by Google App Engine
This is Rietveld 408576698