commit | f900dd29818e067c1665747905602e96eb329157 | [log] [tgz] |
---|---|---|
author | Tao Wu <wutao@chromium.org> | Sat Sep 28 05:01:21 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 28 05:01:21 2024 |
tree | eb474d14518faec97576422369969c123f18e7df | |
parent | 97fa7e5ea4e553dd401363f80cc8a507d0d29c8d [diff] |
growth: Queue events before campaigns loaded We has expanded an API to trigger campaigns by recording an event. However, when this is called, the campaign manager may not be ready. To solve this problem, we add two queues for all the events received before ready, one for recording only and the other one for recording and and triggering. When the campaign manager is ready, the events in the two queues will be recorded and trigger campaigns if needed. If same event is queued multiple times, it will be only treated as one event. Bug: 366267306 Test: added new tests Change-Id: Ic388c888d0ec3f739a30e03879cd78cb3fb655a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5882995 Reviewed-by: Li Lin <llin@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1361479}
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.