Make ContentIndexProviderImplTest more robust.
This CL addresses two issues. 1: It corrects the problem outlined in https://crbug.com/546640 by having the TestingProfile reside in a directory that outlives the task environment. 2: It changes the creation of KeyedServices from explicit constructor calls or deprecated functions to the preferred builder based approach. (Recommended in the code at testing_profile.h:226) This is done to prepare HistoryServiceUsesTaskScheduler activation. This finch trial will soon become default and the changes it introduces exposed the brittleness of this test. Bug:661143 Change-Id: If9d1403a5486d0050ea218cfb0d28fc261a472f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1926676 Commit-Queue: David Trainor <dtrainor@chromium.org> Auto-Submit: Oliver Li <olivierli@chromium.org> Reviewed-by:David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#718353}
Showing
Please register or sign in to comment