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

Issue 818853005: Store NavigationEntryImpl data into NavigationRequest for later usage. (Closed)

Created:
5 years, 11 months ago by carlosk
Modified:
5 years, 11 months ago
Reviewers:
clamy, Charlie Reis, 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store NavigationEntryImpl data into NavigationRequest for later usage. So that default values for some parameters can be replaced by what they actually should be in calls from RenderFrameHostManager. This should help with making content_unittest pass with PlzNavigate enabled and eliminate some TODOs. BUG=439423 Committed: https://crrev.com/0dc6c55b60d7593da4ad9dc832c6cf0594f1b3bf Cr-Commit-Position: refs/heads/master@{#312368}

Patch Set 1 #

Patch Set 2 : Removed respective TODOs. #

Total comments: 11

Patch Set 3 : Changes from CR comments. #

Total comments: 8

Patch Set 4 : Minor change rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -30 lines) Patch
M content/browser/frame_host/navigation_request.h View 1 2 5 chunks +31 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 2 chunks +14 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 4 chunks +9 lines, -12 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 4 chunks +10 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
carlosk
clamy@, nasko@, creis@: PTAL. This CL fulfills 2 TODOs left from the speculative renderer and ...
5 years, 11 months ago (2015-01-15 16:53:08 UTC) #2
carlosk
On 2015/01/15 16:53:08, carlosk wrote: > clamy@, nasko@, creis@: PTAL. > > This CL fulfills ...
5 years, 11 months ago (2015-01-16 09:57:26 UTC) #3
nasko
Overall looks good, just some minor comments. https://codereview.chromium.org/818853005/diff/20001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/818853005/diff/20001/content/browser/frame_host/navigation_request.cc#newcode54 content/browser/frame_host/navigation_request.cc:54: is_restore_ = ...
5 years, 11 months ago (2015-01-16 15:03:25 UTC) #4
clamy
Thanks! Just a few comments on my part. https://chromiumcodereview.appspot.com/818853005/diff/20001/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://chromiumcodereview.appspot.com/818853005/diff/20001/content/browser/frame_host/navigator_impl.cc#newcode897 content/browser/frame_host/navigator_impl.cc:897: navigation_request->CopyDataFrom(entry); ...
5 years, 11 months ago (2015-01-16 16:39:02 UTC) #5
carlosk
Thanks for all comments. https://chromiumcodereview.appspot.com/818853005/diff/20001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://chromiumcodereview.appspot.com/818853005/diff/20001/content/browser/frame_host/navigation_request.cc#newcode54 content/browser/frame_host/navigation_request.cc:54: is_restore_ = nav_entry.restore_type() != NavigationEntryImpl::RESTORE_NONE; ...
5 years, 11 months ago (2015-01-19 15:02:52 UTC) #6
clamy
Thanks! A few comments for myself. https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h#newcode11 content/browser/frame_host/navigation_request.h:11: #include "content/browser/frame_host/navigation_entry_impl.h" Why ...
5 years, 11 months ago (2015-01-19 15:53:47 UTC) #7
carlosk
Thanks! https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h#newcode11 content/browser/frame_host/navigation_request.h:11: #include "content/browser/frame_host/navigation_entry_impl.h" On 2015/01/19 15:53:46, clamy wrote: > ...
5 years, 11 months ago (2015-01-19 16:08:52 UTC) #8
clamy
Thanks! Lgtm. https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h File content/browser/frame_host/navigation_request.h (right): https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.h#newcode11 content/browser/frame_host/navigation_request.h:11: #include "content/browser/frame_host/navigation_entry_impl.h" On 2015/01/19 16:08:52, carlosk wrote: ...
5 years, 11 months ago (2015-01-19 16:11:10 UTC) #9
nasko
LGTM with a nit https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.cc#newcode31 content/browser/frame_host/navigation_request.cc:31: if (entry != nullptr) { ...
5 years, 11 months ago (2015-01-21 00:29:55 UTC) #10
carlosk
Thanks. Done, uploaded and committing... https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://chromiumcodereview.appspot.com/818853005/diff/40001/content/browser/frame_host/navigation_request.cc#newcode31 content/browser/frame_host/navigation_request.cc:31: if (entry != nullptr) ...
5 years, 11 months ago (2015-01-21 13:53:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818853005/60001
5 years, 11 months ago (2015-01-21 13:57:57 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-21 14:31:15 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-21 14:32:34 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0dc6c55b60d7593da4ad9dc832c6cf0594f1b3bf
Cr-Commit-Position: refs/heads/master@{#312368}

Powered by Google App Engine
This is Rietveld 408576698