| Index: content/public/test/test_utils.h
|
| diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
|
| index 84d9e9539c075d854963ef08f07674155b484f86..d479eb5afe1a0636b1a8be1db6e412c6c37989e7 100644
|
| --- a/content/public/test/test_utils.h
|
| +++ b/content/public/test/test_utils.h
|
| @@ -48,11 +48,12 @@ void RunThisRunLoop(base::RunLoop* run_loop);
|
| // Turns on nestable tasks, runs all pending tasks in the message loop,
|
| // then resets nestable tasks to what they were originally. Prefer this
|
| // over MessageLoop::RunAllPending for in process browser tests to run
|
| -// all pending tasks.
|
| +// all pending tasks. Can only be called from the UI thread.
|
| void RunAllPendingInMessageLoop();
|
|
|
| // Blocks the current thread until all the pending messages in the loop of the
|
| -// thread |thread_id| have been processed.
|
| +// thread |thread_id| have been processed. Can only be called from the UI
|
| +// thread.
|
| void RunAllPendingInMessageLoop(BrowserThread::ID thread_id);
|
|
|
| // Runs until both the blocking pool and the current message loop are empty
|
|
|