commit | ca199aff3bc778f89d82b65fcba8a24e13db6dae | [log] [tgz] |
---|---|---|
author | Nancy Wang <nancylingwang@chromium.org> | Thu Aug 26 06:44:13 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 26 06:44:13 2021 |
tree | 7711ee094b372d96021e0b695ccb9e240253ae7f | |
parent | 8113560d27bd0558a387228c8d123fff29895579 [diff] |
Refactor AppPlatformMetrics. This CL is used to prepare for CL:3110470 to support UKM for web apps opened in browser tab. Add 2 separate functions: SetWindowActivated and SetWindowInActivated to handle the internal data structure when windows are activated and inactivated. No function change for this CL. Only refactor to simplify the function OnInstanceUpdate. BUG=1243477 Change-Id: I07e39c83b161fd55c1e2b6b527e8c7a92b86be81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3118199 Reviewed-by: Dominick Ng <dominickn@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/main@{#915484}
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.