commit | f83f0ab8cefbde6d42b58d2432e0c954e1325643 | [log] [tgz] |
---|---|---|
author | A Olsen <olsen@chromium.org> | Thu May 16 13:03:32 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 16 13:03:32 2019 |
tree | 5ec8885212b2dc83292e0be911a7eaf82e3bc857 | |
parent | d28c66fab01904d438b99c996810ef312884927d [diff] |
Adds new function MaybeShowSamlPasswordExpiryNotification(Profile*) Functions already exist to simply show or hide the notification. This new function checks the existing information for the given profile, and decides whether to do nothing / hide a notification, show a notification now, or show one at some point in the distant future. It is possible to call this function multiple times (for instance, every time a user logs in) without it creating multiple tasks to show multiple notifications in the distant future. However, calling the function again after the user has dismissed the notification will result in it being reshown, so it shouldn't be called every minute. So far it is not called at all - calling it (and making sure it is not called too often) will be done in a follow up CL. Bug: 930109 Change-Id: I859f0bfa999e2e262911c6fe3ba4c43359e24fdc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611980 Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: A Olsen <olsen@chromium.org> Cr-Commit-Position: refs/heads/master@{#660364}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .