[NTP][RQ] Makes in-memory URLDatabase deletion tasks asynchronous
crrev.com/c/2531654 made deletion of queries from the in-memory URL DB asynchronous by posting the deletion task to a sequenced task runner on the UI thread. The said CL was later reverted in crrev.com/c/2532543 for making RepeatableQueriesServiceTest.SignedOut_Deletion flaky. This CL fixes the flakiness by providing a way for the tests to flush the scheduled tasks after deletion from the in-memory URL DB and TearDown() Bug: 1148612 Change-Id: I3f5c7b598a5d6907794b9d6ca1598626156516c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536355Reviewed-by:Ramya Nagarajan <ramyan@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#828854}
Showing
Please register or sign in to comment