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

Issue 1813553004: Change net's predictor_tab_helper to use the new content Navigation API (Closed)

Created:
4 years, 9 months ago by Charlie Harrison
Modified:
4 years, 8 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

Change net's predictor_tab_helper to use the new content Navigation API 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/778dddc6edcfbc8e420e0ed019acf506b7bdd864 Cr-Commit-Position: refs/heads/master@{#383714}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Prepare for finch #

Patch Set 4 : subframe / mainframe experiment #

Total comments: 2

Patch Set 5 : groups #

Total comments: 4

Patch Set 6 : asvitkine@ review - added variations to feature #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -5 lines) Patch
M chrome/browser/net/predictor_tab_helper.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/net/predictor_tab_helper.cc View 1 2 3 4 5 2 chunks +32 lines, -4 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_android.json View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_linux.json View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_mac.json View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
M testing/variations/fieldtrial_testing_config_win.json View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
Charlie Harrison
PTAL. This callback is called slightly after DidStartNavigationToPendingEntry, and will be called for subframes as ...
4 years, 9 months ago (2016-03-17 18:16:34 UTC) #2
mmenke
LGTM. I assume you'll be keeping an eye on metrics? Could even field trial this ...
4 years, 9 months ago (2016-03-17 18:52:15 UTC) #3
Charlie Harrison
On 2016/03/17 at 18:52:15, mmenke wrote: > LGTM. I assume you'll be keeping an eye ...
4 years, 9 months ago (2016-03-17 18:58:52 UTC) #4
mmenke
On 2016/03/17 18:58:52, csharrison wrote: > On 2016/03/17 at 18:52:15, mmenke wrote: > > LGTM. ...
4 years, 9 months ago (2016-03-17 19:06:02 UTC) #5
Charlie Harrison
I added the finch code (at least as much as I think I need). I ...
4 years, 9 months ago (2016-03-17 21:22:41 UTC) #6
mmenke
So you dismissed testing 3 things against each other on the linked bug (old behavior, ...
4 years, 9 months ago (2016-03-18 15:28:14 UTC) #7
mmenke
On 2016/03/18 15:28:14, mmenke wrote: > So you dismissed testing 3 things against each other ...
4 years, 9 months ago (2016-03-18 15:29:33 UTC) #8
Charlie Harrison
On 2016/03/18 at 15:29:33, mmenke wrote: > On 2016/03/18 15:28:14, mmenke wrote: > > So ...
4 years, 9 months ago (2016-03-18 16:20:46 UTC) #9
mmenke
On 2016/03/18 16:20:46, csharrison wrote: > On 2016/03/18 at 15:29:33, mmenke wrote: > > On ...
4 years, 9 months ago (2016-03-18 16:21:39 UTC) #10
mmenke
Sorry, hadn't realized you updated the CL. https://codereview.chromium.org/1813553004/diff/60001/testing/variations/fieldtrial_testing_config_android.json File testing/variations/fieldtrial_testing_config_android.json (right): https://codereview.chromium.org/1813553004/diff/60001/testing/variations/fieldtrial_testing_config_android.json#newcode237 testing/variations/fieldtrial_testing_config_android.json:237: "group_name": "Enabled" ...
4 years, 9 months ago (2016-03-18 19:26:03 UTC) #11
Charlie Harrison
Updated the json. Thanks. https://codereview.chromium.org/1813553004/diff/60001/testing/variations/fieldtrial_testing_config_android.json File testing/variations/fieldtrial_testing_config_android.json (right): https://codereview.chromium.org/1813553004/diff/60001/testing/variations/fieldtrial_testing_config_android.json#newcode237 testing/variations/fieldtrial_testing_config_android.json:237: "group_name": "Enabled" On 2016/03/18 at ...
4 years, 9 months ago (2016-03-18 21:38:17 UTC) #12
mmenke
LGTM
4 years, 9 months ago (2016-03-18 21:40:04 UTC) #13
Charlie Harrison
+asvitkine@, is this an okay use of the new FeatureList API? It feels odd to ...
4 years, 9 months ago (2016-03-18 21:50:19 UTC) #15
Alexei Svitkine (slow)
https://codereview.chromium.org/1813553004/diff/80001/chrome/browser/net/predictor_tab_helper.cc File chrome/browser/net/predictor_tab_helper.cc (right): https://codereview.chromium.org/1813553004/diff/80001/chrome/browser/net/predictor_tab_helper.cc#newcode27 chrome/browser/net/predictor_tab_helper.cc:27: "PreconnectMoreMainFrameOnly", base::FEATURE_DISABLED_BY_DEFAULT}; I think it would be better to ...
4 years, 9 months ago (2016-03-21 19:42:12 UTC) #16
Charlie Harrison
Thanks for the review. I changed the configs to include "params" and "enable_features" keys. https://codereview.chromium.org/1813553004/diff/80001/chrome/browser/net/predictor_tab_helper.cc ...
4 years, 9 months ago (2016-03-22 16:26:36 UTC) #17
Alexei Svitkine (slow)
lgtm
4 years, 9 months ago (2016-03-24 15:18:58 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813553004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813553004/100001
4 years, 8 months ago (2016-03-29 13:08:21 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-03-29 13:51:26 UTC) #22
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/778dddc6edcfbc8e420e0ed019acf506b7bdd864 Cr-Commit-Position: refs/heads/master@{#383714}
4 years, 8 months ago (2016-03-29 13:52:52 UTC) #24
Charlie Harrison
4 years, 8 months ago (2016-04-01 15:28:26 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1851093003/ by csharrison@chromium.org.

The reason for reverting is: This caused regressions in Android page_cycler perf
bots of ~150-200ms. See crbug.com/599502..

Powered by Google App Engine
This is Rietveld 408576698