[Signin] Don't notify observers if RevokeSyncConsent is a no-op
Due to a bug in https://crrev.com/c/2421739, observers were notified if RevokeSyncConsent was invoked when there was no sync consent. This CL fixes that and adds an appropriate test. Bug: 1155519 Change-Id: I9e46ea403eaa0813ce73940646ca59de63e4d916 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2582080 Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#841497}
Showing
Please register or sign in to comment