| Index: content/browser/browser_thread_impl.cc
|
| ===================================================================
|
| --- content/browser/browser_thread_impl.cc (revision 174239)
|
| +++ content/browser/browser_thread_impl.cc (working copy)
|
| @@ -87,6 +87,14 @@
|
| globals.blocking_pool->Shutdown(kMaxNewShutdownBlockingTasks);
|
| }
|
|
|
| +// static
|
| +void BrowserThreadImpl::FlushThreadPoolForTesting() {
|
| + // We don't want to create a pool if none exists.
|
| + if (g_globals == NULL)
|
| + return;
|
| + g_globals.Get().blocking_pool->FlushForTesting();
|
| +}
|
| +
|
| void BrowserThreadImpl::Init() {
|
| BrowserThreadGlobals& globals = g_globals.Get();
|
|
|
|
|