
Bug: b/287323548 Change-Id: I91a3df1e321df98bc1ebc9feb5eb57ee55c1c86c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4616948 Reviewed-by: Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: Jun Zou <junzou@chromium.org> Reviewed-by: Michael Crouse <mcrouse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1159008}
The optimization guide component contains code for processing hints and machine learning models received from the remote Chrome Optimization Guide Service.
Optimization Guide is a layered component (https://sites.google.com/a/chromium.org/dev/developers/design-documents/layered-components-design) to enable it to be easily used on all platforms.
Directory structure:
core/: Shared code that does not depend on src/content/
- Contains the core functionalities to fetch and persist data received from the remote Chrome Optimization Guide Service, including but not limited to page load metadata and machine learning models.
content/: Driver for the shared code based on the content layer
- Contains the functionality for interpreting the data received from the remote Chrome Optimization Guide Service.