Index: base/test/thread_test_helper.h |
diff --git a/base/test/thread_test_helper.h b/base/test/thread_test_helper.h |
index 926da730e3133f16b7bacfd8a371741643ea007d..f6817b520ed3bc57844ca17015887d6f382aa273 100644 |
--- a/base/test/thread_test_helper.h |
+++ b/base/test/thread_test_helper.h |
@@ -7,7 +7,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/ref_counted.h" |
-#include "base/single_thread_task_runner.h" |
+#include "base/message_loop/message_loop_proxy.h" |
#include "base/synchronization/waitable_event.h" |
namespace base { |
@@ -19,7 +19,7 @@ |
class ThreadTestHelper : public RefCountedThreadSafe<ThreadTestHelper> { |
public: |
explicit ThreadTestHelper( |
- scoped_refptr<SingleThreadTaskRunner> target_thread); |
+ const scoped_refptr<MessageLoopProxy>& target_thread); |
// True if RunTest() was successfully executed on the target thread. |
bool Run() WARN_UNUSED_RESULT; |
@@ -38,7 +38,7 @@ |
void RunInThread(); |
bool test_result_; |
- scoped_refptr<SingleThreadTaskRunner> target_thread_; |
+ scoped_refptr<MessageLoopProxy> target_thread_; |
WaitableEvent done_event_; |
DISALLOW_COPY_AND_ASSIGN(ThreadTestHelper); |