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

Issue 1857573002: [reland] Change net's predictor_tab_helper to use the new content Navigation API (Closed)

Created:
4 years, 8 months ago by Charlie Harrison
Modified:
4 years, 7 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[reland] Change net's predictor_tab_helper to use the new content Navigation API The original CL had issues due to slow process spawn on Android, where the DidStartNavigation call could be delayed, stalling preconnects. This patch keeps the old code while adding a path for renderer initiated navigations to issue preconnects. Previous CL: https://codereview.chromium.org/1813553004/ This change moves the trigger for preconnects/preresolves from DidStartNavigationToPendingEntry to DidStartNavigation, broadening the navigations that we can predict from. BUG=595730 Committed: https://crrev.com/f6e401951f8feb8bfc19fbfc9cafbc9fab60a1f6 Cr-Commit-Position: refs/heads/master@{#393754}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add renderer initiated navigation browser test #

Patch Set 3 : Remove default group from field trial testing config #

Patch Set 4 : Update finch test config on chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -7 lines) Patch
M chrome/browser/net/predictor_browsertest.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/net/predictor_tab_helper.h View 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/net/predictor_tab_helper.cc View 1 1 chunk +34 lines, -6 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_android.json View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_chromeos.json View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_linux.json View 1 1 chunk +8 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_mac.json View 1 1 chunk +8 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_win.json View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (9 generated)
Charlie Harrison
clamy@, this patch uses a simple model to catch navigations that do not go through ...
4 years, 8 months ago (2016-04-04 17:11:20 UTC) #4
Charlie Harrison
Friendly ping. I'd just like a quick sanity check for the tab_helper.
4 years, 8 months ago (2016-04-07 17:54:44 UTC) #5
clamy
tab_helper lgtm. Sorry about the delay :).
4 years, 8 months ago (2016-04-08 11:01:06 UTC) #6
Charlie Harrison
Thanks, clamy@! mmenke@, asvitkine@ PTAL. This is pretty similar to the previous CL, though I ...
4 years, 8 months ago (2016-04-08 12:16:50 UTC) #8
Charlie Harrison
https://codereview.chromium.org/1857573002/diff/1/testing/variations/fieldtrial_testing_config_mac.json File testing/variations/fieldtrial_testing_config_mac.json (right): https://codereview.chromium.org/1857573002/diff/1/testing/variations/fieldtrial_testing_config_mac.json#newcode122 testing/variations/fieldtrial_testing_config_mac.json:122: { I'll remove "Default" from these as isherman@ mentioned ...
4 years, 8 months ago (2016-04-08 14:54:38 UTC) #9
mmenke
I think we should have a browser test for this. Learn something from a renderer-initiated ...
4 years, 8 months ago (2016-04-08 17:42:07 UTC) #10
Charlie Harrison
On 2016/04/08 at 17:42:07, mmenke wrote: > I think we should have a browser test ...
4 years, 8 months ago (2016-04-14 22:09:19 UTC) #11
Alexei Svitkine (slow)
lgtm
4 years, 8 months ago (2016-04-15 16:25:10 UTC) #12
Charlie Harrison
I added a renderer initiated navigation browser test and confirmed that it fails without the ...
4 years, 7 months ago (2016-05-13 14:54:19 UTC) #13
mmenke
LGTM
4 years, 7 months ago (2016-05-13 21:05:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1857573002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1857573002/60001
4 years, 7 months ago (2016-05-14 13:53:33 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-14 20:54:33 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f6e401951f8feb8bfc19fbfc9cafbc9fab60a1f6 Cr-Commit-Position: refs/heads/master@{#393754}
4 years, 7 months ago (2016-05-14 20:56:20 UTC) #21
Ken Rockot(use gerrit already)
This might be responsible for new memory fyi failures. e.g.: https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Browser%20(DrMemory%20full)%20(9) Unfortunately there doesn't appear ...
4 years, 7 months ago (2016-05-15 06:53:14 UTC) #23
Charlie Harrison
4 years, 7 months ago (2016-05-15 07:20:59 UTC) #24
Message was sent while issue was closed.
On 2016/05/15 at 06:53:14, rockot wrote:
> This might be responsible for new memory fyi failures. e.g.:
> 
>
https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Browser%2...
> 
> Unfortunately there doesn't appear to be much useful information in the logs,
but it looks like
PredictorBrowserTest.CrossSiteSimplePredictionAfterTwoNavigations2 is timing
out.
> 
> Could you please take a look?

Hm I think more likely is that test (that was recently added) is flaky or wrong
in some way. That was https://codereview.chromium.org/1881463003/. 

I'll look into it tomorrow.

Powered by Google App Engine
This is Rietveld 408576698