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

Issue 615633005: PlzNavigate: Move the navigation logic to NavigatorImpl (Closed)

Created:
6 years, 2 months ago by clamy
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@commit-nav
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Move the navigation logic to NavigatorImpl This CL moves the navigation logic for PlzNavigate from RenderFrameHostImpl to NavigatorImpl. The logic for selecting a RenderFrameHost for the naviagtion remains in RenderFrameHostManager. BUG=376006, 376091, 376014 Committed: https://crrev.com/71a42ec15abb539b215e075e645e940bf1084398 Cr-Commit-Position: refs/heads/master@{#297871}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Addressed comments + moved unittests #

Total comments: 3

Patch Set 3 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+605 lines, -562 lines) Patch
M content/browser/frame_host/frame_tree_node.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 chunks +20 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 5 chunks +23 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 7 chunks +185 lines, -28 lines 0 comments Download
A content/browser/frame_host/navigator_impl_unittest.cc View 1 1 chunk +288 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 9 chunks +15 lines, -37 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 17 chunks +64 lines, -201 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 3 chunks +1 line, -286 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
clamy
@carlosk, nasko: PTAL. Based on our discussion today, a CL to move the navigation logic ...
6 years, 2 months ago (2014-09-30 00:21:09 UTC) #2
nasko
Thanks for putting this together! I think there is only one main point to discuss ...
6 years, 2 months ago (2014-10-01 15:59:50 UTC) #3
clamy
Thanks! Please find my answers to your comments below. Additionally, I am not quite sure ...
6 years, 2 months ago (2014-10-01 17:10:43 UTC) #4
nasko
Response to comments. https://codereview.chromium.org/615633005/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/615633005/diff/1/content/browser/frame_host/navigator_impl.cc#newcode811 content/browser/frame_host/navigator_impl.cc:811: it->second->CancelNavigation(); On 2014/10/01 17:10:43, clamy wrote: ...
6 years, 2 months ago (2014-10-01 18:20:19 UTC) #5
carlosk
Cool! Regarding your question about tests, it makes sense to move them to a new ...
6 years, 2 months ago (2014-10-01 18:31:10 UTC) #6
clamy
Thanks! Here is the version with the unit tests. https://codereview.chromium.org/615633005/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/615633005/diff/1/content/browser/frame_host/navigator_impl.cc#newcode695 content/browser/frame_host/navigator_impl.cc:695: ...
6 years, 2 months ago (2014-10-01 22:30:47 UTC) #8
Charlie Reis
Just a high level drive-by review, but I'm excited to see this stuff move to ...
6 years, 2 months ago (2014-10-01 23:28:50 UTC) #10
nasko
Once the comment by Charlie to move code in UpdateStateForNavigate to make it more readable ...
6 years, 2 months ago (2014-10-02 00:09:39 UTC) #11
clamy
Thanks! +davidben: FYI - you will most likely need to rebase the IO thread patch ...
6 years, 2 months ago (2014-10-02 17:39:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/615633005/60001
6 years, 2 months ago (2014-10-02 17:40:34 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:60001) as e38afa381117773eafd9bd5e4d46233a6491e16e
6 years, 2 months ago (2014-10-02 18:43:38 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 18:44:37 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/71a42ec15abb539b215e075e645e940bf1084398
Cr-Commit-Position: refs/heads/master@{#297871}

Powered by Google App Engine
This is Rietveld 408576698