| Index: mojo/system/test_utils.h
|
| diff --git a/mojo/system/test_utils.h b/mojo/system/test_utils.h
|
| index 8c0609f42b5af648622c37c5f175629e6dae0a6b..80c2930a8de06a3a35aa34d1815ce3aa91b04cc1 100644
|
| --- a/mojo/system/test_utils.h
|
| +++ b/mojo/system/test_utils.h
|
| @@ -54,41 +54,6 @@ class Stopwatch {
|
| DISALLOW_COPY_AND_ASSIGN(Stopwatch);
|
| };
|
|
|
| -// TestIOThread ----------------------------------------------------------------
|
| -
|
| -class TestIOThread {
|
| - public:
|
| - enum Mode { kAutoStart, kManualStart };
|
| - explicit TestIOThread(Mode mode);
|
| - // Stops the I/O thread if necessary.
|
| - ~TestIOThread();
|
| -
|
| - // |Start()|/|Stop()| should only be called from the main (creation) thread.
|
| - // After |Stop()|, |Start()| may be called again to start a new I/O thread.
|
| - // |Stop()| may be called even when the I/O thread is not started.
|
| - void Start();
|
| - void Stop();
|
| -
|
| - void PostTask(const tracked_objects::Location& from_here,
|
| - const base::Closure& task);
|
| - void PostTaskAndWait(const tracked_objects::Location& from_here,
|
| - const base::Closure& task);
|
| -
|
| - base::MessageLoopForIO* message_loop() {
|
| - return static_cast<base::MessageLoopForIO*>(io_thread_.message_loop());
|
| - }
|
| -
|
| - scoped_refptr<base::TaskRunner> task_runner() {
|
| - return message_loop()->message_loop_proxy();
|
| - }
|
| -
|
| - private:
|
| - base::Thread io_thread_;
|
| - bool io_thread_started_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(TestIOThread);
|
| -};
|
| -
|
| } // namespace test
|
| } // namespace system
|
| } // namespace mojo
|
|
|