Add Resource loading hints optimization to the list of previews
Add RESOURCE_LOADING_HINTS optimization to the list of previews.
Also, check if this optimization is enabled using base::Features,
and if so, perform rest of the checks (including optimization hints),
and add it to the list of enabled and/or committed previews.
Note that currently this only supports resource loading hints provided
via optimization hints and not via real time server API.
Change-Id: I3764c05d731046a262eaa14b0f33d5caf8132fb5
TBR: holte@chromium.org
Bug: 854666
Reviewed-on: https://chromium-review.googlesource.com/1107158
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Ryan Sturm <ryansturm@chromium.org>
Reviewed-by: Doug Arnett <dougarnett@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#569327}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 17bbc8ffb4019beea505028a818f9ba9487c4ef1
2 files changed