Replace RunUntilIdle() with runloop.Run()/Quit()

This CL replaces all occurrences of base::RunLoop().RunUntilIdle() in
UserCloudPolicyStoreChromeOSTest with run_loop.Run() and an associated
Quit() call from the expected callback.

Bug: none
Test: unit_tests
Change-Id: I9f8ec70381c44bb034cc19e0622b3b7cb090539a
Reviewed-on: https://chromium-review.googlesource.com/1160239
Commit-Queue: Alexander Hendrich <hendrich@chromium.org>
Reviewed-by: Pavol Marko <pmarko@chromium.org>
Reviewed-by: Lutz Justen <ljusten@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582221}
1 file changed