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

Issue 429603002: PlzNavigate: Add a static CommitNavigation method in FrameTreeNode (Closed)

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

Description

Add a static FrameTreeNode lookup method in FrameTreeNode This CL adds a static FrameTree::GloballyFindByID that can be used by to find a FrameTreeNode given a frame tree node id. BUG=376082 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289513

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed Nasko's comments #

Total comments: 2

Patch Set 3 : Only lookup for the FrameTreeNode #

Total comments: 2

Patch Set 4 : Changed the DCHECKs in CHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
M content/browser/frame_host/frame_tree.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 chunks +30 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
clamy
@nasko:PTAL @davidben:FYI This CL is dependent on https://chromiumcodereview.appspot.com/379143002/ (which I hope should land soon). The ...
6 years, 4 months ago (2014-07-29 13:47:50 UTC) #1
nasko
Just a couple of comments, otherwise it looks straightforward. https://chromiumcodereview.appspot.com/429603002/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://chromiumcodereview.appspot.com/429603002/diff/1/content/browser/frame_host/frame_tree_node.cc#newcode38 content/browser/frame_host/frame_tree_node.cc:38: ...
6 years, 4 months ago (2014-07-30 08:36:16 UTC) #2
clamy
Thanks! I have moved the method to FrameTree instead. I add/remove nodes from the map ...
6 years, 4 months ago (2014-08-12 13:41:47 UTC) #3
nasko
LGTM with a couple of nits. https://chromiumcodereview.appspot.com/429603002/diff/20001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://chromiumcodereview.appspot.com/429603002/diff/20001/content/browser/frame_host/frame_tree.cc#newcode35 content/browser/frame_host/frame_tree.cc:35: FrameTreeNode* FrameTreeNodeForGlobalId(int64 frame_tree_node_id) ...
6 years, 4 months ago (2014-08-13 00:52:53 UTC) #4
Charlie Reis
Drive-by question: Is it possible to just add a static way to look up a ...
6 years, 4 months ago (2014-08-13 01:13:15 UTC) #5
clamy
Thanks! I modified the CL so that it now only adds a static lookup method, ...
6 years, 4 months ago (2014-08-13 12:01:38 UTC) #6
nasko
https://chromiumcodereview.appspot.com/429603002/diff/40001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://chromiumcodereview.appspot.com/429603002/diff/40001/content/browser/frame_host/frame_tree.cc#newcode101 content/browser/frame_host/frame_tree.cc:101: DCHECK(result.second); nit: This should never happen, so let's make ...
6 years, 4 months ago (2014-08-13 14:30:44 UTC) #7
Charlie Reis
Thanks! LGTM with Nasko's comment.
6 years, 4 months ago (2014-08-13 14:38:22 UTC) #8
clamy
Thanks! https://chromiumcodereview.appspot.com/429603002/diff/40001/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://chromiumcodereview.appspot.com/429603002/diff/40001/content/browser/frame_host/frame_tree.cc#newcode101 content/browser/frame_host/frame_tree.cc:101: DCHECK(result.second); On 2014/08/13 14:30:44, nasko wrote: > nit: ...
6 years, 4 months ago (2014-08-13 14:44:43 UTC) #9
clamy
The CQ bit was checked by clamy@chromium.org
6 years, 4 months ago (2014-08-13 14:44:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/429603002/60001
6 years, 4 months ago (2014-08-13 14:45:58 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-13 17:23:08 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 17:51:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/1334)
6 years, 4 months ago (2014-08-13 17:51:47 UTC) #14
clamy
The CQ bit was checked by clamy@chromium.org
6 years, 4 months ago (2014-08-14 09:07:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/429603002/60001
6 years, 4 months ago (2014-08-14 09:10:25 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 10:28:02 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (60001) as 289513

Powered by Google App Engine
This is Rietveld 408576698