Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoadingMetrics: Add UKMs for loading breakdown metrics for navigation
This CL adds UKMs for loading breakdown metrics for navigation. These are the same as the existing UMAs for loading breakdown metrics. We record these metrics when the current page navigates away like other PageLoad metrics. In page_load_metrics_browsertest.cc, this CL wraps |histogram_tester_| with std::unique_ptr so that we can swap it with a new instance in the CachedPage testcase. This makes behavior of the UMA tester aligned with behavior of the UKM recorder, and code becomes simpler. UKM Privacy Review (Google-internal): https://docs.google.com/document/d/1Doc2E2XgCDbC2KI6M71_aA3XH7S61wBYaDSY3vLTOuk/edit?usp=sharing DesignDoc: https://docs.google.com/document/d/16oqu9lyPbfgZIjQsRaCfaKE8r1Cdlb3d4GVSdth4AN8/edit?usp=sharing Change-Id: If58eb2d5626d465d8fa2a06ca0fd9049295408af Bug: 1068843 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2193194 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Bryan McQuade <bmcquade@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#782338}
- Loading branch information
Showing
6 changed files
with
524 additions
and
320 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
Oops, something went wrong.