commit | 2e9f5a186c2a75ff07d87ecaabed9ebf0842e2cc | [log] [tgz] |
---|---|---|
author | Mark Cogan <marq@google.com> | Tue Oct 22 13:58:01 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 22 13:58:01 2024 |
tree | 6926f910973ff8cce124938c2d91b111da1387d6 | |
parent | b8a3a52e6969f5aa54d4bdd8a5bd215b12c756c0 [diff] |
Add ApplicationContext states for background refresh. Adds OnAppStartedBackgroundProcessing and OnAppStartedBackgroundProcessing methods to ApplicationContext. BackgroundRefreshAppAgent calls these at the start and end of handling a refresh when the app is in the background. Currently the effects of these events are to tell the metrics service to behave as if the app were foregrounded during processing (in particular, marking the exit beacon dirty), and then behaving as if it were backgrounded when done (marking the exit beacon clean). Bug: 354919106 Change-Id: I34b35c2eca7d0dedee6b61f030c495d6362a5377 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5899343 Commit-Queue: Mark Cogan <marq@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Federica Germinario <fedegermi@google.com> Cr-Commit-Position: refs/heads/main@{#1372004}
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.