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

Issue 142473003: Binds prefetching to the predictive networking privacy option. (Closed)

Created:
6 years, 11 months ago by jkarlin
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Binds prefetching to the predictive networking privacy option. Adds browser tests to check that both the privacy option and field trial control prefetching. BUG=334602 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247738

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added thread check #

Patch Set 3 : Adding missing namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -34 lines) Patch
A chrome/browser/prefetch/prefetch.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/prefetch/prefetch.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/prefetch/prefetch_browsertest.cc View 3 chunks +59 lines, -28 lines 0 comments Download
M chrome/browser/prefetch/prefetch_field_trial.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefetch/prefetch_field_trial.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
jkarlin
PTAL
6 years, 11 months ago (2014-01-27 12:06:00 UTC) #1
tburkard
lgtm https://codereview.chromium.org/142473003/diff/1/chrome/browser/prefetch/prefetch.h File chrome/browser/prefetch/prefetch.h (right): https://codereview.chromium.org/142473003/diff/1/chrome/browser/prefetch/prefetch.h#newcode14 chrome/browser/prefetch/prefetch.h:14: bool IsPrefetchEnabled(content::ResourceContext* resource_context); This is intended to only ...
6 years, 11 months ago (2014-01-27 12:26:34 UTC) #2
jkarlin
https://codereview.chromium.org/142473003/diff/1/chrome/browser/prefetch/prefetch.h File chrome/browser/prefetch/prefetch.h (right): https://codereview.chromium.org/142473003/diff/1/chrome/browser/prefetch/prefetch.h#newcode14 chrome/browser/prefetch/prefetch.h:14: bool IsPrefetchEnabled(content::ResourceContext* resource_context); On 2014/01/27 12:26:34, tburkard wrote: > ...
6 years, 11 months ago (2014-01-27 13:48:59 UTC) #3
jkarlin
jar@: Note the use of a field trial in prefetch.cc on the IO thread. Are ...
6 years, 11 months ago (2014-01-27 13:50:55 UTC) #4
jkarlin
On 2014/01/27 13:50:55, jkarlin wrote: > jar@: Note the use of a field trial in ...
6 years, 11 months ago (2014-01-27 13:51:30 UTC) #5
jkarlin
darin@chromium.org: Please review changes in profiles/ and render_host/
6 years, 11 months ago (2014-01-27 13:52:24 UTC) #6
darin (slow to review)
LGTM
6 years, 10 months ago (2014-01-27 21:51:26 UTC) #7
jkarlin
Ping jar@, is it safe to call field trial code from IO thread like prefetch_field_trial.cc ...
6 years, 10 months ago (2014-01-28 14:58:04 UTC) #8
jkarlin
On 2014/01/28 14:58:04, jkarlin wrote: > Ping jar@, is it safe to call field trial ...
6 years, 10 months ago (2014-01-29 16:03:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/142473003/120001
6 years, 10 months ago (2014-01-29 16:57:18 UTC) #10
jar (doing other things)
On 2014/01/28 14:58:04, jkarlin wrote: > Ping jar@, is it safe to call field trial ...
6 years, 10 months ago (2014-01-29 17:28:20 UTC) #11
jkarlin
On 2014/01/29 17:28:20, jar wrote: > On 2014/01/28 14:58:04, jkarlin wrote: > > Ping jar@, ...
6 years, 10 months ago (2014-01-29 17:35:01 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=253559
6 years, 10 months ago (2014-01-29 18:31:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jkarlin@chromium.org/142473003/120001
6 years, 10 months ago (2014-01-29 18:44:59 UTC) #14
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 20:44:02 UTC) #15
Message was sent while issue was closed.
Change committed as 247738

Powered by Google App Engine
This is Rietveld 408576698