| Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/simple_resource_loader_bridge.cc (revision 53987)
|
| +++ webkit/tools/test_shell/simple_resource_loader_bridge.cc (working copy)
|
| @@ -33,6 +33,7 @@
|
| #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
|
|
|
| #include "base/file_path.h"
|
| +#include "base/logging.h"
|
| #include "base/message_loop.h"
|
| #if defined(OS_MACOSX) || defined(OS_WIN)
|
| #include "base/nss_util.h"
|
| @@ -825,3 +826,13 @@
|
| SimpleResourceLoaderBridge::GetCacheThread() {
|
| return g_cache_thread->message_loop_proxy();
|
| }
|
| +
|
| +// static
|
| +scoped_refptr<base::MessageLoopProxy>
|
| + SimpleResourceLoaderBridge::GetIoThread() {
|
| + if (!EnsureIOThread()) {
|
| + LOG(DFATAL) << "Failed to create IO thread.";
|
| + return NULL;
|
| + }
|
| + return g_io_thread->message_loop_proxy();
|
| +}
|
|
|