DescriptionDon't notify existing observers in SupervisedUserWhitelistService::AddSiteListsChangedCallback().
The additional callbacks caused the SupervisedUserUrlFilter to update its filter unnecessarily, which in turn flakily quit the observer run loop too early.
This CL fixes the flakiness by using the main thread message loop for the SupervisedUserUrlFilter (removing non-determinism), spreading out the synchronization points for site list updates and URL filter updates, and adding additional sanity checks about observed changes.
BUG=452071
Committed: https://crrev.com/1ec543761663537283abbe2f2ddef51b6320f995
Cr-Commit-Position: refs/heads/master@{#313483}
Patch Set 1 #Patch Set 2 : x #Patch Set 3 : o #
Total comments: 2
Patch Set 4 : typo #
Messages
Total messages: 8 (2 generated)
|