| Index: content/public/test/test_utils.h
|
| diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
|
| index bf3e1f8d62f7b14fcc60ef3100bff6ff3592b249..ce49040188bbcdf3f1c37e13546ad5b86ff455bf 100644
|
| --- a/content/public/test/test_utils.h
|
| +++ b/content/public/test/test_utils.h
|
| @@ -18,7 +18,7 @@
|
|
|
| namespace base {
|
| class Value;
|
| -}
|
| +} // namespace base
|
|
|
| // A collection of functions designed for use with unit and browser tests.
|
|
|
| @@ -44,6 +44,10 @@ void RunAllPendingInMessageLoop();
|
| // thread |thread_id| have been processed.
|
| void RunAllPendingInMessageLoop(BrowserThread::ID thread_id);
|
|
|
| +// Runs until both the blocking pool and the current message loop are empty
|
| +// (have no more scheduled tasks) and no tasks are running.
|
| +void RunAllBlockingPoolTasksUntilIdle();
|
| +
|
| // Get task to quit the given RunLoop. It allows a few generations of pending
|
| // tasks to run as opposed to run_loop->QuitClosure().
|
| base::Closure GetQuitTaskForRunLoop(base::RunLoop* run_loop);
|
|
|