commit | 3298d9ae90c6349b3c626294d03e778a41ae8ada | [log] [tgz] |
---|---|---|
author | anthie@google.com <anthie@google.com> | Tue Feb 18 13:51:52 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 18 13:51:52 2025 |
tree | 207df73b76a71a2446d0bfede0abc5dd1e7cce73 | |
parent | f23e4e78e3c960b65876d0fc2d19465fd0ea8330 [diff] |
Re-work metrics recording for Local approvals on Desktop With this change, all the local approval outcome is recorded by `WebContentHandler::OnLocalApprovalRequestCompleted`. We monitor the widget created by the `ParentAccessView::ShowParentAccessDialog` and when it is being closed we reset the ParentAccessDialogResultObserver. This signals that the dialog is no longer open. The destructor of ParentAccessDialogResultObserver runs the url_approval_result_callback_, which is responsible for recording the metrics, if the callback has not been executed already when we extract a PACP response. Low-Coverage-Reason: TESTS_IN_SEPARATE_CL Bug: 394843350, 394842081 Change-Id: I9bcca24d01433df815cd5be516194e168cb31a6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6243200 Reviewed-by: Nohemi Fernandez <fernandex@google.com> Commit-Queue: Anthi Orfanou <anthie@google.com> Cr-Commit-Position: refs/heads/main@{#1421346}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.