predictors: Add origin learning.
This CL makes the resource predictor aware of origin requests made while
loading a page. It only adds the data collection, no fetching is enabled
yet, and the collection is not enabled outside of tests.
Changes:
- Adds a new database table to track origin requests
- Adds a new protocol buffer, loading and storing logic
- All redirects are now tracked as they cause origin requests
- No-store resources are tracked as well, only to collect origin data.
BUG=
699080
Review-Url:
https://codereview.chromium.org/2796783004
Cr-Commit-Position: refs/heads/master@{#464035}
Committed:
https://chromium.googlesource.com/chromium/src/+/a72556982dcf08c91239167f2a5cd0e1b7f50ea8