DescriptionUse ScopedObserver to observe the SupervisedUserSyncService in SupervisedUserImportHandler.
In addition to simplifying the code, ScopedObserver ensures that the object is unregistered as an observer if and only if it has been registered.
BUG=488642
Committed: https://crrev.com/593dd520027d2bcf9dbfeef22fe99d40220087f7
Cr-Commit-Position: refs/heads/master@{#330536}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|