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

Issue 1079163008: PlzNavigate: provide the FrameTreeNode ID to the network stack (Closed)

Created:
5 years, 8 months ago by clamy
Modified:
5 years, 6 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org, asanka, Randy Smith (Not in Mondays)
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix-unittests
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: provide the FrameTreeNode ID to the network stack This CL adds the FrameTreeNode ID to the NavigationRequestInfo that is passed to the ResourceDispatcherHost. This allows a proper DownloadTabInfo to be created, and downloads to start with browser-side navigation enabled. BUG=475027 Committed: https://crrev.com/a16aa8170b607d329f45d623fa30825ad94285eb Cr-Commit-Position: refs/heads/master@{#331351}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Passing the FTN id to the IO thread #

Patch Set 4 : Now using FTN id or routing ID #

Total comments: 9

Patch Set 5 : Addressed nasko's comments #

Total comments: 4

Patch Set 6 : Rebase #

Patch Set 7 : Addressed David's comments #

Total comments: 12

Patch Set 8 : Rebase + addressed Nasko's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -75 lines) Patch
M content/browser/download/download_request_handle.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/download/download_request_handle.cc View 1 2 3 4 5 6 7 2 chunks +40 lines, -4 lines 0 comments Download
M content/browser/download/download_resource_handler.cc View 1 2 3 4 5 2 chunks +7 lines, -9 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_request_info.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request_info.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/loader/navigation_url_loader_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 4 chunks +56 lines, -58 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/loader/resource_scheduler_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (3 generated)
clamy
@nasko, fdegans: PTAL @carlosk, fdegans: FYI This is a fix to have DownloadContentTests pass with ...
5 years, 8 months ago (2015-04-22 13:19:13 UTC) #2
nasko
On 2015/04/22 13:19:13, clamy wrote: > @nasko, fdegans: PTAL > @carlosk, fdegans: FYI > > ...
5 years, 8 months ago (2015-04-22 14:16:20 UTC) #3
davidben
On 2015/04/22 14:16:20, nasko (very slow until 04-27) wrote: > On 2015/04/22 13:19:13, clamy wrote: ...
5 years, 8 months ago (2015-04-22 15:16:11 UTC) #4
clamy
I see. In the meantime, I have a new version of the patch where we ...
5 years, 8 months ago (2015-04-22 15:33:59 UTC) #5
nasko
Thanks David for the thorough write up. I tend to agree with most of it, ...
5 years, 8 months ago (2015-04-27 14:24:12 UTC) #6
clamy
Thanks! I agree that in the long term this would be a nice architecture to ...
5 years, 8 months ago (2015-04-27 14:34:44 UTC) #7
davidben
On 2015/04/27 14:34:44, clamy wrote: > Thanks! I agree that in the long term this ...
5 years, 8 months ago (2015-04-27 14:55:18 UTC) #8
clamy
Thanks! Yes it's quite likely that we will have some more issues with the loader ...
5 years, 8 months ago (2015-04-27 16:19:12 UTC) #9
clamy
@davidben: friendly ping now that I'm back from vacation :)
5 years, 7 months ago (2015-05-19 11:50:38 UTC) #10
davidben
Oh, sorry, didn't realize you were blocking on me. I probably won't get to looking ...
5 years, 7 months ago (2015-05-19 19:40:46 UTC) #11
davidben
On 2015/05/19 19:40:46, David Benjamin wrote: > Oh, sorry, didn't realize you were blocking on ...
5 years, 7 months ago (2015-05-19 19:41:05 UTC) #12
carlosk
No, I don't think we're blocked by that right now. We're going over all content ...
5 years, 7 months ago (2015-05-19 20:20:49 UTC) #13
carlosk
Duh, sorry, ignore my last email. I mixed up the email threads. On May 19, ...
5 years, 7 months ago (2015-05-19 20:22:17 UTC) #14
davidben
lgtm. I'm rather sad downloads needs to know about this, but that can be resolved ...
5 years, 7 months ago (2015-05-20 21:45:39 UTC) #15
clamy
Thanks! @nasko: PTAL https://codereview.chromium.org/1079163008/diff/70001/content/browser/download/download_request_handle.cc File content/browser/download/download_request_handle.cc (right): https://codereview.chromium.org/1079163008/diff/70001/content/browser/download/download_request_handle.cc#newcode46 content/browser/download/download_request_handle.cc:46: // WebContents. On 2015/05/20 21:45:38, David ...
5 years, 7 months ago (2015-05-22 16:01:29 UTC) #16
nasko
Mostly nits. The important thing to note is that FrameTreeNode ID changed from int64 to ...
5 years, 7 months ago (2015-05-22 16:48:07 UTC) #17
clamy
Thanks! https://codereview.chromium.org/1079163008/diff/110001/content/browser/download/download_request_handle.cc File content/browser/download/download_request_handle.cc (right): https://codereview.chromium.org/1079163008/diff/110001/content/browser/download/download_request_handle.cc#newcode61 content/browser/download/download_request_handle.cc:61: return NULL; On 2015/05/22 16:48:06, nasko wrote: > ...
5 years, 7 months ago (2015-05-26 10:43:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1079163008/130001
5 years, 7 months ago (2015-05-26 10:43:28 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years, 7 months ago (2015-05-26 13:07:33 UTC) #22
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/a16aa8170b607d329f45d623fa30825ad94285eb Cr-Commit-Position: refs/heads/master@{#331351}
5 years, 7 months ago (2015-05-26 13:08:15 UTC) #23
Randy Smith (Not in Mondays)
5 years, 6 months ago (2015-05-29 15:23:20 UTC) #24
Message was sent while issue was closed.
If possible, I'd like some download owner (someone in
content/browser/download/OWNERS, but asanka & I are the primary folks) review
stuff going into the download code, both because it can be tricky code and
because we'd like to know about changes in it :-}.  Knowing about this CL would
have saved me some time in the work I'm doing on http://crbug.com/482049.  

Not a big deal, just a heads up for next time (to both reviewers and committer).

Powered by Google App Engine
This is Rietveld 408576698