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

Issue 2198903002: Add parent pointer to NavigationEntryImpl::TreeNode. (Closed)

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

Description

Add parent pointer to NavigationEntryImpl::TreeNode. Currently the tree of FrameNavigationEntries in NavigationEntryImpl does not have any way for traversing from an arbitrary node in the tree up to its parent. This is useful when comparing the expected chain of ancestors, which is needed to fix issue 628677. BUG=628677 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/be89fac7f6e0117dd8f12ae844a34565a9d25927 Cr-Commit-Position: refs/heads/master@{#409013}

Patch Set 1 #

Patch Set 2 : A bit of cleanup. #

Patch Set 3 : Comments addressed and refactored on top of TreeNode::parent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -0 lines) Patch
M content/browser/frame_host/frame_tree.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 1 chunk +145 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 2 chunks +60 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
nasko
Hey Charlie, This CL is a small refactor to add parent pointer to the NavEntry::TreeNode ...
4 years, 4 months ago (2016-08-01 17:38:39 UTC) #3
Charlie Reis
LGTM! I agree this makes things nicer, and I'm happy to get rid of is_root_tree_node ...
4 years, 4 months ago (2016-08-01 18:13:59 UTC) #6
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/2198903002/20001
4 years, 4 months ago (2016-08-01 18:37:50 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-01 19:00:19 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 19:06:20 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/be89fac7f6e0117dd8f12ae844a34565a9d25927
Cr-Commit-Position: refs/heads/master@{#409013}

Powered by Google App Engine
This is Rietveld 408576698