-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use struct to pass LCP info around for ukm recording
Refactor data passing in Ukm recording of LCP This CL refactors how LCP information is passed around for Ukm recording. Currently, each LCP field, like LCP type, LCP image paint, LCP image size, etc, has a getter in 3 objects, PaintTimingDetector, PerformanceTimingForReporting, and WebPerformanceTimingForReporting and is passed around individually. This results in increasingly many getters with similar names. This CL use a struct that contains all LCP information to pass around. This is more readable and maintainable. Change-Id: Ief04b054ea8b0d23f01d6fbc3714dd48398a8a87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4545168 Reviewed-by: Ian Clelland <iclelland@chromium.org> Reviewed-by: Yoav Weiss <yoavweiss@chromium.org> Commit-Queue: Hao Liu <haoliuk@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150258}
- Loading branch information
Showing
10 changed files
with
173 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.