Indexed DB: Simplify cross-sequence test code
Now that base::BindLambdaForTesting() can be used, tasks posted to the Indexed DB task runner in tests don't need to explicitly bring along ambient state. Also, use an explicit RunLoop's Run()/Quit() instead of RunAllTasksUntilIdle() where possible, and 'auto' for readability. Change-Id: Iede419cda01c166e8fe2047c901f528f687f940d Reviewed-on: https://chromium-review.googlesource.com/c/1298416 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#603052}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment