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

Issue 591313005: Provide a way to specify in Finch trials to disable prerender local (Closed)

Created:
6 years, 3 months ago by tburkard
Modified:
6 years, 2 months ago
Reviewers:
Zhen Wang, Bence, jkarlin
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, jkarlin+watch_chromium.org, davidben+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Provide a way to specify in Finch trials to disable prerender local predictor, based on the following two options: - not on cellular - predictive actions are disabled for the current network selection This allows to only gather stats for a the subset of people we are interested in (eg only people on cellular, or only people who have prefetch enabled for the current network condition) R=jkarlin@chromium.org TBR=bnc@chromium.org, zhenw@chromium.org Committed: https://crrev.com/d5cb0cb06c1c7d735b330c6fb4f42914e9f522ee Cr-Commit-Position: refs/heads/master@{#296730}

Patch Set 1 #

Total comments: 10

Patch Set 2 : jkarlin feedback #

Total comments: 2

Patch Set 3 : add test #

Patch Set 4 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -3 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 3 8 chunks +157 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_field_trial.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_field_trial.cc View 1 4 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_local_predictor.cc View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 13 (1 generated)
tburkard
Hi, could you please review: zhenw: Please take a look at logic jkarlin: overall (since ...
6 years, 3 months ago (2014-09-23 14:19:28 UTC) #1
jkarlin
Please add unit tests to verify that finch will behave the expected way under various ...
6 years, 3 months ago (2014-09-23 14:54:03 UTC) #2
tburkard
Great feedback, fixed. Will add test with another update. Meanwhile, PTAL. Thanks. https://codereview.chromium.org/591313005/diff/1/chrome/browser/prerender/prerender_field_trial.cc File chrome/browser/prerender/prerender_field_trial.cc ...
6 years, 3 months ago (2014-09-24 15:15:34 UTC) #3
Zhen Wang
https://codereview.chromium.org/591313005/diff/20001/chrome/browser/prerender/prerender_field_trial.cc File chrome/browser/prerender/prerender_field_trial.cc (right): https://codereview.chromium.org/591313005/diff/20001/chrome/browser/prerender/prerender_field_trial.cc#newcode368 chrome/browser/prerender/prerender_field_trial.cc:368: return !chrome_browser_net::CanPrefetchAndPrerenderUI(profile->GetPrefs()); Should we check CanPrefetchAndPrerenderUI() first? Say the ...
6 years, 3 months ago (2014-09-24 16:33:58 UTC) #4
tburkard
add test
6 years, 2 months ago (2014-09-25 14:12:28 UTC) #5
tburkard
Hi Josh, I added the test that you requested, it was a great exercise to ...
6 years, 2 months ago (2014-09-25 14:21:37 UTC) #6
tburkard
fix test
6 years, 2 months ago (2014-09-25 15:55:39 UTC) #7
tburkard
The new test fails in debug. I fixed is by splitting it up into separate ...
6 years, 2 months ago (2014-09-25 15:56:45 UTC) #8
jkarlin
Thanks for adding the test. lgtm
6 years, 2 months ago (2014-09-25 16:09:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/591313005/60001
6 years, 2 months ago (2014-09-25 17:04:31 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 92b1f6b90d31bae828e76b7d913ceeb1023a8872
6 years, 2 months ago (2014-09-25 17:17:25 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 17:17:53 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d5cb0cb06c1c7d735b330c6fb4f42914e9f522ee
Cr-Commit-Position: refs/heads/master@{#296730}

Powered by Google App Engine
This is Rietveld 408576698