growth: Add UI action performer
Add a base class for UI action performers, such as show nudge action performer. The base class will handle basic methods to notify observers of the UI actions, such as logging the impression, button press, and dismissal. Bug: b:329671682 Test: Manually tested and Added new unittests Change-Id: I0c38bd47cb6d6d17276f838f6353a0303f26c515 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388885 Reviewed-by:Li Lin <llin@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1277235}
Loading