Chromium Code Reviews
Descriptionpredictors: Add a origin for prefetch requests, remove the URL/host settings.
The speculative_prefetch_predictor can start prefetching either due to
an external request, or by observing a navigation. These use cases were
not differentiated previously.
This CL adds:
- A command-line switch to enable external requests only, and
- An origin for prefetch requests.
In addition, URL and host-based learning could previously be controlled
separately. This is unused, as it was only controlled by field trial
groups, and the logic has been removed in crrev.com/2532933002.
BUG=631966
Committed: https://crrev.com/f72ac0d75ba64a1afbbaa052fb3135e1fa78fc24
Cr-Commit-Position: refs/heads/master@{#435196}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments. #Patch Set 3 : . #Messages
Total messages: 23 (16 generated)
|