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

Issue 2559203003: Fix PredictorTabHelper to work with PlzNavigate. (Closed)

Created:
4 years ago by jam
Modified:
4 years ago
Reviewers:
Charlie Harrison
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix PredictorTabHelper to work with PlzNavigate. The workaround in that class to watch DidStartNavigationToPendingEntry is only for the non-PlzNavigate case, since with PlzNavigate all navigations happen in the browser. This fixes PredictorBrowserTest.RendererInitiatedNavigationPreconnect with PlzNavigate. BUG=504347 Committed: https://crrev.com/394b470df3c428ce3f16ee6d399cea0bc55a24e0 Cr-Commit-Position: refs/heads/master@{#437581}

Patch Set 1 #

Patch Set 2 : review comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M chrome/browser/net/predictor_tab_helper.cc View 1 4 chunks +11 lines, -3 lines 3 comments Download

Messages

Total messages: 26 (18 generated)
jam
4 years ago (2016-12-09 06:32:11 UTC) #7
Charlie Harrison
We have an experiment going which initiates preconnects for renderer-initiated navigations. The experiment did not ...
4 years ago (2016-12-09 13:05:51 UTC) #8
jam
On 2016/12/09 13:05:51, Charlie Harrison wrote: > We have an experiment going which initiates preconnects ...
4 years ago (2016-12-09 17:08:04 UTC) #17
Charlie Harrison
LGTM with a few notes https://codereview.chromium.org/2559203003/diff/40001/chrome/browser/net/predictor_tab_helper.cc File chrome/browser/net/predictor_tab_helper.cc (right): https://codereview.chromium.org/2559203003/diff/40001/chrome/browser/net/predictor_tab_helper.cc#newcode40 chrome/browser/net/predictor_tab_helper.cc:40: navigation_handle->IsRendererInitiated())) Note: IsRendererInitiated is ...
4 years ago (2016-12-09 17:23:10 UTC) #18
jam
https://codereview.chromium.org/2559203003/diff/40001/chrome/browser/net/predictor_tab_helper.cc File chrome/browser/net/predictor_tab_helper.cc (right): https://codereview.chromium.org/2559203003/diff/40001/chrome/browser/net/predictor_tab_helper.cc#newcode57 chrome/browser/net/predictor_tab_helper.cc:57: if (content::IsBrowserSideNavigationEnabled()) On 2016/12/09 17:23:10, Charlie Harrison wrote: > ...
4 years ago (2016-12-09 17:28:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2559203003/40001
4 years ago (2016-12-09 17:29:25 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-09 17:51:50 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-12 14:36:03 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/394b470df3c428ce3f16ee6d399cea0bc55a24e0
Cr-Commit-Position: refs/heads/master@{#437581}

Powered by Google App Engine
This is Rietveld 408576698