Reland "Respect assistant notification expiration"
This is a reland of 31b40abf The original push failed because there was an API change in |ScopedTaskEnvironment| between the time I implemented this CL, and the time it was submitted. Original change's description: > Respect assistant notification expiration > > Assistant notifications can now be given an expiration time through the > |expiry_timestamp_ms| field. > > A new AssistantNotificationExpiryMonitor class will monitor all > notifications and remove them (from the AssistantNotificationModel) > when they expire. > > BUG=b/116618188 > TEST=unittests and manual create notification with expiry_timestamp_ms > > Change-Id: I5d0c0b3bcd3a26d772bccb883a5a8d5914d9c929 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688019 > Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> > Reviewed-by: Daniel Cheng <dcheng@chromium.org> > Reviewed-by: Tao Wu <wutao@chromium.org> > Commit-Queue: Jeroen Dhollander <jeroendh@google.com> > Cr-Commit-Position: refs/heads/master@{#677864} Bug: b/116618188 Change-Id: I93281eba85fb532877f409637d8f82820756d614 TBR=dcheng@chromium.org,xiaohuic@chromium.org,wutao@chromium.org Change-Id: I93281eba85fb532877f409637d8f82820756d614 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1704674 Commit-Queue: Jeroen Dhollander <jeroendh@google.com> Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#677995}
Showing
Please register or sign in to comment