-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prerender: Add UMAs to debug prerender page load metrics
For debugging the issue, this CL adds following UMAs: - Recording the initiator's visibility (hidden, occluded, visible) on prerender activation in PageLoadTracker: "PageLoad.Internal.Prerender2.VisibilityAtActivation" - Recording results of foreground checks in PrerenderPageLoadMetricsObserver: "PageLoad.Internal.Prerender2.ForegroundCheckResult.{EventType}" This just adds the metrics and doesn't change functional behavior. Bug: 1379491 Change-Id: I11f9932957510238c98ffb758d8fd2b2218e26aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4211892 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1101471}
- Loading branch information
Showing
8 changed files
with
291 additions
and
128 deletions.
There are no files selected for viewing
250 changes: 134 additions & 116 deletions
250
...e/browser/page_load_metrics/observers/prerender_page_load_metrics_observer_browsertest.cc
Large diffs are not rendered by default.
Oops, something went wrong.
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
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