-
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.
Record PageLoad metrics w/ TranslateMetricsLogger
Added and translate_metrics_logger_ private member following TranslatePageLoadMetricsObserver. Correspondences: DidStartNavigation <-> OnStart, DidFinishNavigation <-> OnCommit, DidStartNavigation/WebStateDestroyed <-> OnComplete. TranslateMetricsLogger lifetime tied to page load via ChromeIOSTranslateClient::DidStartNavigation. (cherry picked from commit dd427e9) Bug: 1326717 Test: Build iOS simulator, run Chromium, navigate to chrome://histograms/Translate.PageLoad, then any website in a new tab, then refresh chrome://histograms/Translate.PageLoad tab. Automated unit tests: build and run ios_chrome_unittests with --gtest_filter="ChromeIOSTranslateClientTest.*" flag. Change-Id: Ie7652a2545f094e4226abd0820a5b2020460baa9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3662122 Reviewed-by: Olivier Robin <olivierrobin@chromium.org> Reviewed-by: Michael Crouse <mcrouse@chromium.org> Reviewed-by: Trevor Perrier <perrier@chromium.org> Reviewed-by: Raj T <rajendrant@chromium.org> Commit-Queue: Zhixiang Teoh <zhteoh@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1008509} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3684613 Commit-Queue: Raj T <rajendrant@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#470} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
1 parent
de66d3d
commit f7f0747
Showing
4 changed files
with
150 additions
and
2 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