commit | dabc7b90775b82d8d16c08b005282daa72cce7be | [log] [tgz] |
---|---|---|
author | Benjamin Williams <bwwilliams@google.com> | Fri Sep 02 19:31:41 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 02 19:31:41 2022 |
tree | 5a84d07a50338d1ec8a851b5b39b71964179e9ae | |
parent | f5569c865224838c549156b42185d667e60c2875 [diff] |
Create RegisterForContinuousDisplay() & RegisterForSingleDisplay(). The PromosManager needs to expose two public methods enabling promos to be registered for single or continuous display. Although the active promos are stored in a list Pref, the order promo entries are populated in the list is irrelevant, as active promos are stored in an in-memory set during PromosManager evaluation. A given promo can be registered both for single & continuous display. The manager will handle this use-case gracefully. Change-Id: I8e62d2995f776a8390ba4390912c92259a566d57 Bug: 1359359 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3864316 Reviewed-by: Robbie Gibson <rkgibson@google.com> Commit-Queue: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1042716}
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.