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

Issue 2549373004: PlzNavigate: Call NavigationHandle::WillProcessResponse for 204/205s (Closed)

Created:
4 years ago by clamy
Modified:
3 years, 12 months ago
Reviewers:
yzshen1, jam, nasko
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, Randy Smith (Not in Mondays), darin-cc_chromium.org, loading-reviews_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Call NavigationHandle::WillProcessResponse for 204/205s This CL ensures that NavigationHandle::WillProcessResponse wil be called for 204/205s and downloads. It also ensures that no renderer process will be created to commit the navigation (since there is nothing to commit), and that NavigationHandle::ReadyToCommit will not be called in that case. BUG=652767 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/2fc22f544753c756cd50786c8a03c2b73f5b1817 Cr-Commit-Position: refs/heads/master@{#440646}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Patch Set 4 : Fixed issue with wrong function modified #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Fixed test issue #

Total comments: 4

Patch Set 8 : Rebase + addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -33 lines) Patch
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_request.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 5 chunks +28 lines, -18 lines 0 comments Download
M content/browser/loader/navigation_resource_handler.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -11 lines 0 comments Download
M content/test/test_navigation_url_loader_delegate.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 40 (28 generated)
clamy
@nasko, yzshen: PTAL Following yesterday's discussion, I tried to look at ways to make NavigationHandle ...
4 years ago (2016-12-06 17:01:58 UTC) #6
yzshen1
https://codereview.chromium.org/2549373004/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2549373004/diff/1/content/browser/frame_host/navigation_request.cc#newcode580 content/browser/frame_host/navigation_request.cc:580: // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE. Do we ...
4 years ago (2016-12-06 17:57:37 UTC) #7
nasko
https://codereview.chromium.org/2549373004/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2549373004/diff/1/content/browser/frame_host/navigation_request.cc#newcode416 content/browser/frame_host/navigation_request.cc:416: RenderFrameHostImpl* render_frame_host = nullptr; On 2016/12/06 17:01:58, clamy wrote: ...
4 years ago (2016-12-08 18:25:24 UTC) #10
clamy
@nasko, yzshen: PTAL (note: there's still an issue with one fo the content_unittests, I'll have ...
4 years ago (2016-12-16 17:07:14 UTC) #23
yzshen1
LGTM
4 years ago (2016-12-16 17:44:51 UTC) #24
clamy
@nasko: PTAL
4 years ago (2016-12-21 15:48:24 UTC) #27
jam
FWIW this lgtm
4 years ago (2016-12-22 18:01:45 UTC) #30
nasko
I have one question about downloads, otherwise LGTM. https://codereview.chromium.org/2549373004/diff/120001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://codereview.chromium.org/2549373004/diff/120001/content/browser/frame_host/navigation_request.h#newcode229 content/browser/frame_host/navigation_request.h:229: // ...
4 years ago (2016-12-22 18:16:09 UTC) #31
clamy
Thanks! Note that I have removed the testing filter updates from the latest patchset so ...
3 years, 12 months ago (2016-12-23 16:54:35 UTC) #32
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/2549373004/140001
3 years, 12 months ago (2016-12-23 16:54:54 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
3 years, 12 months ago (2016-12-23 18:14:53 UTC) #38
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 18:17:02 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2fc22f544753c756cd50786c8a03c2b73f5b1817
Cr-Commit-Position: refs/heads/master@{#440646}

Powered by Google App Engine
This is Rietveld 408576698