Don't always log non-sync modal warning dialog action.
The code assumes that whenever the signed-in non-sync user clicks on "protect account" that they are automatically recorded by the security event recorder. However, the code needs to make sure that the account is the unconsented primary account. Thus, to prevent confusion in the metrics, only log the action when we can actually mark the account at risk. Bug: 914410 Change-Id: I52fc1c8432ab64da37a6526f2d1dcfe1713c3279 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834848Reviewed-by:Daniel Rubery <drubery@chromium.org> Reviewed-by:
Varun Khaneja <vakh@chromium.org> Commit-Queue: Bettina Dea <bdea@chromium.org> Cr-Commit-Position: refs/heads/master@{#702486}
Showing
Please register or sign in to comment