Don'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 Review URL: https://codereview.chromium.org/875423002 Cr-Commit-Position: refs/heads/master@{#313483}
Showing
Please register or sign in to comment