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

Issue 2184963002: Prerender: NoStatePrefetch browser side changes. (Closed)

Created:
4 years, 4 months ago by mattcary
Modified:
4 years, 3 months ago
Reviewers:
pasko, droger, mmenke
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, Benoit L
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prerender: NoStatePrefetch browser side changes. Enables NoState Prefetch through the browser via a command line flag. This is a no-op until droger@'s 2172613002 goes in, hence no tests are currently affected. BUG=631930 Committed: https://crrev.com/d4a8c77fcc1ba0fdf2b4c381b80318a2f25fc062 Cr-Commit-Position: refs/heads/master@{#413776}

Patch Set 1 #

Patch Set 2 : Sync with droger@'s cl/2179903005 #

Patch Set 3 : make it build and run (field trial, etc) #

Patch Set 4 : rebase #

Patch Set 5 : move force synchronous to implicitOpen #

Patch Set 6 : Remove debug DVLOG #

Total comments: 4

Patch Set 7 : Remove change duplicated in droger@'s cl. #

Patch Set 8 : Really remove Document.cpp this time. #

Total comments: 11

Patch Set 9 : comments #

Patch Set 10 : remove histogram change as they will all be going away. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -4 lines) Patch
M chrome/browser/prerender/prerender_contents.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 4 5 6 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_field_trial.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_manager.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_manager.cc View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
mattcary
Browser-side nostate prefetch changes. Note this currently fails testing on the following assert DCHECK(!document.isPrefetchOnly() || ...
4 years, 4 months ago (2016-08-04 14:37:24 UTC) #4
droger
Looking good so far. I'll do another pass once the test is fixed and the ...
4 years, 4 months ago (2016-08-04 15:09:43 UTC) #5
mattcary
On 2016/08/04 15:09:43, droger wrote: > Looking good so far. I'll do another pass once ...
4 years, 4 months ago (2016-08-05 07:56:35 UTC) #6
mattcary
On 2016/08/04 15:09:43, droger wrote: > Looking good so far. I'll do another pass once ...
4 years, 4 months ago (2016-08-05 08:45:58 UTC) #7
mattcary
So here is a suggestion to the problem I was seeing. The issue seems to ...
4 years, 4 months ago (2016-08-05 14:31:46 UTC) #8
droger
On 2016/08/05 14:31:46, mattcary wrote: > So here is a suggestion to the problem I ...
4 years, 4 months ago (2016-08-05 14:43:31 UTC) #9
mattcary
On 2016/08/05 14:43:31, droger wrote: > On 2016/08/05 14:31:46, mattcary wrote: > > So here ...
4 years, 4 months ago (2016-08-05 14:44:10 UTC) #10
droger
lgtm https://codereview.chromium.org/2184963002/diff/100001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://codereview.chromium.org/2184963002/diff/100001/chrome/browser/prerender/prerender_contents.cc#newcode222 chrome/browser/prerender/prerender_contents.cc:222: DCHECK(!prerendering_has_started_); Optional: To remove the need for the ...
4 years, 4 months ago (2016-08-16 10:01:55 UTC) #11
mattcary
https://codereview.chromium.org/2184963002/diff/100001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://codereview.chromium.org/2184963002/diff/100001/chrome/browser/prerender/prerender_contents.cc#newcode222 chrome/browser/prerender/prerender_contents.cc:222: DCHECK(!prerendering_has_started_); On 2016/08/16 10:01:54, droger wrote: > Optional: > ...
4 years, 4 months ago (2016-08-17 20:27:32 UTC) #12
mattcary
Egor and/or David--- Any suggestions for proper owner review?
4 years, 4 months ago (2016-08-17 20:28:31 UTC) #13
pasko
On 2016/08/17 20:28:31, mattcary wrote: > Egor and/or David--- > > Any suggestions for proper ...
4 years, 4 months ago (2016-08-18 10:00:49 UTC) #14
chromium-reviews
Thanks. I'll double-check, but I think the tests all pass as they don't exercise the ...
4 years, 4 months ago (2016-08-20 01:20:31 UTC) #15
pasko
OK, if tests pass, let's land it sooner, since we are experimenting on top of ...
4 years, 4 months ago (2016-08-22 09:47:05 UTC) #16
mattcary
On 2016/08/22 09:47:05, pasko wrote: > OK, if tests pass, let's land it sooner, since ...
4 years, 4 months ago (2016-08-22 13:43:10 UTC) #17
mattcary
Matt--- As owner can you review this change? Thanks
4 years, 4 months ago (2016-08-22 13:45:24 UTC) #20
mmenke
https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_contents.cc#newcode522 chrome/browser/prerender/prerender_contents.cc:522: render_frame_host->GetRoutingID(), prerender_mode_)); Is this hooked up, renderer-side yet? If ...
4 years, 4 months ago (2016-08-22 14:17:58 UTC) #21
mattcary
https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_contents.cc#newcode522 chrome/browser/prerender/prerender_contents.cc:522: render_frame_host->GetRoutingID(), prerender_mode_)); On 2016/08/22 14:17:58, mmenke wrote: > Is ...
4 years, 4 months ago (2016-08-23 10:53:56 UTC) #22
mmenke
LGTM https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_manager.cc File chrome/browser/prerender/prerender_manager.cc (right): https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_manager.cc#newcode580 chrome/browser/prerender/prerender_manager.cc:580: return "_NoStatePrefetch"; On 2016/08/23 10:53:56, mattcary wrote: > ...
4 years, 3 months ago (2016-08-23 14:35:27 UTC) #23
mattcary
On 2016/08/23 14:35:27, mmenke wrote: > LGTM > > https://codereview.chromium.org/2184963002/diff/140001/chrome/browser/prerender/prerender_manager.cc > File chrome/browser/prerender/prerender_manager.cc (right): > ...
4 years, 3 months ago (2016-08-23 15:51:11 UTC) #24
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/2184963002/180001
4 years, 3 months ago (2016-08-23 15:56:51 UTC) #27
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-08-23 17:33:03 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-08-23 17:36:30 UTC) #31
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/d4a8c77fcc1ba0fdf2b4c381b80318a2f25fc062
Cr-Commit-Position: refs/heads/master@{#413776}

Powered by Google App Engine
This is Rietveld 408576698