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

Issue 1811913003: PlzNavigate: support NavigationThrottle::WillProcessResponse (Closed)

Created:
4 years, 9 months ago by clamy
Modified:
4 years, 9 months ago
Reviewers:
nasko
CC:
chromium-reviews, loading-reviews_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, carlosk
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: support NavigationThrottle::WillProcessResponse This CL introduces support in PlzNavigate for canceling navigations or pausing navigations in NavigationThrottle::WillProcessResponse. BUG=555418 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/5a3c36494131da824529e5abca31ffad62270f00 Cr-Commit-Position: refs/heads/master@{#383092}

Patch Set 1 #

Patch Set 2 : #

Total comments: 19

Patch Set 3 : Rebase #

Patch Set 4 : Addressed comments #

Total comments: 1

Patch Set 5 : Rebase on top of 1832803002 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+481 lines, -107 lines) Patch
M content/browser/frame_host/navigation_handle_impl.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 3 chunks +3 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_browsertest.cc View 1 2 3 3 chunks +288 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 5 chunks +81 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigator.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 3 chunks +4 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 4 chunks +22 lines, -65 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 chunks +12 lines, -4 lines 0 comments Download
M content/browser/loader/navigation_resource_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_resource_handler.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/loader/navigation_url_loader.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl_core.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_impl_core.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_unittest.cc View 1 2 3 4 chunks +12 lines, -0 lines 0 comments Download
M content/test/test_navigation_url_loader.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/test/test_navigation_url_loader.cc View 1 chunk +6 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
clamy
@nasko: PTAL. This is the support for NavigationThrottle::WillProcessResponse in PlzNavigate. This is needed for the ...
4 years, 9 months ago (2016-03-17 16:47:16 UTC) #4
nasko
Nice! Few comments, but exciting functionality! https://codereview.chromium.org/1811913003/diff/20001/content/browser/frame_host/navigation_handle_impl_browsertest.cc File content/browser/frame_host/navigation_handle_impl_browsertest.cc (right): https://codereview.chromium.org/1811913003/diff/20001/content/browser/frame_host/navigation_handle_impl_browsertest.cc#newcode237 content/browser/frame_host/navigation_handle_impl_browsertest.cc:237: install_loop_runner_->Quit(); Why do ...
4 years, 9 months ago (2016-03-18 21:51:43 UTC) #5
clamy
Thanks! https://codereview.chromium.org/1811913003/diff/20001/content/browser/frame_host/navigation_handle_impl_browsertest.cc File content/browser/frame_host/navigation_handle_impl_browsertest.cc (right): https://codereview.chromium.org/1811913003/diff/20001/content/browser/frame_host/navigation_handle_impl_browsertest.cc#newcode237 content/browser/frame_host/navigation_handle_impl_browsertest.cc:237: install_loop_runner_->Quit(); On 2016/03/18 21:51:43, nasko (slow) wrote: > ...
4 years, 9 months ago (2016-03-23 14:36:44 UTC) #6
nasko
LGTM, though I think the move of the IPC belongs in a separate CL. https://codereview.chromium.org/1811913003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc ...
4 years, 9 months ago (2016-03-23 22:16:47 UTC) #7
clamy
I split the IPC move in https://codereview.chromium.org/1832803002/. Will rebase this CL when the other lands.
4 years, 9 months ago (2016-03-24 13:30:04 UTC) #8
clamy
Now that the other CL landed, I'm landing this.
4 years, 9 months ago (2016-03-24 16:24:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811913003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811913003/80001
4 years, 9 months ago (2016-03-24 16:24:32 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-24 17:47:09 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:48:06 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5a3c36494131da824529e5abca31ffad62270f00
Cr-Commit-Position: refs/heads/master@{#383092}

Powered by Google App Engine
This is Rietveld 408576698