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

Issue 471603002: Remove dependency on NavigationEntry to get a SiteInstance (Closed)

Created:
6 years, 4 months ago by clamy
Modified:
6 years, 4 months ago
Reviewers:
Charlie Reis, carlosk, nasko
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@master
Project:
chromium
Visibility:
Public.

Description

Remove dependency on NavigationEntry to get a SiteInstance Remove the dependency on a NavigationEntry in RenderFrameHostManager::ShouldSwapBrowsingInstancesForNavigation and RenderFrameHostManager::GetSiteInstanceForEntry. This is needed by the PlzNavigate project, as the SiteInstance to use is determined when the navigation is about to commit. At this time, there is no convinient access to a SNavigationEntry. BUG=376082 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289681

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed Charlie's comments #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -55 lines) Patch
M content/browser/frame_host/render_frame_host_manager.h View 1 2 chunks +26 lines, -12 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 8 chunks +53 lines, -41 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
clamy
@ creis, nasko: PTAL @ carlosk: FYI Here is a CL that removes the dependency ...
6 years, 4 months ago (2014-08-13 16:06:16 UTC) #1
Charlie Reis
Cool. It's a bit more awkward to call these now, but I'm a big fan ...
6 years, 4 months ago (2014-08-14 06:28:09 UTC) #2
clamy
Thanks! Yes, we should not have to store the NavigationEntry in the other CL. I ...
6 years, 4 months ago (2014-08-14 10:03:00 UTC) #3
Charlie Reis
Great. LGTM. https://chromiumcodereview.appspot.com/471603002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://chromiumcodereview.appspot.com/471603002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc#newcode689 content/browser/frame_host/render_frame_host_manager.cc:689: // Check with the content client as ...
6 years, 4 months ago (2014-08-14 14:55:48 UTC) #4
clamy
Thanks! https://chromiumcodereview.appspot.com/471603002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://chromiumcodereview.appspot.com/471603002/diff/20001/content/browser/frame_host/render_frame_host_manager.cc#newcode689 content/browser/frame_host/render_frame_host_manager.cc:689: // Check with the content client as well. ...
6 years, 4 months ago (2014-08-14 16:26:43 UTC) #5
clamy
The CQ bit was checked by clamy@chromium.org
6 years, 4 months ago (2014-08-14 16:26:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/471603002/40001
6 years, 4 months ago (2014-08-14 16:28:05 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 19:55:38 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289681

Powered by Google App Engine
This is Rietveld 408576698