
The macro version forces a static pointer which means name must be the same on each call site. Change-Id: I3eefd15f8edd5b98b8c92cd3138405811676b505 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4720557 Reviewed-by: Raj T <rajendrant@chromium.org> Commit-Queue: David Jean <djean@chromium.org> Auto-Submit: David Jean <djean@chromium.org> Cr-Commit-Position: refs/heads/main@{#1175949}
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.