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

Issue 1777833003: Unbundle link rel=prefetch from privacy settings (Closed)

Created:
4 years, 9 months ago by pasko
Modified:
4 years, 9 months ago
Reviewers:
kenjibaheux, gavinp
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unbundle link rel=prefetch from privacy settings The privacy settings have the On/Off choice now saying: "Use a prediction service to load pages quickly". Default is On. This change allows <link rel=prefetch> to perform prefetches regardless of the setting and network type. Reason: web developers should be able prefetch with all possible privacy settings and with all possible network types. This would avoid web devs coming up with creative ways to prefetch in cases they are not allowed to do so. Assumption: all requests arriving through ChromeResourceDispatcherHostDelegate are initiated by the renderer, and the only way to issue a prefetch from there is via <link rel=prefetch>. BUG=589369 Committed: https://crrev.com/3b2ebae80f0d0985148ae0478ee5dde185019669 Cr-Commit-Position: refs/heads/master@{#381046}

Patch Set 1 #

Patch Set 2 : changed expectations in PrefetchBrowserTestPrediction.PreferenceWorks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M chrome/browser/prefetch/prefetch.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/prefetch/prefetch_browsertest.cc View 1 1 chunk +7 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
pasko
kenjibaheux: FYI gavinp: PTaL Some notes: * chrome/browser/predictors are unaffected by this change * The ...
4 years, 9 months ago (2016-03-09 20:13:52 UTC) #5
gavinp
lgtm. You can do the cleanup or not; my slight preference is to do it, ...
4 years, 9 months ago (2016-03-11 19:04:36 UTC) #6
pasko
On 2016/03/11 19:04:36, gavinp wrote: > lgtm. > > You can do the cleanup or ...
4 years, 9 months ago (2016-03-14 18:11:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1777833003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1777833003/20001
4 years, 9 months ago (2016-03-14 18:26:36 UTC) #9
pasko
The cleanup follows up here: https://codereview.chromium.org/1800723002/ feel free to express your opinion on it early
4 years, 9 months ago (2016-03-14 18:31:04 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-14 19:43:29 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 19:44:38 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b2ebae80f0d0985148ae0478ee5dde185019669
Cr-Commit-Position: refs/heads/master@{#381046}

Powered by Google App Engine
This is Rietveld 408576698