-
Christopher Thompson authored
This adds infobars on Desktop and Android for showing the known monitoring disclosure. The infobar is shown once every 7 days. The last dismissal time is tracked in a pref on Android (to carry over across sessions) and in-memory on Desktop (since sessions are longer -- this means on Desktop we will always show on startup). These currently link to chrome://monitoring (implemented in crrev.com/c/1913715), and are triggered on visiting https://badssl.com/test/monitoring-disclosure/ (to be replaced by checking for the new monitoring CertStatus based on CRLSets). Screenshots - Desktop: https://drive.google.com/file/d/1AF2uCGfYfrQHJbLGjIX132xR0n8GqG5R/view - Android: https://drive.google.com/file/d/1FeDSEQNasHfPdc6bbkprm_wOaMZcCDQl/view Bug: 1014711 Change-Id: I31e9d5be6da7d87dfda2f5c739f1b94df1c8a0f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918188Reviewed-by:
Gabriel Charette <gab@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Mustafa Emre Acer <meacer@chromium.org> Commit-Queue: Christopher Thompson <cthomp@chromium.org> Cr-Commit-Position: refs/heads/master@{#719276}
2602fea4