| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef MOJO_EDK_SYSTEM_TEST_SIMPLE_TEST_THREAD_ |
| #define MOJO_EDK_SYSTEM_TEST_SIMPLE_TEST_THREAD_ |
| #include "mojo/public/cpp/system/macros.h" |
| // Class to help simple threads (with no message loops) in tests. |
| virtual ~SimpleTestThread(); |
| // Joins the thread; this must be called if the thread was started. |
| // Code to run in the thread. |
| MOJO_DISALLOW_COPY_AND_ASSIGN(SimpleTestThread); |
| #endif // MOJO_EDK_TEST_SYSTEM_SIMPLE_TEST_THREAD_ |